Sep 18, 2022 02:43 AM
Over the years I’ve discovered you can do all sorts of amazing things with Webhooks.
…and with Airtable introducing their native Webhooks feature, it just removed a bunch of “hoop jumping” pain that was required for me to get my data into Airtable :star_struck:
With this post I wanted to do a quick walk through of how I use the new Airtable Webhooks feature with native Webflow forms.
Now, I can submit my Webflow forms directly into Airtable without using services like Make, Integromat, or Zapier :exploding_head:
Standard stuff here. New Airtable base with a “name” column in it.
Flip over to the “Automations” tab.
Here’s the magic :star_struck:
Our new Webhook trigger.
I copy the new Webhook URL to my clipboard.
I create a generic Webflow form. Nothing special here. With the default form block I get a name and email field.
For this quickie run through, I blow them away and just leave the forms submit button.
Next… paste my Airtable Webhook URL into forms “Action” field.
Making sure that I choose the “Method” of “POST” for the form submission.
Publish the Webflow project, open the live site, and tap the fancy new form button.
Test the Webhook
Just like with all other glue services, we need to test that the Webhook is working.
Since you’ve submitted the form Airtable should have received it and tapping the “Test Trigger” button will confirm just that.
With confirmation that the Webhook is working, and your form is submitted it to the correct endpoint…
It’s time to add an action.
You’ll create a new record in your Airtable base with the Webflow form submission.
…and add a temp message that’ll be the same for every Webhook received from this form submit.
Of course for something “real” you’d swap in the user submitted data instead of this temp message.
Make it Live
Turn on your Automation.
Flip back over to your live Webflow site and resubmit the form.
…and life is good!
This was a simple walk through of a very powerful native Airtable feature that makes it trivially easy to get data into your Airtable base from just about any other platform out there.
Sep 19, 2022 03:58 AM
As I’ve said many times, solution-builders should lean away from the integration services like these wherever and whenever practical. Eliminating steps, dependencies, and process complexities should be high on the list of application maintenance for many reasons - financial incentives being a big one, but not the only one.
Builders also need to scope the increase in automation runs as a result of kicking the glue factories to the curb. Just because this is possible, it may not be wise since you are essentially transferring load to your automation runs which are finite with Airtable accounts.
This is a great guide and easily followed!
Jan 03, 2023 09:01 AM
Perfect tutorial! Thanks for sharing it with us, although how do you avoid the redirection to the success page after submitting the form through webflow?
Jan 27, 2023 10:50 AM
Thanks for asking this Julio.
@ChrisDrit I really appreciate this great tutorial. However - from a user experience point of view this is not usable, as it redirects the user to an Airtable 'webhook' success page.
I'm looking for a way around this with JS and will post here if I find one.
Jan 27, 2023 01:53 PM
Using a form was just an example. The real power comes outside of that. For example popping off a Webhook from Webflow, Stripe, or wherever else directly into Airtable.
If you'd like a more front facing, user friendly approach that you have 100% control of, here's a screencast walking through just that when submitting Webflow forms into Airtable using Make (Integromat):
What's not shown is the module adding the form submission into Airtable, but that' simple & straightforward. Just drop it in, connect it, and you're good to go.
Hope that helps!
Apr 22, 2023 02:07 AM
Great article - one issue I found is when using webflow checkbox fields for multiple selects it return a value of TrueTrueTrueFalseFalseFalseFalseFalseFalse and how do we convert to multiselect in airtable - any solutions ? 🙂 Cheers