I saw a few articles here where people are just sending the airtable record ID in the webhook URL when a specific trigger is met. I’m trying to do the same thing but I want to send the data to Okta Workflows. I currently have the following script:
let inputConfig = input.config();
let recordId = inputConfig.recordId;
let url = “OKTA_WORKFLOWS_API_ENDPOINT_URL”
let request = url.concat(’?recordId=’,recordId);
My trigger is set so that when there’s an update in a specific field, the script should be ran. The trigger seems to be working according to the Airtable automation logs but I’m not seeing anything on the Okta side. Has anyone gotten this to work? I have an input variable created in my automation with the name “recordId”.
Actually realized i forgot a ; on my url line. Anyway, i see the trigger making it to Okta but i don’t see the recordId going over so curious how I can send data in the script if I just wanted to send specific fields.