Resources

This page contains a variety of resources to help you learn and build WhatsApp Flows.

Tutorials

The following blog articles are provided by the WhatsApp Flows development team and contain step-by-step tutorials for common use cases.

1. Build a Simple WhatsApp Flow

This tutorial explains how to build a simple survey using WhatsApp Flows from the Message Templates page or from Flow Builder.

2. Book Appointments with WhatsApp Flows: Creating a Node.js Back End

This tutorial explains the steps to create a Flow for an appointment booking use case in Flows Builder, and setting up an endpoint server in NodeJS for the Flow using the code example on Github & Glitch.

3. Create Surveys with WhatsApp Flows

This tutorial explains how to build a Python server that uses Flows API to create and publish a Flow, and using the server as a webhook to send the Flow and process its responses.

4. Add WhatsApp Flows to Your Chatbot Experience

This tutorial explains how to build a Python server that sends a Flow, receives the response, and uses a Llama 2 chatbot to answer user queries.

Flow JSON Templates

This page contains the Flow JSON templates that you can use when creating a Flow. You can find the full JSON code and previews on the page.

Code Examples

1. Endpoint Example for an Appointment Booking Flow (Github | Glitch)

This is an example of an endpoint server in NodeJS that works end to end with the "Book an Appointment" Flow JSON template.

2. Basic Endpoint Example (Github | Glitch)

This is a blank endpoint example in NodeJS that you can use as a starting point for any Flow.

3. Webhook Example to Send Flows (Github | Glitch)

This is an example webhook server to send a Flow message and receive its response.

Flows API Postman Collection

This is the official collection for Flows API maintained by the WhatsApp Flows team. The collection includes all the API endpoints with request & response examples.

Support

If you're stuck on something with WhatsApp Flows, start here to get help. If you have feedback for us, this is also the place for you.

Direct Support or Developer Community

You can check current developer questions here. When asking a question please use (Category: WhatsApp Business API > Product: WhatsApp Flows).

StackOverflow

You can check current questions about Flows on StackOverflow.