> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/topicos/geral/sac-360/sac-360o-automacoes/automacao-de-sac-360-condicao-o-autor-da-ultima-mensagem-e.md).

# Automação de SAC 360° - Condição "O autor da última mensagem é"

<figure><img src="/files/DjjxchQSSeeW2IVl8ZES" alt="" width="313"><figcaption></figcaption></figure>

Para criar sua automação siga o passo a passo abaixo:

Ao abrir seu Sac 360°, clique no ícone de Automações;

<figure><img src="/files/rnLKQiqbiekoWA6odNOR" alt=""><figcaption></figcaption></figure>

Em seguida clique em '**Nova automação**';

<figure><img src="/files/NRdQa2fLHLbXVlZjldML" alt=""><figcaption></figcaption></figure>

Configure sua automação; Defina um **título,** e a **condição** que no exemplo será "O autor da última mensagem é..."

<figure><img src="/files/Q2sIJTtsOK2f4oCbETGW" alt=""><figcaption></figcaption></figure>

Em seguida, é necessário definir se o autor da última mensagem, que será a **condição** para a automação, será o **lead** ou um **atendente (incluindo automações).**

<figure><img src="/files/70mOGJ6aQAnwbjVUygux" alt=""><figcaption></figcaption></figure>

Especifique a **ação** a ser executada ao ser atendida a condição estabelecida.\
\&#xNAN;*Voce pode escolher mais de uma ação por vez.*&#x20;

* Vamos usar como *exemplo* a condição de **Iniciar um chatbot**. Isso significa que você pode desenvolver um chatbot de feedback de satisfação e configurar a automação para quando a *última mensagem for enviada pelo lead*.

<figure><img src="/files/HOQkf2Pk7Ffec0XmvjpA" alt=""><figcaption></figcaption></figure>

Selecione o Chatbot desejado;

<figure><img src="/files/G9qKKCnBkXOnW8cTZ7tc" alt=""><figcaption></figcaption></figure>

Configure sua automação; \
\
**Defina a recorrência**: Se essa automação deve ser executada múltiplas vezes enquanto o atendimento atender as condições, configure a frequência desejada abaixo.

"**Limitar para os canais**'": A automação será iniciada somente quando o atendimento for de um dos canais selecionados. Deixe vazio para qualquer canal.

**"Limitar para as contas"** : A automação será iniciada somente quando o atendimento for em uma das contas selecionadas. Deixe vazio para qualquer conta.

"**Limitar para o status**": A automação somente quando o atendimento estiver com um dos status selecionados. Deixe vazio para qualquer status.

<figure><img src="/files/230myT0odlZBCvVN7wGw" alt=""><figcaption></figcaption></figure>

Em seguida clique em '**Salvar automação**';


---

# 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.sprinthub.com/topicos/geral/sac-360/sac-360o-automacoes/automacao-de-sac-360-condicao-o-autor-da-ultima-mensagem-e.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.
