Run request using webhook
Webhooks are coming soon. They will be live by the end of June 2022.
This feature requires a paid Data Fetcher plan.
Data Fetcher allows you to run a request by calling a webhook URL. This means you can automatically run the request when an event happens, e.g. when a record is updated or a form gets a new submission.

Add Airtable API Key

To use webhooks, first add your Airtable API key. You will only need to add it once. The key is stored securely and then used by Data Fetcher to update the base using the Airtable REST API.
  • On the create request screen, under Webhook, click Add API Key.
  • Enter your Airtable API key (you can find it here: https://airtable.com/account).
  • Click Save.

Turn On Request Webhook

To run your request by calling the webhook URL, you first need to turn it on:
  • On the create request screen, under Webhook, click Turn on webhook for request.
  • Click the
    icon next to the webhook URL to copy the webhook URL to your clipboard. The webhook URL will look like this:
1
https://hook.datafetcher.com/h/rr4X86TTJ747CAPj9gVU9mrKnN33wKqT46CbaaTxnaXqsr
Copied!
  • Try visiting the URL in your browser. You should see a success message and the request will run.

Run for a Particular Record

You can add the record_id parameter to the webhook URL to run the request for a particular record. Make sure you have first selected a Run on Multiple Records table and view in Advanced settings.
1
https://hook.datafetcher.com/h/rr4X86TTJ747CAPj9gVU9mrKnN33wKqT46CbaaTxnaXqsr?record_id=reca19WnKiU2L46cj
Copied!

Call Webhook from Airtable Automation

You can call the webook and run the request from an Airtable automation. This means you can run the request when a record is updated, a form is submitted, a record matches a condition or any other Automation trigger.
  • Create an automation with the trigger you want, e.g. When a record is updated.
  • For the automation action, select Run a script.
  • Add the following script, replacing the webhook URL with the one for your request:
1
await fetch(`https://hook.datafetcher.com/h/rr4X86TTJ747CAPj9gVU9mrKnN33wKqT46CbaaTxnaXqsr`);
Copied!
If you want to run the request for only one record:
  • Add an input variable called record_id with the value of the record id from the trigger.
  • Set the record_id in the Run a script action:
1
await fetch(`https://hook.datafetcher.com/h/rusXWhurWrdZGSHAKy8kh6H?record_id=${input.config().record_id}`)
Copied!