# Create reply to open conversation WhatsApp Flows Template

WhatsApp Flows template allows you to send a message in an open conversation with a customer, where the customer can click a  button that will open a WhatsApp flow so a customer can complete a form.

## Prerequisites

{% hint style="info" %}
Before creating a WhatsApp Flows template a published WhatsApp flow needs to be created in the WhatsApp business manager
{% endhint %}

1. To create a WhatsApp Flow see [Create a WhatsApp Flow](/applications/channels/channels/supported-channels/whatsapp/how-to/create-a-whatsapp-flow.md)
2. Once you have published your WhatsApp Flow take a note of the flow id

## How to create an reply to open conversation WhatsApp Flows template

### Step one: Set up up your message project

1. Go to **Content** > **Message templates**.
2. Click **Create message template**.
3. Under 'Platform', select **WhatsApp**.
4. Under 'Interaction', select **Reply to open conversation**.
5. Under 'Message type', select **Flow**.
6. Give your message project a recognizable name.
7. Use the 'Default locale' dropdown to select the default language for your template.
8. Click **Create project**.

### Step two: Design and publish your template

#### Configure the header

* **Text**: Enter the desired text. Example: "Welcome to the WhatsApp Store!"\
  OR
* **Image, Video, or None**: Select if you prefer a media file or no header.

#### Set up the body text

* **Enter the Body Text** in the designated field. This text will be the main content of your message.
  * Example: "Hi there! We'd love to hear your feedback on your recent purchase. Please take a moment to complete this quick survey."

#### Add footer text

* **Enter the Footer Text** in the footer section. This is optional but can be useful for additional information.
  * Example: "Your opinion matters to us."

#### Define the flow action

1. The flow action defines what flow will be presented when the user clicks on the flow action button
2. Fill in the following fields
   * **Flow ID**: The unique identifier for the flow created earlier.
   * **Flow Button Label**: Text that will appear on the action button. Example: "Give feedback"
   * **Flow Token**: This can be set as a variable to provide a unique tracking id to each flow run.
   * **Flow Action**: Choose between "Data Exchange" or "Navigate" depending on the required action. When selecting "Data Exchange"
     * Ensure you have set up an endpoint for your WhatsApp Flow. See how to setup a [WhatsApp flow endpoint trigger](/applications/automation/flows/concepts/triggers/whatsapp-flow-endpoint-trigger.md)
   * When selecting "Navigate"
     * **Flow Starting Screen**: Define the starting screen for the flow. Example: "SURVEY"
     * **Flow Payload (JSON)**: Add any additional data in JSON format. If you are providing no starting data just enter `{}`

       Example:

       ```json
       {
         "name": "John Smith"
       }
       ```

#### Publish the template

You can now publish the template


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/applications/content/message-templates/how-to/whatsapp-message-templates/create-reply-to-open-conversation-whatsapp-flows-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
