Help

Create record in another base via button

Topic Labels: Automations Extensions
415 4
cancel
Showing results for 
Search instead for 
Did you mean: 
Alix
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi, is there a way I can send a webhook to an automation in another base via a button which runs a script?

So like:

press button on record on base A > runs script > script sends webhook to base B > webhook triggers automation to create record

I can achieve what i want via a checkbox and syncing but i dont want them to have to uncheck and check the box to do it again

Any ideas?

4 Replies 4
ScottWorld
18 - Pluto
18 - Pluto

Sure, that is incredibly easy to do with Make’s custom webhooks & webhook responses for Airtable.

Just setup your automation in Make to create the new record, and then you can trigger the automation via a webhook.

Buttons can’t run scripts, but you can run a script with a drop-down menu. More details here: https://air.tableforums.com/t/sending-airtable-data-to-an-external-webhook-such-as-make-com/159

If you really want a button, that's fine too. The button in Airtable can simply open the webhook URL directly, and then you can set the webhook response to whatever you want. The webhook response can also just close the window via JavaScript.

I show how to do this via email links in this episode of the BuiltOnAir podcast, but it would be the exact same concept if you're doing it with a button within Airtable: https://youtu.be/58urboTLZck?list=PLqssva4liHRwHhQIpTXekG8WObEoyC2F1

There is a small learning curve with Make, which is why I created this basic Make navigation video to help: https://air.tableforums.com/t/make-com-basic-navigation-tips/277 

p.s. If you have a budget for your project and you’d like to hire an expert Airtable consultant to help you with any of this, please feel free to contact me through my website: Airtable consultant — ScottWorld

Alix
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi Scott, Thanks
I can't use third party apps as it's for a client unfortunately

I don't understand how buttons can't run scripts when that is one of the options? 

Alix_0-1701358061103.png

 

ScottWorld
18 - Pluto
18 - Pluto

Oh sorry, you are correct. You can run a script from a button. I was thinking of the interface buttons, which can't trigger a script directly, but can trigger an automation which has a script in it. 

But either way, you can get a Javascript to work from a button, so yes, Javascripts can always be performed in some way via buttons. (Although I prefer to not have the extensions window open up in grid view, which is why I don't typically trigger scripts from buttons there.)

If you know Javascript, you can just create the new record directly from your script. Or you can send JSON data to the webhook in the other base.

Alix
5 - Automation Enthusiast
5 - Automation Enthusiast

Thanks, I don't know scripting unfortunately, so that's the part I need help with here 🙁