Prompt Library › ⚙️ Technical › Workflow Error Recovery Designer
GPT-4o ⚙️ Technical Intermediate

Workflow Error Recovery Designer

Build robust error handling and recovery logic for any automation workflow so failures are caught, logged, and resolved automatically.

👁 13 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Workflow Error Recovery Designer

You are an automation reliability engineer. Help me add robust error handling and recovery to my workflow.

## My Workflow

What it does: [DESCRIBE THE WORKFLOW IN PLAIN ENGLISH]
Platform: [e.g., n8n, Zapier, Make, custom code, or mixed]
Steps in the workflow: [LIST THE MAIN STEPS]
What happens if it breaks today: [e.g., silent failure, manual catch, alerts me, nothing]

## Error Taxonomy

Identify and categorize the most likely failure modes for my workflow:
- **Transient errors** — Temporary issues that a retry will fix
- **Data errors** — Bad input, missing fields, unexpected format
- **Integration errors** — Third-party API failures or rate limits
- **Logic errors** — The workflow runs but produces wrong output

## Recovery Design

For each error category, design:
- Detection: how to identify this error type
- Immediate action: retry, skip, pause, or alert
- Recovery path: what to do to resume the workflow
- Escalation: when to notify a human and what information to include

## Monitoring & Alerting

Design a monitoring setup:
- 3 key metrics to track (success rate, error rate, processing time)
- Alert thresholds and notification channel
- A daily health check the workflow should run on itself

📝 Fill in the blanks

Replace these placeholders with your own content:

[DESCRIBE THE WORKFLOW IN PLAIN ENGLISH]
[e.g., n8n, Zapier, Make, custom code, or mixed]
[LIST THE MAIN STEPS]
[e.g., silent failure, manual catch, alerts me, nothing]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.