Ziggy - Services and Product Help

Launching flows

Flows can be launched the following ways.

  • From the Flow editor by pressing the Run button

  • From an API call.

Calling from outside Ziggy with an API call

Making an API call is the most common way to launch a Flow for integrations. Some event happens in an external system that should then launch the Flow.

Make a POST request to the /ziggy/execute-external endpoint.

https://mydomain.com?flowUuid=6f8dcd90-8b89-420d-a59d-4bbb46a98f1a&isDebug=false&isStep=false&executionEnvironmentMode=DEV

Ziggy has an API endpoint that listens for flow executions.

Copy request to clipboard

Copy a Flow's execution URL to the endpoint from the Flow Settings dialog by pressing the URL button.

Launching flow

Request details

Data you want to pass to the Flow is provided in the request body. This data is placed on Receiver Block's output edge.

All other parameters are specified as query parameters, namely

Parameter

Description

flowUuid (required)

The Flow's id

executionEnvironmentMode (optional)

DEV | PROD defaults to DEV if omitted

isDebug (optional)

Set to 'true' if you want the Flow to run in debug mode.

isStep (optional)

Set to 'true' if you want the Flow to run in debug:step mode.

externalId (optional)

Extra information that helps you uniquely identify the request. Can be referenced as ```externalExecutionId``` from the Javascript Block or other Utility Block fields where tokens can be specified.

Headers

The following headers should be set.

Header name

Description

Content-Type

application/json

execution-token

The execution token, which is configured in Global Settings -> Security

Response

Ziggy returns one of the following status codes.

  • 201 - OK

  • 400 - Fatal Flow error

  • 408 - Timed out

  • 410 - Flow not found

  • 500 - Internal Ziggy error

Successful requests will return the Flow's Terminator data, if set in the Terminator, otherwise the string "OK".

Last modified: 10 February 2025