Skip to content

Instantly share code, notes, and snippets.

@homanp
Created March 29, 2024 19:38
Show Gist options
  • Save homanp/71ab52568e567297afec08bb1eec2dec to your computer and use it in GitHub Desktop.
Save homanp/71ab52568e567297afec08bb1eec2dec to your computer and use it in GitHub Desktop.
Airtable Automation script
let inputConfig = input.config();
const {recordId} = inputConfig
await fetch(
"https://tables.superagent.sh/api/workflows",
{
method: "POST",
body: JSON.stringify(
{
// REPLACE this with your workflow ID inside the Superagent dashboard
"workflows": ["87f3181c-2da3-4e1f-b607-32bfc539fae0"],
"recordId": recordId
}
)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment