Write modes
Last updated
Last updated
When Data Fetcher runs your request, it transforms the API response into tabular data (fields and records) and writes it to your output view. You can control how this data is written using Write Mode settings.
- Add new records without changing existing ones.
- Modify existing records and optionally add new ones.
Navigate to the request screen in Data Fetcher.
Scroll down to the bottom and click to open the Advanced settings.
Under Write Mode, select your preferred option.
Append mode adds new records to your table without modifying existing data. This is perfect for tracking data over time, like daily sales reports or periodic updates.
Example scenario: You're tracking item sales and want to see how numbers change daily.
Your current table:
229
Orange Hat
5
107
Purple Skirt
10
Today's API response:
692
Blue T-Shirt
7
229
Orange Hat
10
107
Purple Skirt
17
After running with Append mode:
229
Orange Hat
5
107
Purple Skirt
10
692
Blue T-Shirt
7
229
Orange Hat
10
107
Purple Skirt
17
With a "Created time" field in Airtable, you can track how units sold changes for each item over time.
Update mode refreshes existing records with new data. Any additional records from the API response can be created as new records (this behavior is optional).
Using the same example data from above, after running with Update mode:
692
Blue T-Shirt
7
229
Orange Hat
10
107
Purple Skirt
17
In the example above, there's a problem. The first record that was originally "Orange Hat" is now "Blue T-Shirt," which could break any links or comments associated with that record.
Solution: Set an Update Based on Field to match records properly.
To avoid mismatched updates:
In Advanced Settings, find Update Based on Field(s)
Choose a unique identifier like "Item ID"
With "Item ID" as the matching field, records update correctly:
229
Orange Hat
10
107
Purple Skirt
17
692
Blue T-Shirt
7
Pro tip: Use an output view without Airtable filters to ensure Data Fetcher can find all matching records. Filtered views may cause duplicate records if matches are hidden.
By default, any new records in the API response are added to your table. To change this:
Open Advanced Settings
Toggle Create records leftover after update on or off
Remove records from your table that no longer appear in the API response. This is useful when the source application has deleted data.
Open Advanced Settings
Toggle Delete records not found in the API response on or off
Important: This only affects records visible in your output view. Use a view without filters to ensure all records are considered for deletion.