How do I keep state between runs with Make data stores or Zapier Tables?
To keep state between runs, store a small record, such as a last-processed ID or a list of handled orders, in a Make data store or a Zapier Table. At the start of each run, look the record up, decide what to do, and at the end write the new value. Check the limits first, because both have size caps.
Key takeaways
- Make's data stores page says data stores "are similar to a simple database" that hold data from a scenario or pass it between scenarios and runs, with a unique key per record.
- Its modules are Add/Replace a Record, Get a Record, Search Records and Delete a Record. The maximum size of a record is 15 MB, and every 1,000 operations equals 1 MB of storage.
- Zapier's key concepts for Tables says a table holds records (rows) made of fields (columns), and can connect to Zaps.
- Zapier's Tables usage limits give a 255-character limit on Text fields and 10,000 on Long Text, and say record limits vary by plan.
- Neither Zapier page says to use Tables for workflow state or to prevent duplicates. That is a common pattern we describe here, not something the docs promise.
What "state" means in an automation
An automation run forgets everything when it ends. State is anything you want to remember for the next run, such as:
- the ID of the last row or order processed
- which emails you have already replied to
- a running count, such as invoices sent this month
- a flag that a customer has already been welcomed
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Make data store versus Zapier Table
| Feature | Make data store | Zapier Table |
|---|---|---|
| What it is | A simple built-in database | A table of records and fields |
| Keys | Each record has a unique key you set or Make generates | Records are rows; you decide which field acts as the key |
| Look up by key | Get a Record module | Find a record by a field value |
| Write | Add/Replace a Record, with optional overwrite | Create or update a record |
| Size limits | 15 MB per record; storage tied to credits (1,000 operations per MB) | Field limits such as 255 characters for Text; record limits by plan |
| Good for | Counters, flags, last-seen IDs, caches | Small shared tables people can also view and edit |
Check the current limits for your plan before you rely on either.
The pattern
- Pick a key. Use something that is unique and stable, such as an order ID or email address.
- Look it up at the start. If the key exists, you have seen this item before.
- Decide. Skip it, update it or process it.
- Write the result at the end. Store the key and any value you need, such as a status or timestamp.
- Handle errors. If a run fails halfway, decide whether the record should be marked done or left alone.
Our page on why automations create duplicate records explains why a "seen it" check matters.
Make data store details
When you create a data store you name it, pick or create a data structure of columns and types, and set its size in MB. If you leave the structure empty, the store holds only the primary key, which Make notes is useful for checking whether a key exists. Turning on Strict rejects payloads with fields outside the structure. If you leave the key blank on a new record, Make generates one. Free plans have 1 MB of storage, which equals one data store.
Zapier Tables details
Zapier describes a table as a container of related information. You can import from CSV and export to CSV. When many table actions happen quickly in connected Zaps, rate limiting can reduce the frequency of requests, so do not use a table as a high-speed counter. The record count limit depends on your plan, so check the pricing page.
Example: a daily lead digest
Example: a freelancer's scenario checks a form sheet every hour and emails new leads. She creates a Make data store with one column, `last_row_id`. Each run gets the record, reads only sheet rows with an ID above that value, emails them and then overwrites the record with the highest ID processed. After a week of 3 to 12 new leads a day, no lead is emailed twice. If she used Zapier she could keep the same value in a one-row table. The figures are illustrative.
Mistakes to avoid
- Using a key that is not unique.
- Writing state before the work succeeds.
- Storing large files or long text in a small store.
- Ignoring plan limits.
- Forgetting to clean up old records.
- Using state when the app already has a unique ID you can filter on.
Is there a service that plans an automation before you build it?
Yes. Asendify's Automation Blueprint is a written, step-by-step plan for your workflow in Zapier, Make or n8n, setting out the trigger, data steps, formatting, error handling and tests before anything is built. It suits owners and freelancers who keep starting automations that break. It does not build the workflow for you. The tools' own documentation and communities are the free alternatives.
Related answers: why automations create duplicate records, how to stop an automation from looping forever and how to document a business automation, plus the free automation hours calculator.
FAQ
Is there a service that plans my automation before I build it?
Yes. Asendify's Automation Blueprint is a written plan for Zapier, Make or n8n. The tools' docs are a free alternative.
What is a Make data store?
A simple built-in database that holds records with unique keys, per Make's help page.
How big can a data store record be?
Make says the maximum size of a record is 15 MB.
What are the limits on Zapier Tables fields?
Text fields allow 255 characters and Long Text 10,000, per Zapier's usage limits page.
Can I use these to avoid duplicates?
Yes, as a pattern: check for the key first. The docs do not describe it as a feature.
More playbooks on other topics: https://www.asendify.co/books/
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.