Please help -
Hi, I am trying to create a webhook in Make that runs based on a status change in Airtable. I am using a script to execute the automation. Unfortunately, I am getting a "recordId: undefined" from the webhook even though my script is returning recordId data. This is causing errors at my Airtable step; screenshots are attached:
// Replace this with URL for your own webhook
const webhookUrl = "https://hook.us1.make.com/.............................................";
const { recordId } = input.config();
try {
const response = await fetch(`${webhookUrl}?recordId=${recordId}`);
console.log(response.status);
} catch (error) {
console.error(error);
}