name: agently-triggerflow-orchestration description: Event-driven TriggerFlow orchestration patterns and branching.
Agently TriggerFlow Orchestration Skill
Use this skill for event-driven orchestration, branching, and runtime_data/collect flows.
Key Patterns
- Define named chunks, then connect with
to()/when()/collect(). - Use
runtime_datafor per-execution state. - Use
batch()orfor_each()for fan-out work.
Pitfalls to Avoid (Lessons from NexusTodo)
- Prefer a simple ReAct loop if only sequential tool calls are needed.
- Use TriggerFlow when you truly need branching or event-driven orchestration.
References
examples/standard_trigger_flow_usage.pyexamples/triggerflow_emit_when_collect.pyexamples/triggerflow_runtime_data_collect.pyexamples/plan_execute_basic.pyexamples/iterative_refinement_loop.py
Examples
See examples/run.sh for runnable commands.