Browse AI Workflows & Automation Section 5: Error Handling

Retry Strategy Design

7 fill-in slots · from The AI Prompt Handbook for AI Workflows & Automation

Your details

0/7 filled

Retry Strategy Design

Design a retry strategy for this operation:

OPERATION:
[What operation might fail]

FAILURE MODES:
1. [Failure type 1]: [characteristics]
2. [Failure type 2]: [characteristics]
3. [Failure type 3]: [characteristics]

DESIGN RETRY STRATEGY:
{
  "max_attempts": number,
  "backoff": {
    "type": "fixed | linear | exponential",
    "initial_delay_ms": number,
    "max_delay_ms": number,
    "jitter": true | false
  },
  "retry_conditions": ["which errors to retry"],
  "no_retry_conditions": ["which errors to fail fast"],
  "circuit_breaker": {
    "enabled": true | false,
    "threshold": "failures before opening",
    "reset_after_ms": number
  }
}

IMPLEMENTATION NOTES:
- How to preserve state between retries
- How to avoid duplicate processing
- How to report partial progress

Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.