Add an action step
Declare a terminalaction step with:
- A static directive, or the Slack directive source.
- An approval setting:
approval: falsefor deliberate auto-execution.approval: truefor the built-in approval.- An approval-policy ID, to use a configured policy.
The action lifecycle
1
Plan
AgentFlow builds a concrete execution plan from the directive and earlier outputs.
2
Freeze
The exact plan and its input context are frozen.
3
Approve, when required
The frozen plan goes through the configured email or Slack policy.
4
Execute
The frozen plan runs after approval, or immediately when approval is off.
5
Audit
The plan, decisions, changes, result and audit events are kept.
Approval policies
Set approval policies in the project’s Settings under Action policies. Policies support:- Email or Slack approvers
- Reminders and escalation levels
- An exhaust behavior, such as rejection or expiration