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
trigger, data, and parsedData using Canvas vs execution before you activate.
Platform binding
The board picker storesassociatedToBusinessId = selectablePlatform.id and platformType = selectablePlatform.type. An AI must do the same: fetch, ask if ambiguous, write the ids.
WhatsApp (documented API)
GET https://business.pingmee.co.il/phone-numbers— Get phone numbers.- Response body is
{ "phoneNumbers": [ … ] }. Each row includes:id— this isassociatedToBusinessId(Meta phone-number id, not the display digits).display_phone_number/verified_name— show these to the user.type—whatsapporgreenAPI; copy intoplatformType(greenAPIworkflows still use WhatsApp-shaped message nodes).associatedBusinessId— WABA id. Do not put this inassociatedToBusinessId.
- 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.
- 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/templatesfor 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.