> For the complete documentation index, see [llms.txt](https://docs.omnileads.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnileads.net/english/meta-messenger-settings/message-templates-and-time-groups.md).

# Message Templates and Time Groups

To properly configure the Meta Messenger channel, you must first have a Service Hours Group and a Message Template Group.

The service hours group defines the operational window in which OMniLeads can receive messages and route them to support agents. The template group stores a set of predefined messages that serve as "quick replies" for agents, streamlining the process.

## Creating Message Templates

To create Message Templates, go to the Resources Menu -> Message Templates and click on the "+" button.

<figure><img src="https://content.gitbook.com/content/7qGfc9c0eCArZb6QcwvW/blobs/dyk9siAi9Uc9w7gbEIWM/image.png" alt=""><figcaption></figcaption></figure>

## Creating a Template Group

To create a Template Group, go to the Resources menu -> Message Template Group and click the "+New" button. From there, you can add Message Templates and then make them available in your preferred Campaign.

<figure><img src="https://content.gitbook.com/content/7qGfc9c0eCArZb6QcwvW/blobs/VWDKG1CTsdMDHS1xvq0q/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/7qGfc9c0eCArZb6QcwvW/blobs/ZLInv47JS0JMwYMbf1J1/image.png" alt=""><figcaption></figcaption></figure>

## Creation of a Group Schedule for Meta Messenger Support

To create a Time Group, go to the Resources Menu -> Time Groups and click the "+New" button. From there, you can add Operational Time Slots to alert the user about Business Hours.

<figure><img src="https://content.gitbook.com/content/7qGfc9c0eCArZb6QcwvW/blobs/C2hBNyO4LXVnRlAcoNA2/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/7qGfc9c0eCArZb6QcwvW/blobs/pgBobfflVZYcErQ1fp9s/image.png" alt=""><figcaption></figcaption></figure>

To activate the Social Network channel in a campaign, you can follow the steps in the section on [Campañas de Meta/Facebook](broken://pages/cMke9sNBn2sFHOtOwyhJ). To see an agent in action, you can visit the section of [Mensajes de Meta/Facebook](broken://pages/WbgptH6LawreuSrD9bJd).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.omnileads.net/english/meta-messenger-settings/message-templates-and-time-groups.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
