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

# Service protocol

> Unique code a conversation gets when it moves from the AI to a person on the team.

When the AI transfers the conversation to an agent, the conversation gets a unique code, the **service protocol**. It helps the team and the customer talk about the same conversation.

> [!NOTE]
>
> The company owner and managers can see this setting. Only the owner can change it.

## When the protocol is created

* When the AI hands the conversation to a person on the team.
* When someone clicks **Take over** in a conversation, on [WhatsApp](https://docs.attocorp.com/en/atendimento/whatsapp.md) or on [Instagram](https://docs.attocorp.com/en/atendimento/instagram.md).

The code appears at the top of the conversation, next to the contact's name, with a button to copy it.

## Find the conversation by protocol

Type the code in the CRM search, in the **Search pages, conversations, contacts…** field. If the code exists in your company, the search shows the **Protocol** group with the conversation. Click it to open. Uppercase or lowercase letters both work.

## Send the protocol to the customer

The protocol is always created. You choose whether the customer also receives a message with the code.

**1. Open the settings**

Click your photo or initial, in the top right corner, and choose **Settings**. In the **Artificial intelligence** group, click **Service protocol**.

**2. Turn on sending**

Turn on the **Send the protocol to the customer** switch. The message is only sent when a new protocol is created.

**3. Write the message**

In the **Message** field, write the text. Use `{protocolo}` where the code should appear. The default text is `Seu protocolo de atendimento é {protocolo}.`

**4. Check and save**

The **Preview** shows how the message looks with a sample code. Click **Save**. The CRM confirms with **Protocol saved**.

> [card] [Open Service protocol in the CRM](https://app.attocorp.com/app/settings/protocol)
>
> Takes you straight to the screen. You need to be signed in to your account in the CRM.

> [!TIP]
>
> The message accepts up to 500 characters. The counter is below the field.

## Messages you may see

| Message | What to do |
| - | - |
| **Write the message the customer will receive.** | The field is empty. Write the text or turn off sending. |
| **Include** `{protocolo}` **where the code should appear.** | Put `{protocolo}` in the text. |
| **Use up to 500 characters.** | Shorten the message. |
| **Only the company owner can change this setting.** | You are viewing it in read-only mode. Ask the company owner. |
| **No permission to change this company's protocol.** | Your account cannot save. Ask the company owner. |
| **Could not load the protocol settings.** | Click **Try again**. |

## Frequently asked questions

> [accordion] I turned off sending. Does the protocol stop existing?
>
> No. The code is still created and appears at the top of the conversation. Turning it off only stops the customer from receiving the message.

> [accordion] I don't see Service protocol in the settings.
>
> The option only appears for the company owner and managers. See [Team](https://docs.attocorp.com/en/conta/equipe.md).

> [accordion] Does the customer get a message on every transfer?
>
> The message is only sent when a new protocol is created.

## Related pages

> [card] [AI Agent](https://docs.attocorp.com/en/ia/agente-ia.md)
>
> Set when the AI hands the conversation to a person.

> [card] [WhatsApp](https://docs.attocorp.com/en/atendimento/whatsapp.md)
>
> Take over and follow conversations.


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