Our Airtable integration allows you to easily connect to the Airtable API and perform tasks such as creating / updating / deleting single or multiple records in your tables.
To use OAuth you can connect to Airtable via the Trigger.dev web app. Click ‘Integrations’ in the side panel of any project, configure Airtable with a unique ID and the required scopes.
Copy
Ask AI
import { Airtable } from "@trigger.dev/airtable";//this will use OAuthconst airtable = new Airtable({ id: "airtable",});
You can create an Airtable Personal Access Token here.
Copy
Ask AI
import { Airtable } from "@trigger.dev/airtable";//this will use the passed in token (defined in your environment variables)const airtable = new Airtable({ id: "airtable", token: process.env["AIRTABLE_TOKEN"],});