Emits a named event that can trigger other workflows configured with an Event Trigger node. Use Emit Event to create event-driven pipelines where one workflow hands off work to another, enabling modular, loosely-coupled workflow architectures.
emit_eventEmit Event implements a publish-subscribe pattern entirely within Flusso. When this node runs, it publishes a named event to Flusso's internal event bus. Any workflow whose trigger is an Event Trigger listening for the same event name is started automatically, receiving the payload you define.
This allows you to decouple workflows from each other. The emitting workflow does not need to know how many listeners exist โ you can add or remove listening workflows at any time without touching the emitter. All matching listeners run in parallel when the event fires.
| Field | Status | Description |
|---|---|---|
| Event Name | Required | The name of the event to emit, e.g. order.completed or user.registered. This must match the Event Name configured on the receiving workflow's Event Trigger node. Supports {{ variable }} references. |
| Payload | Optional | A JSON object to pass as data to the triggered workflow. The receiving workflow can access this data via its trigger output. Supports {{ variable }} references. |
| Wait for Completion | Optional | Toggle. When off (default), the event is emitted and the current step completes immediately without waiting for triggered workflows to finish. When on, the step waits for all triggered workflow runs to complete before continuing. |
After the event is emitted, the following fields are available on the step output:
| Field | Type | Description |
|---|---|---|
event_name | string | The name of the event that was emitted. |
triggered_runs | array | IDs of the workflow runs that were started by this event. |
triggered_count | number | Number of workflow runs triggered. |
order.completed and
Payload to:
order.completed. It sends a confirmation email using
{{ trigger.output.payload.customer_email }}.
order.completed and
sends a Slack notification to the sales team. Both Workflow B and C are started
simultaneously when Workflow A emits the event.
order.completed and Order.Completed are different events. Use a consistent naming convention such as noun.verb across your workflows.triggered_count will be 0.