Building failover into your workflows: highlights from last week's drop-in

Last week’s community drop-in session tackled a common question: what should your workflow do when a source system goes down?

Our guest, Mohammad Khader (General Manager at Al-Khader for Engineering Industries), joined @PiusK to dig into how OpenFn handles redundancy. If System A is unreachable, how does a workflow know to fall back to System B?

We explored this live and scaffolded a working example using the AI Assistant. Here’s the pattern we built:

  • :alarm_clock: A cron trigger kicks off the workflow at midnight

  • :counterclockwise_arrows_button: An http step attempts to fetch HRIS data from System X

  • :high_voltage: A conditional path checks the result: if System X is live, data flows straight to downstream jobs; if the instance is down, the workflow retries the fetch using System Y

  • :clipboard: If the fallback also fails, the error is logged to a Google Sheet via the googlesheets adaptor

  • :e_mail: A final gmail step sends an email alert about the new error entry

The nice thing about this pattern is that failure handling lives on the Canvas itself. Conditional paths make the fallback logic visible and easy to reason about, rather than buried in job code, and the whole thing was scaffolded in minutes with the AI Assistant.

Join us tomorrow (and every Wednesday) :spiral_calendar:
@PiusK hosts drop-in sessions every Wednesday at 10am UTC. Bring a workflow you’re stuck on, a system you want to connect, or a question like this one, and we’ll work through it together.
Add it to your calendar: https://addcal.io/c/a983ivzc4gqk