- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Nov 06, 2024 09:03 AM
Hi Airtable gurus,
I am trying to create an automation that will locate a specifc record based on the record ID then update the Status field.
It would look like this:
Trigger: When a webhook is received (an invoice is paid in Stripe) I actually have the webook created
Event: 1. Locate record (the appointment record that was created based on a Calendly appointment creation), 2. Update that record to reflect that the invoice for that appointment was PAID
I feel like I am close to getting the automation to work, but I can't figure out how to find that appointment record based on the record ID. Any help would be so appreciated!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Nov 06, 2024 10:19 AM
Hi,
If I understand correctly, your webhook has triggers the automation, and passes a string that corresponds to a record ID, and you now want to use this ID to update that record to mark it as paid.
If this is the case, then all you need is :
- Add a "Record ID" field to your table. That field is a formula and the formula is simply: RECORD_ID()
- In your automation, add the "Update Record" action
- Select the right table, and in the "Record ID" field, click on the input and navigate to your Webhook's payload. Your record ID should be there, if properly configured from Stripe.
- Below that, select the field to update, and put the value you want.
Does this help?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Nov 06, 2024 10:19 AM
Hi,
If I understand correctly, your webhook has triggers the automation, and passes a string that corresponds to a record ID, and you now want to use this ID to update that record to mark it as paid.
If this is the case, then all you need is :
- Add a "Record ID" field to your table. That field is a formula and the formula is simply: RECORD_ID()
- In your automation, add the "Update Record" action
- Select the right table, and in the "Record ID" field, click on the input and navigate to your Webhook's payload. Your record ID should be there, if properly configured from Stripe.
- Below that, select the field to update, and put the value you want.
Does this help?
![](/skins/images/FE00829FDD2AE889FAB731D8F02A8942/responsive_peak/images/icon_anonymous_message.png)