Skip to main content

External Interaction Patterns

View Markdown

These patterns cover how a Workflow waits on or interacts with the world outside it — external APIs, human decisions, scheduled delays, and inbound or outbound callbacks — while staying durable across failures.

Patterns in this section

Choosing a pattern

The external system offers no notification: use Polling External Services and tune the interval to the expected latency.

One Activity runs for a long time: use a Long Running Activity with heartbeats so failures resume instead of restarting.

A person or external system must decide: use Approval to block on a Signal.

Execution should begin later: use Delayed Start.

You send or receive HTTP callbacks: use Delayed Callback (Webhooks).