Automation › External tools for the AI
👑 Owner

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.

🧭
It's in 🤖 Automation → 🧠 AI & Integrations › 🔧 Agent tools, below the Copilot.

📅 Google Calendar and 📊 Spreadsheets

  1. Create a service account in Google Cloud

    It's Google's "robot user". Download the key's JSON file.

  2. Paste the JSON into the panel

    It's stored encrypted and never shown again.

  3. 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.

  4. 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.

  5. 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.

🗓️
What it's for in practice: the AI looks at the dentist's calendar before offering a time, and every request it handles lands in a spreadsheet the finance team already uses, with nobody copying anything by hand.

🌐 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.
✂️
Your API's response is trimmed before it reaches the model. Return the essentials (status, deadline, amount): sending a giant JSON uses up quota and makes the reply worse.
🔐
The AI only calls what you registered, with the headers you saved. It doesn't make up addresses or go browsing the internet.

More step-by-step help

Want to see it working on your WhatsApp?

Try it free for 14 days, no card needed. The initial setup is done together with you.

Start the free trial →