As a simple example, we’ll pass along the JSON object setup in the example above to Slack.įor a more in-depth look at our Slack automation actions, see this article. The data you pass to the incoming webhook can now be used in any automation action. In our example, we’ll pass along the JSON object received by the webhook into Slack. Click the “Run test” button to start the test you’ll receive a “Test ran successfully” message after the test is complete.Īfter running a successful test you can now add an automation action to make use of the data you want to send to the webhook. ![]() Once you’ve received a successful response for the example webhook, you need to test the webhook directly in the Airtable automation. Check that your request was sent with a Content-Type header of "application/json".You can send over any JSON object in the test, but for sake of example we’ll use a simple object: ). Next, click the “Content tab” directly underneath where you pasted your webhook URL. Paste your webhook URL into the text box and select the POST option. Paste the webhook URL (generated by Airtable) into the textbox near the top of the screen. This enables you to integrate with services that Airtable doesn’t currently support or to programmatically trigger automations, preventing you from having to write custom code or manage your own infrastructure. When Airtable receives a request at this URL, we’ll then trigger the automation that you configured (just like our other triggers). You can use this URL with another service’s webhook configuration UI, or use it directly from your own custom code (e.g. ![]() The incoming webhook trigger will create a unique URL that you can use to trigger an Airtable automation. ![]() Normally, you’d have to write custom code and spin up your own infrastructure in order to handle webhooks, but now, whenever an event fires in another product, you can tap into the full power of Airtable Automations to handle it accordingly. With the incoming webhook trigger for automations, you can connect Airtable with many of the tools and products that you and your team use (whether a third-party service or an internal tool).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |