Prompt
I’m building event-driven workflows between apps and need retries and monitoring. What would you suggest?
Latest observation
For event-driven workflows between apps, I’d suggest using a workflow orchestration tool rather than trying to hand-roll retries and monitoring in each app.
Good options
1) Temporal — best for robust retries, state, and observability
Use this if you need:
- automatic retries with backoff
- durable workflow state
- visibility into each step
- long-running workflows
- human-in-the-loop steps, timers, and compensation logic
It’s a strong choice when reliability matters and you want workflows to survive app crashes, deploys, or network issues.
2) AWS Step Functions / Azure Durable Functions / Google Workflows
Good if you’re already on a cloud platform and want managed orchestration.
- built-in retries and error handling
- good monitoring and execution history
- easier to adopt if your stack is mostly in one cloud
Tradeoff: less portable, and can get awkward for complex business logic compared with Temporal.
3) n8n / Make / Zapier
Good for:
- quick integrations
- less-code automation
- internal tools and lightweight workflows
Tradeoff: usually not ideal for mission-critical, high-scale, or deeply stateful workflows.
What I’d recommend
If you’re building something production-grade and need retries + monitoring + dependable execution, I’d start with Temporal.
What to look for
Make sure the platform supports:
- idempotency for safe retries
- dead-letter handling or failure queues
- execution logs / traces
- retries with exponential backoff
- alerting on failures
- workflow state visibility
- replay or re-execution of failed steps
Simple architecture
A common pattern is:
- app emits event
- workflow engine picks it up
- workflow executes steps with retries
- failures go to alerting / DLQ
- monitoring dashboard shows status and history
If you want, I can suggest the best fit based on your stack, for example:
- cloud provider
- programming language
- expected event volume
- whether workflows are short or long-running