> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.flowella.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Ask your AI assistant to run WhatsApp tasks

> Example requests for an AI assistant connected to Flowella, from checking access to drafting templates, previewing sends and installing a blueprint.

Once an AI assistant is connected to the [Flowella MCP server](https://knowledge.flowella.io/integrations/mcp.md), you ask for what you want in plain language and the assistant chooses the tools. This page shows requests that work well, what the assistant does with each one and where it stops to ask you. If you haven't connected an assistant yet, start with [Connect AI assistants to Flowella](https://knowledge.flowella.io/settings/ai-assistants.md).

## Check what the assistant can do

```text theme={null}
Which Flowella organisation are you connected to, and can you send messages?
```

The assistant calls `flowella_whoami`. It reports the organisation, the scopes you approved, whether the connection can make changes and the role of the person who approved it. Ask this first when something is refused.

## Reply to a customer

```text theme={null}
Text +44 7700 900123 that their order has shipped.
```

1. The assistant checks the 24-hour window with `flowella_get_messaging_window`.
2. If the window is open, it prepares the message with `flowella_send_message` and shows you the request. It sends only after you say yes.
3. If the window is closed, it tells you that free-form text isn't allowed and offers an approved template instead.

See [Customer service window](https://knowledge.flowella.io/whatsapp/messaging/customer-service-window.md).

## Draft and submit a template

```text theme={null}
Create a utility template called order_dispatched that tells the customer their order is on its way, with the tracking link as a button. Don't submit it yet.
```

1. The assistant checks the draft with `flowella_validate_template`. This catches problems with the name, language, variables and buttons before anything is saved.
2. It saves the draft with `flowella_create_template`. Open **Templates** in Flowella to see it.
3. When you are happy, ask the assistant to submit it. It calls `flowella_submit_template`, and Meta reviews the template.
4. Ask for the result later. The assistant checks with `flowella_get_template_approval`.

For an image, video or document header, give the assistant a public `https` link to the sample file. Flowella uploads the file to Meta when the template is submitted. See [Template review](https://knowledge.flowella.io/whatsapp/templates/template-review.md) for how Meta decides.

## Translate a template

```text theme={null}
Clone the welcome template into Portuguese for Brazil and write the body in Portuguese. Don't submit it.
```

The assistant copies the template into a new draft with `flowella_localise_template`, using a Meta language code such as `pt_BR`, and writes the translated text. Review the draft, then ask the assistant to submit it. See [Supported languages](https://knowledge.flowella.io/whatsapp/templates/supported-languages.md).

## Send a template to a list

```text theme={null}
Check whether sending order_update to these 300 customers would work, but don't send yet.
```

1. The assistant finds the number to send from with `flowella_list_channels`.
2. It runs `flowella_preview_template_send`, which sends nothing and reports any problems:
   | Code | Meaning |
   | - | - |
   | `TEMPLATE_NOT_APPROVED` | Only approved templates can be sent. |
   | `TIER_LIMIT` | The list has more people than your number's messaging limit allows in 24 hours. See [Messaging limits](https://knowledge.flowella.io/whatsapp/limits/messaging-limits.md). |
   | `US_MARKETING_RECIPIENTS` | The list includes US numbers, and Meta doesn't deliver marketing templates to them. |
   | `USAGE_LIMIT` | The send would take you past your plan's message allowance. See [Usage](https://knowledge.flowella.io/settings/usage.md). |
3. When you ask it to go ahead, it calls `flowella_send_template`. The server returns the request and the preview, and the assistant waits for your yes.
4. The send runs in the background. The assistant follows it with `flowella_wait_for_job`, and you can watch delivery on the template's **Statistics** tab.

## Start from a blueprint

> [!NOTE]
>
> **Early access.** Blueprints are ready-made WhatsApp journeys. They are in early access, and two can be installed today.

```text theme={null}
Which blueprints can you install? Show me what the web contact follow-up one creates.
```

The assistant lists blueprints with `flowella_list_blueprints` and reads one with `flowella_get_blueprint`, which shows the templates, Flows and settings it creates.

| Blueprint | What it does | What the assistant needs from you |
| - | - | - |
| Web contact follow-up | Turns a website enquiry into a qualified WhatsApp conversation. | Your business name and the WhatsApp number to use. |
| Donation campaign | Sends a video ask, collects a gift through a HubSpot form and follows up twice. | The same, plus a HubSpot form, a video link, the first message, how often to follow up, a language and a goal property. |

When you ask the assistant to install one, `flowella_install_blueprint` waits for your confirmation, then creates the blueprint's templates and Flows in the background. Other blueprints in the list are marked as coming soon and can't be installed yet.

## Manage webhooks

```text theme={null}
Subscribe our webhook to message.read and replay the last failed delivery.
```

The assistant finds the webhook with `flowella_list_webhooks`, adds the event with `flowella_update_webhook` and asks you to confirm before it replays a delivery. When it creates a webhook or rotates a signing secret, Flowella shows the secret once, so save it straight away. See [Webhooks](https://knowledge.flowella.io/settings/webhooks.md).

## Ask how Flowella works

```text theme={null}
How do fallback values work in templates? Answer from the Flowella docs.
```

The assistant searches this knowledge base with `flowella_search_docs` and reads pages with `flowella_get_doc`. These tools hold no data about your organisation. For questions about your own contacts, conversations and templates, the assistant uses the list and get tools.

## Write requests that work well

* **Say when to stop.** "Don't submit it" and "don't send yet" keep the work to drafts and previews.
* **Name things exactly.** Use the template's name, such as `order_update`, and phone numbers in international format.
* **Ask for one outcome at a time.** Check a draft or a preview before you ask for the next step.
* **Read the confirmation.** Before a send, the assistant shows the template, the number it sends from and who receives it. Check all three.

## Troubleshooting

| What you see | Cause | Fix |
| - | - | - |
| The assistant says it isn't allowed, or reports `INSUFFICIENT_SCOPE` | The connection is read-only because a Member approved it, or the scope wasn't granted. | Ask an **Owner** or **Admin** to connect the assistant again and approve write access. |
| The assistant reports `CONFIRMATION_REQUIRED` | This is the safety step before a send, a delete or a bulk change. Nothing has run yet. | Check the request it shows you, then tell it to go ahead. |
| The assistant reports `SESSION_WINDOW_CLOSED` | The contact hasn't written to you in the last 24 hours. | Send an approved template instead. |
| A tool described here is missing, or fails with a scope error after an update | The assistant still holds the access it got when you first connected it. | Remove the Flowella connector from your assistant, add it again and approve the scopes. |
| Sign-in to `https://mcp.flowella.io/mcp` fails with an API key | This server accepts your Flowella sign-in only. | Sign in through the consent screen, or use the [read-only server](https://knowledge.flowella.io/settings/ai-assistants.md#read-only-access-with-an-api-key) with an API key. |
| The assistant stopped working | Its access was revoked in **Settings**, then **AI assistants**. | Connect it again and approve it on the consent screen. |
| The assistant asks you to add a WhatsApp number in Flowella | Account set-up can't be done through the assistant. | Connect the number in the app. See [Setup sequence](https://knowledge.flowella.io/whatsapp/accounts/setup-sequence.md). |

## Related

> [card] [MCP server overview](https://knowledge.flowella.io/integrations/mcp.md)
>
> What the server is and how you stay in control.

> [card] [Tools](https://knowledge.flowella.io/integrations/mcp/tools.md)
>
> Every tool by area, the scope it needs and whether it asks first.

> [card] [Connect AI assistants](https://knowledge.flowella.io/settings/ai-assistants.md)
>
> Set-up steps, the consent screen and revoking access.

> [card] [Templates](https://knowledge.flowella.io/app/templates.md)
>
> Review the drafts your assistant creates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.