> For the complete documentation index, see [llms.txt](https://gallabox.gitbook.io/gallabox-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gallabox.gitbook.io/gallabox-docs/whatsapp-flows/create-whatsapp-forms/create-whatsapp-forms-using-json.md).

# Create WhatsApp Forms using JSON

Flows Builder: Simplify Flow management for developers. Edit Flow JSON with syntax highlighting, code formatting, and autocomplete. Access it via WhatsApp Manager.

### 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="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FgcGRnZyLegFw2HX4JFmj%2FWhatsAppFlows-Gallabox.gif?alt=media&amp;token=5c667d68-fffb-493f-b92c-0fc1a38543bc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="broken://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="broken://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="broken://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="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FvU4nSsGopqTTrAytpAbC%2FSync%20button%20in%20Gallabox.png?alt=media&amp;token=45a3f038-184a-419d-8ca8-23f745e1c0ae" alt="" data-size="line">as shown in the GIF below.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FzMsQLTWdZVvidlgiHnj1%2FWhatsApp%20Flows-Sync.gif?alt=media&amp;token=d4ed695a-3008-4940-ae17-890f713f8575" 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](/gallabox-docs/whatsapp-flows/sending-a-whatsapp-form/send-whatsapp-form-in-a-message-template.md#add-flow-to-whatsapp-template) in Gallabox.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gallabox.gitbook.io/gallabox-docs/whatsapp-flows/create-whatsapp-forms/create-whatsapp-forms-using-json.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
