Skip to main content
A workflow is a BaseSubFolder plus a dual graph. These keys appear on GET /workflows/ and on create/update bodies. Omit analytics, executionCount, lastExecution, and customer-identifying notes when you author a graph.

What create overwrites

POST /workflows/{workflowId}?folderId= spreads your body, then forces:
data stays as you sent it when present; otherwise {}. You can send parsedData, trigger, triggerType, variables, settings, associatedToBusinessId, associatedToPlatformId, and platformType on create (the duplicate-workflow path does this). The workflow still starts inactive.

Minimal create body

Fill trigger, data, and parsedData using Canvas vs execution before you activate.

Platform binding

The board picker stores associatedToBusinessId = selectablePlatform.id and platformType = selectablePlatform.type. An AI must do the same: fetch, ask if ambiguous, write the ids.

WhatsApp (documented API)

  1. GET https://business.pingmee.co.il/phone-numbersGet phone numbers.
  2. Response body is { "phoneNumbers": [ … ] }. Each row includes:
    • idthis is associatedToBusinessId (Meta phone-number id, not the display digits).
    • display_phone_number / verified_name — show these to the user.
    • typewhatsapp or greenAPI; copy into platformType (greenAPI workflows still use WhatsApp-shaped message nodes).
    • associatedBusinessId — WABA id. Do not put this in associatedToBusinessId.
  3. If the array is empty, stop and tell the user to connect a WhatsApp number in Pingmee. If it has more than one row, ask which number this workflow should send from. Do not guess.
  4. If this is a starter / outbound bot (or the user named a catalog template), GET templates uses phoneNumberId=<that id>. Fetch templates only after the phone is chosen. Skip GET /templates for inbound reply bots (pingmeeTrigger) unless the user asked for a named template.
associatedToPlatformId is the same phone-number id when you set it. The GUI often omits it; associatedToBusinessId is enough.

Facebook / Instagram / web

There is no public “list pages / list Instagram accounts” endpoint in this API. GET /phone-numbers is WhatsApp (and Green-API) only. For Messenger / Instagram, only set associatedToBusinessId to a page id the user already gave you. Do not invent a page id.

Graph vs metadata PUT

A graph PUT also writes trigger, triggerType, and variables from the body.
Last modified on September 4, 2026