Trigger
This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run
pnpm generate-formations-resource-docsto regenerate.
Binds a starter (manual, webhook, or schedule) to an executable target (orchestration, agent, or tool). Firings run under the project owner's confined run-as identity.
Syntax
type: trigger
properties:
name: String
description: String
type: String
target_type: String
target_id: String
action: String
input: Object
cron: String
active: Boolean
policy_id: String
Output
The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:
some_field:
ref: MyTrigger
Properties
name
Trigger display name (unique within the project)
Required: Yes Type: String
description
Optional description
Required: No Type: String Nullable: Yes
type
Starter type. Immutable after creation
Required: Yes Type: String
target_type
The kind of resource this trigger activates
Required: Yes Type: String
target_id
Public ID of the target resource. Use { "ref": "LogicalId" } to reference an orchestration, agent, or tool defined in the template.
Required: Yes Type: String
action
Tool targets only — the action for soat/mcp tools
Required: No Type: String Nullable: Yes
input
Static input shallow-merged under each firing's runtime input
Required: No Type: Object Nullable: Yes
cron
5-field cron expression (UTC). Required when type is schedule
Required: No Type: String Nullable: Yes
active
Whether the trigger fires (default true)
Required: No Type: Boolean
policy_id
Optional boundary policy that further confines the run-as identity
Required: No Type: String Nullable: Yes