Workflows

Create a branching conversation workflow (draft) from a node/edge graph. Created in draft status; activate it to start matching inbound messages. The graph is validated structurally; completeness (a trigger node + reachable entry) is required at activation.

post/v1/workflows

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/workflows
  • Auth: HTTP bearer

Request body

profileIdstring required
accountIdstring required
platform'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok'
namestring required
descriptionstring
entryNodeIdstring

The trigger node id; derived from the single trigger node if omitted

Response

Workflow created

successboolean

Changes