# Create WhatsApp Forms using JSON

### Flows Builder

Flows Builder is where developers can manage their Flows. Developers can edit the Flow JSON of their Flows inside a code editor. The editor supports: *syntax highlighting*, *code formatting*, *code folding*, and *basic autocomplete.*

You can access the Flows Builder from WhatsApp Manager:

1. Go to Flows from the left navigation in your Gallabox Account. Click on "Create New Flow". A pop-up will appear, click on "**Create flow**" and you will be redirected to your Facebook Business Manager.

<figure><img src="/files/kElJObqMfcRfAlynNAT2" alt=""><figcaption></figcaption></figure>

2. Under Account Tools in Facebook Business Manager, click on **'Flows'**.

<figure><img src="/files/UVyXfHGlTOHlTQHtbo7B" alt=""><figcaption></figcaption></figure>

3. On this page, you can see a list of the Flows in your WhatsApp Business Account. You can use the button on the top right to create a new Flow.

<figure><img src="/files/97tw5OHXfNaZuWGRrQSB" alt=""><figcaption></figcaption></figure>

4. When editing a Flow, you can use the code panel to configure the Flow JSON. Click **Run** to update the right-side preview panel with the code in the editor.

<figure><img src="/files/vgfLo7gkiBd5TyVTpgDT" alt=""><figcaption></figcaption></figure>

### Sync the Template with Gallabox

Once you have created a Flow you have to sync those with your Gallabox Account. To do so, you have to go to Flows and click on the button <img src="/files/E4YfhYrHvJ36eWwmcU0x" alt="" data-size="line">as shown in the GIF below.

<figure><img src="/files/4zqUjM0UdOj5LuNHc0aB" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you are seeing the error, it means the channel you selected doesn't have permission for WhatsApp Flows. Kindly check your deployment option or select the right channel.
{% endhint %}

Once your flows are synced in your Gallabox account, the next step is to create a [WhatsApp Template using Flow](/whatsapp-flows/sending-a-whatsapp-form/send-whatsapp-form-in-a-message-template.md#add-flow-to-whatsapp-template) in Gallabox.


---

# 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.gallabox.com/whatsapp-flows/create-whatsapp-forms/create-whatsapp-forms-using-json.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.
