create_escalation_path
Create an escalation path with its first revision and activate it (unless activate is false). A path says who reviews a request the pipeline hands to a person: level nodes page targets (user targets by membership id, team targets by team id) and wait escalate_after before the next level; if_else nodes branch on urgency, working hours or the request itself; defer nodes hold the request until working hours. Call read_reference (escalation_paths) first. The key is permanent: pipelines name it, and it stays taken even after archiving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name people see, for example Payments review. | |
| nodes | Yes | The path's nodes in order: level nodes name targets and how long to wait (escalate_after) before the next level, if_else nodes branch on conditions, defer nodes wait for working hours. Every node needs a UUID id. See read_reference topic escalation_paths. | |
| repeat | No | What to do when every level has been paged and nobody answered: {times: 1..9, after: '15m'} walks the levels again. | |
| activate | No | Activate the new revision right away. Defaults to true. A path with no active revision cannot be named by an active pipeline. | |
| path_key | Yes | Stable key, lowercase letters, digits, dots, underscores or dashes (for example payments-review). It names the path from pipeline blocks and is never reused, even after archiving. | |
| working_hours | No | Named working-hours sets that defer nodes and working_hours conditions refer to by id: {id, timezone (IANA), intervals: [{weekdays: [mon, ...], start: '09:00', end: '17:30'}]}. |