Recorde ID Indefine Webhook

Hi,

I created a Webhook to initiate automation with Airtable.

I want that when the status is “Planning”, I retrieve the ID from Airtable to publish on Google My Business.

All connections are okay with Airtable and Google My Business.

I set up the automation on Airtable: when I get the “Planning” status, I trigger the webhook script. I tested it, and it works. From Airtable, I obtain the record ID that appears.

However, in Make, when I retrieve the ID, it returns “Undefined”.

And it’s creat a 400 NOT found error

See screeshop and blueprint attached. I hope it’s help thx in advance for your help


gmb.json (26.1 KB)

Hi @Oliviercolas
I believe there’s a typo in your script (red squiggle): recordID, not recordId

Hope that helps :slight_smile:

2 Likes

Hi, thx for reply, I change it… The test on Airtable is working fine with test… but still not defined on artable ???

I changed the script and tested with this and it’s works… It’s work…

const inputData = input.config()

const { recordId } = inputData;

const response = await fetch(“https://hook.eu1.make.com/f99rp42fx116smqo6a1z30ssv7yftkg2"+"?recordId=”+recordId)

console.log(response.status)

3 Likes