Workflows

Manually start a workflow run

Changed on

Kick off a run without waiting for an inbound message (useful for testing). Target an existing conversation by conversationId, or (WhatsApp only) a phone number via to (a conversation is found or created). text seeds the run's lastMessage variable. The graph must be runnable.

post/v1/workflows/{workflowId}/executions

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/workflows/{workflowId}/executions
  • Auth: HTTP bearer

Path parameters

workflowIdstring required

Request body

tostring

Recipient phone (WhatsApp only)

conversationIdstring

An existing conversation to run in (required for non-WhatsApp workflows)

textstring

Simulated inbound text, seeded as the run's lastMessage variable

Response

Run started

successboolean

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status