Help

Re: How to use Airtable Webhooks (with native Webflow forms)

5917 0
cancel
Showing results for 
Search instead for 
Did you mean: 
ChrisDrit
6 - Interface Innovator
6 - Interface Innovator

Hello :wave:

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:

Let’s build!

Setup Airtable

Screen Shot 2022-08-29 at 6.30.35 PM

Standard stuff here. New Airtable base with a “name” column in it.

Automations

Flip over to the “Automations” tab.

Screen Shot 2022-08-29 at 6.30.39 PM

The Magic

Screen Shot 2022-08-29 at 6.31.01 PM

Here’s the magic :star_struck:

Our new Webhook trigger.

Screen Shot 2022-08-29 at 6.31.07 PM

I copy the new Webhook URL to my clipboard.

Webflow Form

Screen Shot 2022-08-29 at 6.32.56 PM

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.

Screen Shot 2022-08-29 at 6.33.07 PM

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.

Screen Shot 2022-08-29 at 6.33.17 PM

Since you’ve submitted the form Airtable should have received it and tapping the “Test Trigger” button will confirm just that.

Step Successful

With confirmation that the Webhook is working, and your form is submitted it to the correct endpoint…

It’s time to add an action.

Screen Shot 2022-08-29 at 6.33.38 PM

Create Record

You’ll create a new record in your Airtable base with the Webflow form submission.

Screen Shot 2022-08-29 at 6.33.48 PM

Screen Shot 2022-08-29 at 6.33.57 PM

…and add a temp message that’ll be the same for every Webhook received from this form submit.

Screen Shot 2022-08-29 at 6.34.25 PM

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.

Screen Shot 2022-08-29 at 6.34.53 PM

Flip back over to your live Webflow site and resubmit the form.

Screen Shot 2022-08-29 at 6.35.13 PM

…and life is good!

Screen Shot 2022-08-29 at 6.35.19 PM

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.

:beers: Cheers!

11 Replies 11

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!

Julio
4 - Data Explorer
4 - Data Explorer

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? 

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.

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):

https://nocodequest.com/simple-webflow-form-submits-with-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!

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

CARDAdmin
5 - Automation Enthusiast
5 - Automation Enthusiast

How do you handle this with multiple forms on the website?  Struggling to get the automation in Workflow to work right because there are multiple forms on the website.  Do I need a webhook for each form?  Haven't been able to confirm this!

Sorry, missed this. Still having this issue?

Most likely (without knowing more about your setup) you'll need multiple Webhooks. 1 Webhook per form.

CARDAdmin
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi there, I didn't realize that I missed this message!  I can still use the help.  I had one Webhook per form, but for some reason, it only shows available fields for the last form that an item was submitted for. When that happens, it breaks the other automations.