# Recorde ID Indefine Webhook

**URL:** <https://community.make.com/t/recorde-id-indefine-webhook/34526>\
**Category:** Questions\
**Tags:** webhooks\
**Created:** [April 21, 2024, 12:01am UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526 "2024-04-21T00:01:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliviercolas](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@Oliviercolas](https://community.make.com/u/Oliviercolas)\
**Post date:** [April 21, 2024, 12:01am UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526/1 "2024-04-21T00:01:42Z")

</div>

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

 ![Capture d’écran du 2024-04-21 01-54-29](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/f/2f02f21df8d85e5bb818c7b278f7205da57b814a.png)  
 ![Capture d’écran du 2024-04-21 01-54-02](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/f/efc782caa08a3612ddee1d68f48ecdc6ed1aa0e8.png)

[gmb.json](https://community.make.com/uploads/short-url/oXvAH0RK0ZeubIeuxAqIWdKKwbt.json) (26.1 KB)

 ![Capture d’écran du 2024-04-21 01-59-35](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/6/86f797a6048fd9b7fda2e86d4838c948811828a8.png)

---

<div class="post-metadata">

**Author:** ![Lauren\_Moineau](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@Lauren\_Moineau](https://community.make.com/u/Lauren_Moineau)\
**Post date:** [April 21, 2024, 10:21am UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526/2 "2024-04-21T10:21:22Z")

</div>

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

Hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![Oliviercolas](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@Oliviercolas](https://community.make.com/u/Oliviercolas)\
**Post date:** [April 21, 2024, 12:16pm UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526/3 "2024-04-21T12:16:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Oliviercolas](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@Oliviercolas](https://community.make.com/u/Oliviercolas)\
**Post date:** [April 21, 2024, 12:57pm UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526/4 "2024-04-21T12:57:46Z")

</div>

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=](https://hook.eu1.make.com/f99rp42fx116smqo6a1z30ssv7yftkg2%22+%22?recordId=)”+recordId)

console.log(response.status)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [May 5, 2024, 1:34pm UTC](https://community.make.com/t/recorde-id-indefine-webhook/34526/5 "2024-05-05T13:34:04Z")

</div>


