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
    • List of Airtable 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 name or email address
    • Update payment card
    • Update billing information
    • View invoices
    • Switch workspace
  • Get a Google Maps API key
Powered by GitBook
On this page
  • Run on multiple records
  • Use a single cell value
  • Use dynamic values with formula fields
  • URL encoding for table references
  1. Create Requests

Use table values in requests

Last updated 9 days ago

You can use values from your Airtable tables directly in your Data Fetcher requests. This creates dynamic requests that automatically pull data from your tables when they run, making your API integrations much more powerful and flexible.

Data Fetcher offers two ways to use table values:

- Executes a separate request for each record in a table or view. Perfect for bulk operations like looking up stock prices for every ticker symbol in your table or fetching details for every course ID.

- Runs one request using a value from a specific Airtable cell. Useful for dynamic values like current dates or storing API tokens in your base.

Run on multiple records

This method processes each record in a table or view individually, making it ideal for bulk data operations.

Set up multiple record processing

  1. Click the + button in any compatible input field to open the table reference modal.

  2. Select the Table and Field you want to reference from the dropdowns.

  3. Under Run for every record in view, select the view containing the records you want to process. Do not select an individual record.

  4. Click Confirm.

The input field will now contain a reference to your table and field. When the request runs, Data Fetcher will execute one request per record in the view, replacing the reference with each record's value. Each record processed counts as one run toward your monthly usage.

Configure advanced settings

The Run on Multiple Records table and view are automatically set based on your selection, but you can modify these settings:

  1. Click â–¶ Advanced settings to expand the advanced options.

  2. Under Run on Multiple Records, select your desired table and view. The table must match the one referenced in your inputs.

Important: When running on multiple records, keep Update based on field(s) set to "None". This ensures Data Fetcher uses the record's position in the table to update the correct output record.

Handle errors gracefully

Enable the If one of these records causes an error, run the next request anyway option to continue processing even when individual records fail.

For scheduled requests with this option enabled, Data Fetcher will pause the request if 100 consecutive records cause errors. You'll receive a notification so you can investigate and fix the issue.

Use a single cell value

This method pulls a value from one specific cell, perfect for dynamic values or configuration settings.

Set up single cell reference

  1. Click the + button in any compatible input field to open the table reference modal.

  2. Select the Table and Field you want to reference.

  3. Select the specific record containing the cell value you need.

  4. Click Confirm.

The input field will display a reference to that cell. When the request runs, Data Fetcher replaces the reference with the actual cell value.

You can edit any table reference by clicking on it to reopen the table reference modal.

Use dynamic values with formula fields

For values that change over time (like current dates), create Airtable formula fields and reference them using the single cell method.

Example: Using the current date and time

Let's create a dynamic timestamp in the format 2023-03-22 12:00:00.000:

  1. Create a new table in Airtable called "Config" to keep things organized.

  2. Delete all records except one.

  3. Create a formula field called "Date today" with this formula:

DATETIME_FORMAT(NOW(), 'YYYY-MM-DD HH:mm:ss.sss')
  1. Create a single cell reference to this formula field in your request.

When your request runs (manually or automatically), Data Fetcher will use the current date and time value from the formula field.

URL encoding for table references

When using table values in URLs, you may need to encode special characters. Data Fetcher can handle this automatically:

In the table reference modal, use the Encode URL table references option at the bottom to enable or disable automatic URL encoding for your reference.

This ensures that spaces, special characters, and other URL-incompatible values are properly formatted when used in request URLs.

Run on multiple records
Use a single cell value