Triggers & Execution

How to trigger Wire Flow workflows — manually from the editor, via REST API or webhook, via MQTT, or by uploading a file.

Workflows can be started in four ways.

Manual (from the Editor)

  1. Open a deployed workflow.

  2. Click the green play button on the bottom left of the canvas.

  3. Enter a JSON, XML, or file input payload.

  4. Click Execute.

circle-info

Your input is saved automatically for repeat testing.

Webhook / REST API

Any system can trigger a workflow via HTTP POST:

Requires a valid Bearer token (the same session token used by the Wire Flow app):

The request body becomes the workflow input (max 256 KB). The invoke URL is shown in the editor toolbar and in the Start Trigger properties panel.

MQTT Trigger

Publish a message to an IoT Core topic to trigger a workflow automatically:

Example: stage_wire_flow/bottling/order-processor

The full topic for your workflow is shown in the Start Trigger properties panel.

To publish a message, use an MQTT client (e.g., MQTT Explorer) with the certificates downloaded from TilliT. Connect to the TilliT IoT endpoint and publish to the topic shown in the Start Trigger properties panel.

circle-info

Failed MQTT triggers are queued for review. Common reasons: workflow not deployed, invalid workflow ID.

File Upload Trigger

For workflows that process files (CSV, Excel, XML):

  1. Drag a File Trigger node onto the canvas (blue upload icon).

  2. Click the upload arrow on the node, or click Upload & Execute in the Properties Panel.

  3. Select a file (.csv, .xlsx, .xls, .xml, .json).

  4. The workflow auto-deploys, the file is uploaded, and execution starts.

The workflow receives a file reference object as its input:

This is the expected input format for the CSV Parser, Excel Parser, and XML Parser tasks.

circle-exclamation

Last updated