Run API code when specific emails arrive in Outlook
Outlook email API event
You want to run API code when specific emails arrive in your Outlook inbox, e.g. emails from QuickBase.
Create a Windows batch (.bat) file that runs your API code
======================================
1) Make a batch file, e.g. c:\iterateRecords.bat, that runs the iterateRecords.rb from this Cookbook :-

ruby iterateRecords.rb

Create an Outlook rule that runs c:\iterateRecords.bat
===================================
1) In Outlook, select the 'Tools' menu, then the 'Rules and Alerts' menu.
2) Create a new rule from a blank rule (not from a template).
3) The rule should run when emails arrive into your inbox.
4) Make the rule run when 'testmyrule' is in the Subject of the incoming email.
5) When the rule runs, it should 'run an application'. The application to run should be c:\iterateRecords.bat.
6) You can try the rule out by sending yourself an email with 'testmyrule' in the Subject.

Create a QuickBase email notification 
========================
These steps assume your Outlook email address is associated with your QuickBase account.

1) Go to the QuickBase Commuinity Forum to set up an email notification - https://www.quickbase.com/db/bbqm84dzy?a=EmailList 
2) Click 'Create a New Email' 
3) Select 'Email Notification'
4) Put 'testmyrule' in the 'Subject' box
5) Click 'Save'

When someone modifies a record in the Community Forum, you will get an email from QuickBase with 'testmyrule' in the subject that will run the iterateRecords.rb ruby API script.

An alternative to this that doesn't require Outlook or batch files is to use the QuickBaseEventNotifier.rb that comes with the Ruby API.
iterateRecords.rb
QuickBaseEventNotifier.rb
https://www.quickbase.com/db/bb2mad4sr?a=dr&r=5&rl=e68
Outlook Batch file Ruby wrapper for QuickBase HTTP API
Created on Feb.  4, 2007 at 10:03 AM (PST). Last updated by Quick Base on Feb.  4, 2007 at 10:55 AM (PST). Owned by Quick Base.
Quick Base
Quick Base
Show fields from Show fields from Show fields from a related table
Report Name *
Description
Reports and Charts Panel
Each table has a panel listing its reports and charts, organized in groups.
Please wait while your new report is saved...
Field label
Column heading override
Justification
What does auto mean?
Fields in:

Fields to Extract:

Name for the new table:
Items in the new table are called:

When you bring additional fields into a conversion, Quickbase often finds inconsistencies. For example, say you're converting your Companies column into its own table. One company, Acme Corporation, has offices in New York, Dallas and Portland. So, when you add the City column to the conversion, Quickbase finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quickbase needs you to clean up the extra cities before it can create your new table. To do so, you have one of two choices:

  • If you want to create three separate Acme records (Acme-New York, Acme-Dallas and Acme-Portland) click the Conform link at the top of the column.
  • If the dissimilar entries are mistakes (say Acme only has one office in New York and the other locations are data-entry errors) go back into your table and correct the inconsistencies—in this case, changing all locations to New York. Then try the conversion again.

Read more about converting a column into a table.

We're glad you're interested in doing more with Quickbase!

Now we need to make you official before you share apps or manage your account.

Verifying your email lets you share Quickbase with others in your company.

Your work email
Your company