External Interaction
View as MarkdownThese patterns cover how a Flow interacts with people and systems outside it. The Flow waits for a decision, notices inactivity, takes a stream of messages, or changes and stops its work on request. The pages go from simple to complex.
Choose a pattern
- Decision with Deadline — Wait for one of several outside decisions, or a deadline, and let the first one decide what happens next.
- Idle Timer — Reset the inactivity window whenever new activity arrives.
- Idle Timer with Resolution — Record every incoming message until someone resolves the conversation or it goes quiet.
- Control Long-Running Work — Change a running loop, such as its batch size, and choose how to stop it: stop the whole run, complete gracefully, or cancel chosen Steps.
When a caller waits for the Flow instead, see Responsive Update.