How the AI checks Google Calendar and records data in a spreadsheet
The AI already replies, books and charges inside Atendaz. Here it starts reading and writing outside: checking the team's Google Calendar, adding a row to a Google spreadsheet and calling your API (inventory, ERP, order tracking) in the middle of the conversation. Requires Copilot and Integrations to be active on the plan.
📅 Google Calendar and 📊 Spreadsheets
Create a service account in Google Cloud
It's Google's "robot user". Download the key's JSON file.
Paste the JSON into the panel
It's stored encrypted and never shown again.
Share the calendar and the spreadsheet with the service account's email
This is the step most people forget: without sharing, Google answers "not found". The email is inside the JSON itself.
Enter the calendar ID and the spreadsheet link
Also write what the spreadsheet records (e.g., "every quote request"): that sentence is what the AI reads to know when to use it.
Click Test
The test really checks the calendar and, if you want, writes a sample row to the spreadsheet. Better to find out now than in the conversation with the customer.
🌐 Call your API
You describe a tool and the AI starts using it on its own when it makes sense:
- Name and description: the description is what teaches the AI when to use it (e.g., "checks an order's status by its number").
- URL with the parameters in braces:
https://loja.com/api/pedidos/{{numero}}. You can also use contact data, like{{contato.phone}}. - Parameters: what the AI needs to ask the customer before calling (e.g., numero, "the order number").
- Headers (token, API key): they're stored encrypted and never come back to the screen.