# Hermoso: manage_whatsapp_flow · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/manage_whatsapp_flow/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / manage_whatsapp_flow

# `manage_whatsapp_flow`

WhatsApp forms (Flows) destructive

Area: WHATSAPP BUSINESS · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`action` `"list" | "get" | "create" | "update" | "publish" | "deprecate" | "delete" | "versions" | "encryption_key" | "set_encryption_key"` list (default)

`phoneNumberId` `string` encryption_key / set_encryption_key: the number

`publicKey` `string` set_encryption_key: PEM public key, never the private key

`wabaId` `string` optional when exactly one account is shared with this profile

`flowId` `string`

`name` `string`

`categories` `string[]`

`flowJson` `object | string` the Flow JSON object ({ version, screens: [...] }) or that JSON as a string

`cloneFlowId` `string` create: start as a copy of this form

`endpointUri` `string` only for a form that calls your own server (data_exchange)

`confirm` `boolean` true 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](https://hermoso.ai/docs/credits/).

## Related tools

- [send_whatsapp_message](https://hermoso.ai/docs/reference/publish/send_whatsapp_message/) Send a WhatsApp message
- [read_whatsapp_inbox](https://hermoso.ai/docs/reference/publish/read_whatsapp_inbox/) Read and answer WhatsApp messages
- [manage_whatsapp_number](https://hermoso.ai/docs/reference/publish/manage_whatsapp_number/) WhatsApp number settings, blocklist and groups
- [manage_whatsapp_calling](https://hermoso.ai/docs/reference/publish/manage_whatsapp_calling/) WhatsApp calls
- [send_whatsapp_broadcast](https://hermoso.ai/docs/reference/publish/send_whatsapp_broadcast/) Broadcast a WhatsApp template to many people
- [manage_whatsapp_account](https://hermoso.ai/docs/reference/publish/manage_whatsapp_account/) WhatsApp account: notices, costs, catalog, ad conversions
- [delete_whatsapp_template](https://hermoso.ai/docs/reference/publish/delete_whatsapp_template/) Delete a WhatsApp message template
- [create_whatsapp_template](https://hermoso.ai/docs/reference/publish/create_whatsapp_template/) Create a WhatsApp message template
- [list_whatsapp_templates](https://hermoso.ai/docs/reference/publish/list_whatsapp_templates/) WhatsApp message templates
- [list_whatsapp_accounts](https://hermoso.ai/docs/reference/publish/list_whatsapp_accounts/) WhatsApp Business accounts and numbers

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
