Skip to content

Trigger Action Flow - trigger_action_flow

Mode: Custom only · Category: Other

Connects the asset to an Action Flow. Each instance requires a unique_id. The asset creator defines which Action Flow to call and what inputs it expects.

Minimal — no inputs

- id: trigger_action_flow  
  unique_id: run_cleanup  
  flow_key: my-package.cleanup-scenario  
  flow_display_name: Run Data Cleanup

With input schema — LLM fills the inputs

- id: trigger_action_flow  
  unique_id: send_email  
  description: Sends an email to a recipient given an email address and body.  
  flow_key: my-package.email-scenario  
  flow_display_name: Send Email Flow  
  disable_confirm: false  
  flow_input_schema:  
    type: object  
    required:  
      - email  
      - body  
    properties:  
      email:  
        type: string  
        description: Email address to send to.  
        display_name: Email Address  
      body:  
        type: string  
        description: The body of the email.  
        display_name: Email Body

Multiple Action Flows in one Process Copilot

- id: trigger_action_flow  
  unique_id: send_email  
  flow_key: my-package.email-scenario  
  flow_display_name: Send Email  
  flow_input_schema:  
    type: object  
    required: [email, body]  
    properties:  
      email:  
        type: string  
        description: Recipient email address.  
      body:  
        type: string  
        description: Email body text.

- id: trigger_action_flow  
  unique_id: create_ticket  
  flow_key: my-package.ticket-scenario  
  flow_display_name: Create Support Ticket  
  disable_confirm: true  
  flow_input_schema:  
    type: object  
    required: [title, priority]  
    properties:  
      title:  
        type: string  
        description: Ticket title.  
      priority:  
        type: string  
        description: Priority level (low, medium, high).

Config fields

mcp-tools-add-trigger-af.png
FieldTypeDescription
unique_idstringRequired — Unique identifier for this Action Flow instance.
flow_display_namestringRequired — Name shown to the user in the confirmation card.
flow_keystringAction Flow key (in package.scenario format).
flow_input_schemaobjectJSON schema defining inputs. Each property becomes an LLM argument.
disable_confirmboolSkip user confirmation before execution (default: requires confirmation).
flow_node_idstringDeprecated — Legacy webhook node ID.
flow_hook_idstringDeprecated — Legacy webhook hook ID.