# 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="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FgcGRnZyLegFw2HX4JFmj%2FWhatsAppFlows-Gallabox.gif?alt=media&#x26;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-reference" 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-reference" 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-reference" 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&#x26;token=45a3f038-184a-419d-8ca8-23f745e1c0ae" alt="" data-size="line">as shown in the GIF below.&#x20;

<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&#x26;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.&#x20;
{% endhint %}

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