Before you start
- Your WhatsApp Business account must be eligible for Flows. If it is not, Meta rejects the template.
- The Flow must already exist in WhatsApp Manager under the same WhatsApp Business account as your Gateway app. Copy its Flow ID from WhatsApp Manager → Flows.
- Publish the Flow before you send it to real customers.
The Gateway asks only for the Flow ID. You do not send the Flow name or the Flow JSON when you create the template — Meta resolves the Flow from its ID.
Create the template in the panel
Follow the normal Create Template steps. In Step 4 — Template Content:- Fill in the body and, if you need them, the header and footer.
- Click + Add Button and select Flow Trigger.
- Fill in the Flow Trigger fields:
- Click Next, review the summary, and click Create.
Navigate vs. Data Exchange
Send a Flow template
Send the template with the template message request. Add abutton component with sub_type: "flow" and the index of the Flow button.
Receive the Flow response
When the customer completes the Flow, the Gateway forwards an incoming message to your webhook. The message hastype: "interactive" and interactive.type: "nfm_reply".
The envelope is the same as every other incoming message — see Incoming Message Events.