İçeriğe geç

WhatsApp Flows

Forms that open inside the chat: creating, previewing, publishing and reading responses.

WhatsApp Flows are forms that open inside the chat: customers fill in one or more screens to book an appointment, sign up, answer a survey or give order details, without leaving WhatsApp. You create the Flow in Broadycast, try it in Meta’s preview and publish it. You send a published Flow with a button in a template or a chat message, and customers’ answers arrive in the inbox as a form.

Before you start

  • You need a connected WhatsApp number; see Connect your WhatsApp number.
  • Workspace admins and organization admins manage Flows.
  • The form is written in Meta’s Flow JSON format. Broadycast gives you a working starter form; more complex forms need some JSON knowledge. Reference: Flow JSON.

Creating a Flow

  1. On Settings › WhatsApp › Flows (forms), select Create Flow. The New Flow form opens.
  2. Enter a Name for the Flow.
  3. Tick one or more Category options: Sign up, Sign in, Appointment, Lead generation, Contact us, Support, Survey or Other. The category tells Meta what the form is for.
  4. Under Start from, choose Starter form or a copy of an existing Flow. The starter form is a single screen that asks for a name and has a submit button. Its texts are in Turkish, so change them in the JSON if your customers use another language.
  5. If screens will fetch data from your own server, enter the Data endpoint URL; leave it empty for simple forms.
  6. Select Create. The Flow is created at Meta as a draft and its page opens.

Editing and validating

A Flow’s page has the Flow JSON editor on the left and the Status and Details cards on the right.

  1. Edit the form in Flow JSON: add screens, change fields and text. If the JSON is broken, an “Invalid JSON” warning appears below it.
  2. Select Save and validate. Meta checks the JSON.
  3. If there are errors, the Validation errors card lists each one with its line number. Fix them and save again.
  4. Select Open Meta preview on the right to open the form in Meta’s preview and try it as a customer would.

On the Details card you can change the Flow’s Name, Category and Data endpoint, then select Save. The Status card shows the Flow ID, the JSON version and whether Meta lets you send it (Can send).

Data endpoint

Some Flows fetch data from a server between screens, for example to show available appointment slots. Meta sends these requests encrypted and expects an encrypted answer. Broadycast’s data endpoint handles the encryption for you: it decrypts the request, forwards it to your own server as signed JSON and encrypts your answer back to Meta.

  1. On Flows, in the Data endpoint card, enter your own server address starting with https in Address to forward requests to.
  2. Click Set up endpoint. Broadycast uploads the encryption key to the number; the card shows Uploaded to the number for Encryption key.
  3. When creating a Flow, or in a Flow’s Details card, click Use Broadycast endpoint. Broadycast’s address fills the Data endpoint field; then click Save.
  • Every request to your server carries an HMAC-SHA256 signature of the body, made with the Signing secret, in the X-Broadycast-Signature header. See and copy the secret with Show signing secret in the card.
  • Your answer must be the JSON the Flow expects and must arrive within 8 seconds.
  • The card shows the times of the Last request and Last error; check them first when troubleshooting.
  • Rotate encryption key uploads a new key to the number; Meta switches to it within a few minutes. After Rotate signing secret, update the signature check on your server with the new secret.

Publishing

A draft Flow can’t be sent to customers. Once there are no validation errors, select Publish on the Status card and confirm. The status changes to PUBLISHED.

Sending a Flow

  • With a template: add a Form (Flow) button to the template; see Template with a Flow button. Use this for people whose reply window is closed, and in broadcasts.
  • From a conversation: in an open conversation, choose Form (Flow) from the Message type menu, pick the Flow and optionally its first screen, then send; see Sending messages and the 24-hour window.

When the customer submits the form, you see their answers in the conversation as a Form response.

Changing and retiring a Flow

  • To change a published Flow, select Create Flow and choose a copy of it under Start from, then edit and publish the copy. Deprecate the old Flow afterwards.
  • Deprecate stops a published Flow from being sent in new messages. Forms customers have already opened keep working.
  • Delete draft only appears on draft Flows and deletes the Flow entirely.

The Flows list shows each Flow’s categories, its status at Meta (such as DRAFT, PUBLISHED or DEPRECATED) and the number of errors, if any.

Common issues

Frequently asked

The Flow has validation errors. Fix the errors on the Validation errors card and select Save and validate.
Only published Flows can be sent from a conversation. Publish the Flow first.
Meta may have restricted sending for this Flow. If it uses a data endpoint, make sure your server is up and answers Meta’s requests in time.
The data endpoint is your own server that answers Meta’s encrypted requests between Flow screens (for example, to fetch available appointment times). Broadycast’s data endpoint takes care of the encryption; your server only answers a signed JSON request. See the Data endpoint section above.

Didn’t find what you need?

Write to us; we’ll look into it and update these guides if needed.

Send an email