Before you begin
- Have an active WhatsApp connection, a second number for testing, and the agents already registered under Usuários.
- Use a role that can list, create, and edit departments. Linking a connection also requires permission to list and edit connections. See role permissions.
- To match the example, start with Vendas (Sales) already linked to the Doce Pote connection. Review any active Flow first. A flow can guide the conversation in place of the default department menu.
Open the department list
Under Automação e IA, open Departamentos. Use Buscar departamento to find a department. The list shows each department’s name, color, greeting, team, and linked connections. The top of the page displays the business-hours mode and, where your plan has a limit, your department count. Novo departamento is disabled at the limit. The help icon explains how the connection chatbot uses departments.
Department list with team and connection information.
Create the Orders department
- Select Novo departamento. Under Geral, open Identidade.
- Enter Encomendas in Nome. Pick an available Cor or use Personalizar. A lock indicates a color already used by another department.
- Review Onde aparece to see how the department will look in the conversation list, in Kanban, and in the chatbot menu.
- Under Mensagens ao cliente, enter Saudação do departamento. To greet contacts by their first name, select Inserir variável → Primeiro nome.
- Review the sample in Prévia para o cliente and select Criar departamento.

Department name, color, greeting, and customer preview.
Add agents
- Open Encomendas → Equipe and select Adicionar atendentes.
- Search for and select the people who handle the queue. In the example, they are Ana Costa and Bruno Dias.
- Select Confirmar, then Salvar alterações.

The Orders team with the two agents in the example.
Link Orders to the connection
The connection chatbot presents the menu. The connection greeting introduces it. The department greeting is sent after the customer selects a queue or is routed to the only department on the connection.- In Encomendas, open Conexões.
- Find Doce Pote and enable the switch to offer Encomendas.
- If Saudação da conexão appears, enter the message, check O cliente vai ver, and select Ligar conexão. This dialog appears if the connection will have two or more departments and has no greeting yet.
- Check the confirmation and the position of Encomendas in the preview. If the connection already has a greeting, the switch saves the link directly.

The connection greeting dialog that introduces the department menu.
Test the customer journey
- Start a new test conversation from the second number and send Doce Pote a message asking to order a cake.
- Check the connection greeting and both menu options. Select Encomendas using the displayed number or interactive option. The video uses option 2.
- Check that WhatsApp receives the Orders greeting. With the first-name variable and a contact named Marina Lopes, the reply begins with “Hi, Marina!”
- Sign in as an assigned agent, open Atendimentos → Aguardando, and check the Encomendas tag before accepting the conversation.

Test conversation after selecting Orders.
Configure the connection chatbot
Open Conexões → Doce Pote → Chatbot e filas.- Under Filas, check that Vendas and Encomendas are selected.
- Use Quantidade máxima de envios to set how many times the chatbot can send the menu. Test a finite limit by entering a positive value and sending invalid replies until it is reached.
- Under Fila após atingir o limite, choose a fallback queue. When Nenhuma is selected, the menu stops responding after the limit.
- Under Tipo de Chatbot, Texto sends a numbered menu and Interativo can use buttons or a list, depending on the channel and number of options.

Menu limits, fallback queue, and routing options.
Set business hours for Orders
- Open Configurações → Expediente → Horário de expediente and choose Por Fila/Setor. Check the company time zone.
- Return to Departamentos → Encomendas → Expediente and select Definir horários. The initial schedule is Monday through Friday, 08:00 to 18:00.
- Adjust working days, start and end times, and any break. Enter both break times within working hours. Use Copiar para os dias úteis to copy a daily schedule to the other weekdays.
- Under Geral, fill in Mensagem fora do expediente. Review the schedule and select Salvar alterações.

Department business hours with the company time zone and breaks.
Control access to Kanban boards
With the Kanban module active and a role that can view it, open Encomendas → Kanban. The list shows boards the team can see and the connections that automatically create cards in them. Use a role with board management permission to create or edit boards.- Select Novo quadro to create a board visible to Orders.
- For an existing board, use the pencil action Editar quem vê.
- Under Quem vê este quadro, choose Todos os departamentos or Departamentos escolhidos. Select the appropriate departments and save.

Kanban boards visible to the Orders team.
Set role permissions
Open Usuários → Cargos. Edit the role and save after checking the relevant permissions.
Queue and conversation permissions for a role.
Troubleshoot common issues
The agent cannot find the conversation
The agent cannot find the conversation
The business-hours section is missing
The business-hours section is missing
I want to delete a department or reuse its color
I want to delete a department or reuse its color
