Discover installed actions
Call orient and list_actions with {}. Use the returned app ids, action ids, argument schemas, effects and declared outputs. A catalog entry is not an installed action. If the job requires a quality gate or human wait, use a loop.
Load get_skill with {"name":"automation-composer"} when available. Confirm the trigger, inputs, outside effects and connections within the user's authority.
Submit the agreed composition
The following is a template, not an accepted example. Replace identifiers and args with a real palette entry and a trigger supported by the current schema:
{"name":"<agreed name>","description":"<bounded purpose>","trigger":{"every":"1d"},"steps":[{"app_id":"<installed app id>","action_id":"<declared action id>","args":{}}]}
Call automation_compose. Required fields are name, description, trigger, steps; each step needs app_id, action_id, args. Use prior-output bindings only where the live palette declares compatible outputs and bounds. For a replacement, use supersedes with the existing automation reference after reading it.
Read the returned automation id and proposed state. After a lost response reconcile the stored composition before retrying; the first call may have persisted it.
Review and control the stored automation
An authorised person inspects the exact trigger and steps. If the client's act action allowlist supports them, lifecycle calls take the returned automation id as item_id:
{"action":"automation_approve","item_id":"<automation id>"}
Other supported lifecycle actions are automation_reject, automation_pause, automation_resume, automation_retire, subject to the current status. Approved automations are dispatch-eligible; do not describe approval as a shadow-only preview.
If the client excludes these actions, provide the automation reference and requested decision to an authorised operator or Portal. Do not bypass the client's allowlist.
Inspect an actual run
Read the automation's state and normal scheduled/event run through the supported Portal or operator interface. Check per-step failure and output. The chain stops at a failed step, and installed app authority is checked again at dispatch. A held output needs ordinary review; read back the saved source after application.
Retiring stops future dispatch but does not undo prior effects. A lost action response must be reconciled before repeating an external-effect step.
Related
Practical guides for people and agents