hermosodocs

manage_whatsapp_flow

WhatsApp forms (Flows) destructive

Area: WHATSAPP BUSINESS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

WhatsApp Flows: forms people fill in without leaving the chat (sign-up, booking, lead capture, survey). action "list" or "get" (with a preview link). "create" makes a DRAFT from name, categories (SIGN_UP, SIGN_IN, APPOINTMENT_BOOKING, LEAD_GENERATION, CONTACT_US, CUSTOMER_SUPPORT, SURVEY, OTHER) and flowJson (Meta's Flow JSON, ≤10 MB), or cloneFlowId. "update" changes a DRAFT (name, categories, flowJson, endpointUri). Meta's validation errors come back verbatim. "publish" is FINAL (a published form cannot be changed or deleted, only deprecated), "deprecate" stops it being sent, "delete" removes a draft: these three need confirm:true after a first call without it. "versions" (flowId): Hermoso's record of a form's copies and changes (Meta keeps no history). "encryption_key" / "set_encryption_key" (phoneNumberId, publicKey: your 2048-bit RSA PUBLIC key in PEM, confirm:true): what a form that calls your own server (data_exchange) needs before it can be published. Send a form with send_whatsapp_message interactive { type: "flow", flowId, flowCta } (mode "draft" to test); answers arrive in read_whatsapp_inbox. 0 credits.

Parameters

ParameterTypeDescription
action"list" | "get" | "create" | "update" | "publish" | "deprecate" | "delete" | "versions" | "encryption_key" | "set_encryption_key"list (default)
phoneNumberIdstringencryption_key / set_encryption_key: the number
publicKeystringset_encryption_key: PEM public key, never the private key
wabaIdstringoptional when exactly one account is shared with this profile
flowIdstring
namestring
categoriesstring[]
flowJsonobject | stringthe Flow JSON object ({ version, screens: [...] }) or that JSON as a string
cloneFlowIdstringcreate: start as a copy of this form
endpointUristringonly for a form that calls your own server (data_exchange)
confirmbooleantrue to publish, deprecate or delete, after the user said yes

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_whatsapp_flow.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_whatsapp_flow","arguments":{}}}

CLI

hermoso call manage_whatsapp_flow --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json