"Conexões de IA" (AI connections)
The AI Connections screen is for connecting the company's AI providers, testing and replacing the keys, choosing the primary model and the fallback for each task and defining what happens when the models fail.
Address in the dashboard: /app/automacoes/conexoes · Who uses it: Owner, Admin
How to get there: Via the menu Automations › AI Connections. Each tab has its own address, and the Platform agents link goes straight to the Model for each task tab, already in the right group.
Header and tabs
The title, the connect button and the screen's two tabs.
Buttons and actions
- "Conectar provedor" (Connect provider)
- Opens the drawer to connect a new provider. In the header, the button appears on the "Conexões" (Connections) tab when there is already at least one connection.
- "Conexões" (Connections)
- Tab with the connected keys, the failure path and data security. The number next to it is how many connections there are.
- "Modelo de cada tarefa" (Model for each task)
- Tab with the primary model and the fallback of each group of tasks. The number beside it is the number of groups.
- The sentence at the top reminds you that the usage cost is charged by the provider, contracted directly by the company.
- The tabs move with the keyboard arrows, and Home and End go to the first and the last.
Migration notice
Appears once, for those who had own AI, and disappears after being dismissed.
Buttons and actions
- "Entendi" (Got it)
- Dismisses the notice in this browser; it does not come back.
- "Onde foi parar cada parte da tela antiga" (Where each part of the old screen went)
- Opens the list of where each part of the own AI went: models and keys, routing, what happens if the models fail and security, model health, fair use and terms.
- The notice says how many connections came over on their own, with the keys, the tests and the models.
Connections tab: each connection's card
One line per provider, address and key.
Buttons and actions
- "Testar conexão" (Test connection)
- Tests the key with the provider right away and tells you whether it answered, with the response time, or was rejected.
- "Trocar a chave" (Change the key)
- Opens the Replace the key drawer. The old key stays valid until the new one passes the test.
- "Remover" (Remove)
- Opens the confirmation to remove the connection.
- The provider's name, the nickname (if any) and the masked key: only the start and the end show.
- The status badge: "Testando…" (Testing…), "Falhou no teste" (Failed the test) or "Conectada · testada ‹quando›" (Connected · tested ‹when›).
- Available models: one badge per model of the connection.
- Used by: the tasks and agents that use the connection, or No agent uses this connection yet.
- A connection with a failure shows The key was rejected by the provider. Replace it with a new one.
- The box The key is encrypted and never shown again warns that the key does not appear again.
Connections tab: If your models fail
The order a message follows until it is answered; the lead is never left without a reply.
- Step 1, The task backup: always on; tries the backup model chosen on the Model for each task tab, another of the company's models, preferably from another provider.
- Step 2, Your team: the conversation goes to the queue with the notice that the models are down.
- There is no switch: the platform's AI does not answer in place of the company's models, and no AI usage is charged. To have a backup, connect a second provider or choose a backup model for each task.
Connections tab: Security and data
What is stored from calls to the company's models.
Fields and filters
- "Só números: tokens e tempo de resposta" (Numbers only: tokens and response time)
- Stores only the numbers of the calls, without the text.
- "O texto das chamadas, por 30 dias, para conferir respostas" (Call text, for 30 days, to review responses)
- Stores the text of the calls for 30 days so the team can check what the model answered.
Connect provider drawer
Registers a provider with the company's key. Tests before saving.
Fields and filters
- "Provedor" (Provider)required
- OpenAI, Anthropic, Google, Azure OpenAI, Amazon Bedrock or Other OpenAI-compatible.
- "Apelido (opcional)" (Nickname (optional))
- A name to recognize the connection, such as primary. With no nickname, the model name is used.
- "Endereço do serviço" (Service address)required
- Only for Azure OpenAI and Other OpenAI-compatible: the service's https address.
- "Primeiro modelo" (First model)required
- The model to use first, written the way the provider names it.
- "Chave de API" (API key)required
- The provider's key. It is encrypted and never shown again. The screen warns when the start of the key looks like it belongs to another provider, but lets you test it anyway.
Buttons and actions
- "Mostrar a chave" (Show the key)
- Shows what was typed in the key field; it becomes Hide the key.
- "Testar e salvar" (Test and save)
- Tests the key with the provider and only saves it if it passes.
- "Cancelar" (Cancel)
- Closes the drawer and erases what was typed.
- Field errors: Paste the API key., The key looks incomplete. Check that you copied all of it. and Say which model to use first.
- If the provider rejects it, the screen shows its response and asks you to check the key and the model.
Replace the key drawer
The same drawer, with just the key field.
Fields and filters
- "Chave de API" (API key)required
- The new key. If it is rejected, nothing changes and the old one stays valid.
Buttons and actions
- "Testar e salvar" (Test and save)
- Tests the new key; if it passes, it replaces the old one.
Remove the connection confirmation
Says who stops answering before removing.
Buttons and actions
- "Remover a conexão ‹provedor›" (Remove the ‹provedor› connection)
- Removes the connection and deletes the key from the platform's vault. It stays valid in the provider's account: revoke it there if you want.
- "Cancelar" (Cancel)
- Closes without removing.
- Lists the agents that use the connection and stop answering until another is chosen, or says No agent uses this connection.
- If a task still uses a model from the connection, the removal is refused and the server's sentence appears in the confirmation.
Model for each task tab: shortcuts
They fill in the selectors at once. They stay disabled for those who cannot edit.
Buttons and actions
- "Usar o mesmo modelo para todo o texto" (Use the same model for all text)
- Copies the conversation model to the light text tasks.
- "Mais econômico" (More economical)
- Picks in each group the model with the lowest input price reported on the connection.
- "Mais qualidade" (Higher quality)
- Picks in each group the model with the highest input price reported on the connection.
- Search is not changed by the shortcuts, because changing the search model reindexes the knowledge base.
Model for each task tab: groups by capability
Six cards; each one saves the route for all the tasks in the group.
Fields and filters
- "Modelo leve" (Light model)
- In the Text group, light tasks: the model for short support tasks.
- "Modelo principal" (Primary model)
- In the Text group, conversation and auditor: the model for the conversation, the check and the follow-up.
- "Modelo" (Model)
- In the Image reading, Audio transcription, Audio reply (voice) and Knowledge base search groups: the capability's model. Shows only the compatible ones from the connections.
- "Reserva, se o principal falhar" (Backup, if the main one fails)
- The fallback model, always from another connected provider, or No fallback. In search, the fallback is keyword search, with no model.
Buttons and actions
- "Testar" (Test)
- Tests the chosen model with a sample of the capability and shows Responded or Failed the test, with the time. The cost of the test goes to the company's account with the provider.
- "Reindexar com ‹modelo›" (Reindex with ‹modelo›)
- In search, after choosing another model: confirms the change and reindexes the base. Search uses the old index until it finishes.
- "Manter ‹modelo›" (Keep ‹model›)
- In search, gives up the change and stays with the current model.
- "Conectar provedor" (Connect provider)
- When no connection has the capability, opens the connection drawer. The card explains what happens today without it (for example, the audio goes to the team without the text).
- The groups are Text, light tasks; Text, conversation and auditor; Image reading; Audio transcription; Audio reply (voice); and Knowledge base search.
- Below the backup field, a hint says how to have a backup: choose a backup model or connect a second provider; without a backup, if the primary fails, the conversation goes to the team.
- If the chosen model did not pass the JSON test, the card warns that it answers anyway, asking for the JSON in the text, and suggests testing the connection again.
- Each card lists the group's tasks; clicking a task takes you to Platform agents.
- Capability badges: Text, Vision, Audio, Voice and Embedding.
- Footer: tasks that work by rules do not use a model and cost nothing.
Model for each task tab: Rules by lead type
They change the conversation model according to the lead type; they apply from top to bottom.
Fields and filters
- "Quando a regra vale" (When the rule applies)
- The condition: ideal profile, if there is an objection or if the card has the tag.
- "Nota mínima do perfil ideal" (Minimum ideal-profile score)
- The minimum ideal-profile score for the rule to apply.
- "Objeção" (Objection)
- Which objection triggers the rule.
- "Etiqueta" (Tag)
- Which card tag triggers the rule.
- "Modelo da regra" (Rule's model)
- The model that handles the conversation when the rule matches.
Buttons and actions
- "Nova regra" (New rule)
- Creates a rule at the end of the list, starting with ideal profile 80 or more.
- "Arrastar para mudar a ordem" (Drag to reorder)
- Reorders the rules, with mouse or keyboard; the first one that matches decides the model.
- "Remover regra" (Remove rule)
- Opens the Remove this rule? confirmation; conversations go back to following the table.
- With no connected model, creation is locked with Connect a model to create rules.
- With no rules: "Nenhuma regra. Todas as conversas seguem a tabela acima." (No rules. All conversations follow the table above.)
Screen states
- Loading
- Gray blocks while the connections and routes load.
- Nothing here yet
- No provider connected, with the explanation that the key is encrypted and the Connect provider button.
- If something goes wrong
- An error notice with the try again button; the screen comes back when the read succeeds.
- A connection's key was rejected
- The card is highlighted as an error with Failed the test and the request to replace the key.
- No connection has a group's capability
- The card says what to do and what happens today (for example, audio goes to the team without the text, or the reply goes as text).
- Search is reindexing
- A bar with the percentage; search uses the old index until it finishes.
- The account is resold
- There is no migration notice.