Data Fetcher Help Center
🚀 Try for free📮 Support
  • 👋Welcome
  • Create Requests
    • Create a request
    • Use table values in requests
    • Use variables in requests
    • Response field mapping
    • Schedule a request
    • Add a request trigger
    • Troubleshoot errors
    • Run request using webhook URL
    • Pre-built integrations
  • Custom Requests
    • Create a custom request
    • Set request method
    • Set request parameters
    • Request authorization
    • Set request headers
    • Add request body
    • Connect to a preset OAuth API
    • Create a custom OAuth connection
  • Advanced settings
    • Write modes
    • Update based on field(s)
    • Pagination
    • Response data transformations
    • Response JMESPath
    • Add fixed value to output
    • No output mode
    • Rate limit
    • Max response records
    • Run request from button field
    • Denormalize response
    • XML array handling
    • Fixed IP Address
  • Organise Requests
    • Run history
    • Duplicate a request
    • Delete a request
    • Add request description
    • Import request from cURL command
    • Export requests as JSON file
    • Import requests from JSON file
  • Create Sequences
    • Create a sequence
    • Schedule a sequence
    • Run sequence from button field
    • Run sequence using webhook URL
  • Account
    • Upgrade workspace
    • Authorize Data Fetcher and Airtable
    • Add user to workspace
    • Roles and permissions
    • View monthly usage
    • Update personal details
    • Update payment card
    • Update billing information
    • View invoices
    • Switch workspace
  • Get a Google Maps API Key
Powered by GitBook
On this page
  • Authorize Data Fetcher
  • Turn On Request Webhook URL
  • Run for One Particular Record
  • Call Webhook from Airtable Automation
  1. Create Requests

Run request using webhook URL

Last updated 6 months ago

Every request can be run using its webhook URL. This means the request can be run automatically when an event happens, e.g. or a .

This feature requires a .

Authorize Data Fetcher

To schedule requests, you will first need to authorize Data Fetcher (using OAuth). You will only need to do this once.

  • On the create request screen, under Webhook, click "Authorize".

  • On the modal that opens, click "I understand, let's Authorize".

  • A new tab/ window will open, prompting you to let Data Fetcher access Airtable. Add the bases you want Data Fetcher to have access to. We recommend selecting "All current and future bases in all current and future workspaces" to avoid any unauthorized issues in the future.

  • Click "Grant access".

  • You will return to the Data Fetcher extension and the webhook will be switched on.

Turn On Request Webhook URL

To run your request by calling its webhook URL, you first need to turn the webhook on:

  • On the create request screen, click on the Webhook URL tab and turn on "Turn on webhook for request".

https://hook.datafetcher.com/h/rj4X86TTJ747CAPj9gVU9mrKnN33wKqT46CbaaTxnaXqsr

Run for One Particular Record

With the record_id parameter, the webhook URL will look something like:

https://hook.datafetcher.com/h/rr4X86TTJ747CAPj9gVU9mrKnN33wKqT46CbaaTxnaXqsr?record_id=reca19WnKiU2L46cj

Call Webhook from Airtable Automation

  • Create an Airtable automation with the trigger you want, e.g. When a record is updated.

  • Add the following script, replacing YOUR_WEBHOOK_URL with the webhook URL for your request:

await fetch(`YOUR_WEBHOOK_URL`);

You can run the request from an Airtable automation for only one record by setting the record_id parameter.

  • In Airtable, add an input variable called record_id with the value of the record id from the trigger.

  • Add the following script, replacing YOUR_WEBHOOK_URL with the webhook URL for your request:

await fetch(`YOUR_WEBHOOK_URL?record_id=${input.config().record_id}`)

Click the icon next to the webhook URL to copy the webhook URL to your clipboard. The webhook URL will look something like this:

You can try visiting the URL in your browser. You should see a success message and the request will run. You can check the request's to confirm the request ran successfully.

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 table and view in Advanced settings.

You can call the webhook 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 .

For the automation action, select .

Run History
Automation trigger
Run a script
when a record is updated
form gets a new submission
paid Data Fetcher plan
Run on Multiple Records