# WhatsApp Conversations & Flow Builder

### What are WhatsApp Flows:

**WhatsApp Flows** are interactive forms built directly inside WhatsApp chats, allowing businesses to collect information from users quickly and smoothly. Instead of asking multiple back-and-forth questions, businesses can present a simple form where users can fill in details like name, email, preferences, or feedback all in one go. Flows make the experience faster, more organized, and user-friendly, helping businesses generate leads, take orders, book appointments, or gather customer inputs without needing users to leave the chat. They are extremely useful for improving response rates, reducing manual effort, and offering a professional and seamless customer experience.

***

### How to Setup WhatsApp Flows:

### Step 1: Navigate to WhatsApp Flows in BotPenguin

**Path:**\
**WhatsApp Bot → WhatsApp Automation → WA Flow (Forms)**

1. Open your WhatsApp Bot
2. Select whatsapp forms
3. Click **Continue** to start creating your first form

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FlYKRJJ1KsGsunOlCUpRb%2Fimage.png?alt=media&#x26;token=97fd277d-f81c-4503-adc3-277ca29e18e9" alt=""><figcaption></figcaption></figure>

### Step 2: Choose or Create a WhatsApp Flow

#### Option 1: Use an Existing Flow

1. Click on the **Choose Flow** dropdown
2. Select a previously created WhatsApp Flow

#### Option 2: Create a New WhatsApp Flow

1. Click the **Create New Flow** button shown on the screen
2. You will be redirected to **business.facebook.com**
3. This opens the **WhatsApp Flows management page**

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FOEx7frTgVY9U7g1SjwZx%2Fimage.png?alt=media&#x26;token=505da3e7-3ab6-4cb3-a3db-49ece34268a6" alt=""><figcaption></figcaption></figure>

***

### Step 3: Create the Flow on Meta (Facebook)

1. Click **Get Started**
2. Enter the required details:
   * **Flow Name**
   * **Category**
     * If unsure, select **Default**
   * **Template** (if applicable)
3. (Optional) Set an **Endpoint**
   * This defines where the submitted data is sent (e.g., external system or API)
4. Click **Create**

Your WhatsApp Flow will now be created.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FXe1vhMJaUKl88c9YjBC4%2Fimage.png?alt=media&#x26;token=a3fe4ff6-b8de-46d6-9c43-8c3d13647f0d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If unsure about the category, set as "Default" for now.
{% endhint %}

<figure><img src="https://partners.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1613146696-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZpVksvLNWoWVCzCZ4a1O%252Fuploads%252FQ2FjX7aWR47geTpxtZaX%252Ff1.png%3Falt%3Dmedia%26token%3D42e5bf4a-177e-4f16-bd2c-fbc283c465d9&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=7f83ceb0&#x26;sv=2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://partners.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1613146696-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZpVksvLNWoWVCzCZ4a1O%252Fuploads%252FVMTN58wfpiS9GpeAV829%252Ff2.png%3Falt%3Dmedia%26token%3D743c81ac-4629-4bc6-ba93-57637cab19e6&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ff380f9f&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Step 4: Design the Flow (JSON-Based)

WhatsApp Flows are built using **JSON**.

#### How to Create or Edit Flow JSON

* Replace the default JSON with your custom flow logic
* Define:
  * Input fields
  * Labels
  * Field types
  * Validation rules

#### Helpful Tool

You can design and test your flow using Meta’s official playground:\
👉 <https://developers.facebook.com/docs/whatsapp/flows/playground/>

This tool helps you:

* Build flows visually
* Validate JSON structure
* Test user experience before publishing

***

### Step 5: Publish the Flow

Once your JSON is ready:

1. Save the flow
2. Publish it on Meta
3. Ensure the flow status is **Active**

Only **published flows** can be used in BotPenguin.

***

### Step 6: Manage Flow Responses in BotPenguin

After creating the flow on Meta, return to **BotPenguin**.

#### Path

**WhatsApp Automation → WA Flow (Forms) → Manage Flow Response**

***

### Step 7: Map Flow Responses to BotPenguin Attributes

1. Enter the **User Response Variable**
   * This should match the variable name used in your flow JSON
2. Select **Save to Custom Attribute**
   * Choose an existing attribute or create a new one
3. Click **Add Another Field** to map more responses
4. Repeat for all required form fields

***

### Step 8: Save the WhatsApp Flow Form

1. Click **Save Flow Response**
2. Your WhatsApp Flow (Form) is now ready to use

You can now trigger this form inside:

* Chatbot flows
* Automations
* WhatsApp conversations

<figure><img src="https://partners.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1613146696-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FZpVksvLNWoWVCzCZ4a1O%252Fuploads%252FZKaUF5oijZFtXOrQ2RMa%252F4.png%3Falt%3Dmedia%26token%3Da4563f5f-36d3-4c24-be53-3d288ea9cdd4&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6fc189d4&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Best Practices for WhatsApp Flows

* Keep forms short and relevant
* Ask only essential questions
* Use clear field labels
* Test the flow before using it live
* Always map response variables correctly
* Avoid collecting unnecessary sensitive data

***

### Common Issues & Troubleshooting

* Flow not appearing in BotPenguin → Ensure it is **published** on Meta
* Responses not saved → Check variable names and attribute mapping
* User not able to submit form → Validate JSON and required fields

***

### FAQ's:

Here are some common FAQ's regarding WA flows:

<details>

<summary>What types of data or information do we want to collect using WhatsApp Flows?</summary>

We collect user details, service needs, order information, and feedback using WhatsApp Flows.

</details>

<details>

<summary>Can we design a WhatsApp Flow that lets a customer book a demo call without needing human intervention?</summary>

Yes, we can design a WhatsApp Flow to book demo calls automatically without human intervention. Just set your flow to direct customers to the form, and start collecting!

</details>

<details>

<summary>Is it possible to use a Flow to take a full product order, including quantity, size, and delivery address?</summary>

Yes, full product orders including quantity, size, and address can be captured through a Flow.

</details>

<details>

<summary>Where to make the Flows if I don't know any coding?</summary>

Go to "<https://developers.facebook.com/docs/whatsapp/flows/playground/>" to make the flows using interactive buttons, all without using any coding.

</details>

If everything is correct and you are still unable to move forward, write to us at  <support@botpenguin.com>. We will respond back within 48 business hours.
