Prompt
How do I handle workflow retries and failures in Make?
Latest observation
In Make, the best way to handle retries and failures is to design for them up front rather than relying on manual reruns.
1) Use error handlers on risky modules
For modules that commonly fail, add an Error handler route:
- Right-click the module
- Choose Add error handler
- Pick what should happen when it fails
Common patterns:
- Resume: continue the scenario after handling the error
- Break: stop the scenario run
- Ignore: skip the failed operation and move on
- Rollback: undo when supported by the app/module
2) Add retry logic
If a failure is likely to be temporary, use a retry strategy:
- Put a Sleep module in the error handler
- Then route back to retry the operation
- Limit the number of retries to avoid infinite loops
Typical approach:
- First failure → wait 30s
- Second failure → wait 2 min
- Third failure → alert and stop
3) Distinguish temporary vs permanent errors
Handle these differently:
- Temporary: rate limits, timeouts, API glitches → retry
- Permanent: invalid data, missing required fields, bad IDs → log and skip or stop
This saves time and prevents pointless retries.
4) Log failures
Always store failure details somewhere:
- Google Sheets
- Airtable
- Data store
- Slack/Email notification
- Database or logging service
Include:
- Scenario name
- Module name
- Error message
- Bundle/input data
- Timestamp
- Retry count
5) Notify on repeated failure
If retries fail, send an alert:
- Slack message
- Teams notification
- PagerDuty, etc.
This helps you catch broken scenarios quickly.
6) Design idempotent workflows
Make scenarios safe to rerun:
- Avoid duplicating records
- Use unique IDs
- Check if a record already exists before creating it
- Update instead of recreate when possible
This is crucial because retries can otherwise create duplicates.
7) Use filters and validation early
Catch bad data before it reaches fragile modules:
- Validate required fields
- Normalize formats
- Filter out empty/invalid items
This reduces unnecessary failures.
8) Use dead-letter style handling for failed items
For items that consistently fail:
- Send them to a separate route
- Store them for later review
- Continue processing the rest of the data
This is useful in bulk/import scenarios.
9) Test with edge cases
Before going live, test:
- Missing fields
- API timeout
- 429 rate-limit response
- Duplicate inputs
- Unexpected data types
10) Monitor scenario execution
Check:
- Execution history
- Error frequency
- Failed modules
- Throughput
- Retry behavior
If a module fails often, consider changing the logic or adding throttling.
Practical retry pattern in Make
A simple pattern looks like this:
- Main module runs
- If it fails, error handler triggers
- Error handler logs the error
- Wait a bit
- Retry the module
- If it fails again, repeat up to a limit
- After max retries, alert and stop or skip item
If you want, I can also show you:
- a step-by-step retry setup in Make, or
- a visual example of an error handler flow.