Created
March 29, 2024 19:38
-
-
Save homanp/71ab52568e567297afec08bb1eec2dec to your computer and use it in GitHub Desktop.
Airtable Automation script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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