Reusability
YAML Anchors & Aliases
nodes:
- api_call_1:
type: api
integration: API1
method: method1
exits:
success:
next: next1
failure:
next: api_failure # Route to shared error node
- api_call_2:
type: api
integration: API2
method: method2
exits:
success:
next: next2
failure:
next: api_failure # Same error node
# Shared error handling node
- api_failure:
type: say
message: I couldn't reach our systems. Let me connect you with someone.
next: transfer_agent Node Inheritance (Standard YAML Feature)
Components
Last updated
Was this helpful?