Skip to content

Latest commit

 

History

History
64 lines (33 loc) · 1.28 KB

install.md

File metadata and controls

64 lines (33 loc) · 1.28 KB

Airtable Automation Scripts Install

Add Automation

Open your base and select Automations.

This opens the automations editor.

Change the trigger to When Record Updated.

Next, select the Run Script action. (Ignore the table required warning. It's stupid.)

Add the Script

Run Script takes you to the script editor.

Paste your script into the window. Wheeeee!

Set Up Script Inputs

Airtable's only input mechanism for automation scripts is Input Variables.

You set them from the script editor:

There are two pprimary types of input:

  • Static text
  • Context-sensitive values, such as the current record and its fields.

We use both.

For GetCurrentRank.js set the following:

  • Current keyword as keyword
  • Client web domain as site
  • Data For SEO username as username
  • Data for SEO password as password
  • Current recordId as recordid

These values are called out in the script to make them obvious.

For GetVolume.js:

  • Current keyword as keyword
  • Current recordId as recordid
  • Keywords everywhere API Token as apitoken