# Templates

## How to use this flow template in Hablla

This flow was created to facilitate interaction with customers, but to use it correctly it is necessary to adjust some important points.

{% file src="/files/d87bb148d6479038a9f851a64381d0332851905b" %}

### 1. Replace the WhatsApp templates

In the flow there are **two spots that use WhatsApp templates (HSM)**.

* These templates need to be replaced by your company's approved templates.
* If you do not yet have approved templates, you will need to create them and submit them to Meta before replacing them.

Without this replacement, the send will not work, since WhatsApp requires that only valid templates be used in outbound messages.

### 2. Adjust the Hablla components

In addition to the templates, the flow also has **two Hablla components** where the **survey test**:

* In the **first component**, add the survey test so that it validates the response received.
* In the **second component**, configure it the same way, ensuring the flow can correctly identify and classify the response.

These adjustments are mandatory for the flow to run without errors and deliver the expected results.

### 3. Correct way to trigger

This template **must not be used in individual manual service sessions**.\
It was designed to be triggered in **bulk**, that is, through a predefined list of customers.

Thus, each contact receives the initial template, and the responses follow the flow automatically, ensuring greater efficiency in the process.

***

✅ **Summary:**

* Replace the two WhatsApp templates with approved versions.
* Configure the survey id in the two Hablla components.
* Always execute the flow by **bulk sending to customers**.

📌 **Practical tip:** Before running in production, do a test with a reduced list of contacts (only internal contacts) to confirm that the replacements and configurations are working correctly.


---

# 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.hablla.com/hablla-docs-en/hablla/cs-cx/templates.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.
