From the Start plan
1. The AI checks your calendar before promising a slot
Starts when
Your booking system has a public internet address that answers queries (an API).
How to set it up
- In the agent, under Comportamento → Habilidades (behavior, skills), click Adicionar habilidade and choose Consultar sistema externo (API) (query an external system). Fill in the name ("Check calendar"), the URL da API, the Método (method) and, if your system asks for it, the authentication header, which is stored encrypted. Internal network addresses are not accepted.
- Under Definição de uso (usage definition), say when to query ("when the customer asks for a slot, check before offering one"). Under Dados necessários para a consulta (data needed for the query), keep it minimal: name and preferred date, not the national ID.
- Ask your system's developer to handle the format InvestCRM sends: with GET, the consulta and telefone parameters; with POST, a JSON with the query plus the contact's name and phone. InvestCRM waits up to 15 seconds for the answer.
- Also switch on the Calendário skill, so the agent reads "tomorrow" and "Friday" against the current date and time and confirms the day and month with the customer. The days and hours you work go under Outras regras ou restrições (other rules or restrictions), which the agent reads on every reply. Whatever you type in the Calendário skill's description never reaches the agent: opening days written only there are ignored.
What happens next
The agent only offers what the calendar returned and never makes up a result: if the query fails, it says it could not check and offers to hand over to a person. Whether it actually books or only checks depends on what your system does with the request. Each query is logged in the chat as an executed skill.
