When to use fixed values
Fixed values are particularly useful when you’re importing similar data from multiple sources into the same table. For example, if you have an “Orders” table that collects orders from both Shopify and Etsy, you can use fixed values to automatically tag each record with its source platform. Here’s how this works in practice:- Create an Airtable field in your output table to store the source information (e.g. a “Single select” field called “Platform” with “Shopify” and “Etsy” as options).
- Create a separate requests for each data source.
- Configure each request to automatically add the appropriate fixed value (“Shopify” for the Shopify request and “Etsy” for the Etsy request)
How to add fixed value(s)
- Navigate to the request screen in Data Fetcher.
- Scroll down to the bottom and click to open the Advanced settings.
- Under Add Fixed Value(s), click + Add fixed value.
- Select a field from the output table using the left-hand dropdown.
- Enter the value you want to each record in the right-hand input.
Add fixed values for empty results
By default, fixed values are only added when your request returns data. Enable “Add fixed field even when no records returned” to create a record with your fixed value even when the API returns no results. This is useful for tracking failed requests, maintaining audit trails, or logging when scheduled requests run but find no new data.Use Airtable values as fixed values
Instead of using static values, you can reference values from your Airtable tables as fixed values. This is particularly useful for adding dynamic information like timestamps or configuration data that changes over time. Common use cases:- Add a timestamp showing when Data Fetcher last ran
- Linking to a source record when running on multiple records
- In the fixed value input, click the + button to open the table reference modal.
- Select the Table and Field containing the value you want to use.
- Choose a specific record with the cell value you need. This is optional but strongly-recommended. You can read about the two ways of using table values here.
- Click Confirm.
DATETIME_FORMAT(NOW(), 'YYYY-MM-DD HH:mm:ss') and reference that cell. Every time your request runs, it will add the current timestamp to your imported records.