# How to Use n8n Tools in an AI Agent: Check Google Calendar, Book and Log It

> How to use n8n tools in an AI agent: add Google Calendar and Google Sheets tools, let the model fill each value and read the logs. Free hands-on lesson.

Source: https://ynteractive.com/content/n8n-ai-agent-tools-google-calendar-booking · Updated 2026-11-17 · Free from Stepthrough (https://ynteractive.com)

## Practice it step by step

[Start the free practice](https://ynteractive.com/modules/n8n-agent-tools)

[Take the free module: why it matters, practice and a quick check →](https://ynteractive.com/courses/n8n-jump-start/13)

You do every step yourself in a practice copy of n8n. It checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, about 11 minutes, and nothing touches your real accounts. [Open full screen](https://ynteractive.com/modules/n8n-agent-tools)

Quick answer

In your [AI Agent](https://ynteractive.com/content/glossary/ai-agent) workflow, click the plus under the agent's Tool input and search for the app, such as Google Calendar Tool. Set the [resource and operation](https://ynteractive.com/content/glossary#resource-and-operation), keep fixed values like the calendar, and click the sparkle button on fields the model should fill so they read Defined automatically by the model. Name each tool in the [system message](https://ynteractive.com/content/glossary#system-prompt), then test in Open chat and read the Logs.

Last updated November 17, 2026 · Last checked November 17, 2026

Free · Live now · [n8n Automation Toolkit](https://ynteractive.com/content/course/n8n-automation-toolkit) · [n8n](https://ynteractive.com/content/tool/n8n) · OpenAI · Google Calendar · Google Sheets · ~11 min · 36 steps · Advanced

Updated November 17, 2026. Built against the tool’s current screens and checked step by step. [How we check this lesson](https://ynteractive.com/content/about#how-we-check)

A chat agent that only talks is a chatbot. Give it tools and it becomes an agent: it can look things up and act on what it finds. In this free [n8n](https://ynteractive.com/content/tool/n8n) [AI agent](https://ynteractive.com/content/n8n-ai-agent-tutorial-google-sheets) tools tutorial you turn a simple chat agent into a booking assistant for a small business. It checks Google Calendar to see whether an hour is free, books the appointment, logs it in Google Sheets and confirms it to the customer, all from one chat message. You also learn the part most tutorials skip: how to let the model fill in each tool's values, and how to read the logs to see exactly what the agent did.

## At a glance

| Question | Answer |
| --- | --- |
| What you build | Stop playing phone tag over appointments. Give an n8n chat agent three tools: check Google Calendar for a free hour, book it, and log the booking in Google Sheets. |
| Tools | n8n |
| Time | About 11 minutes, 36 steps in 4 parts |
| Level | Advanced |
| Cost | Free |
| Ways to learn it | [Practice it step by step](https://ynteractive.com/modules/n8n-agent-tools) |

### The 4 parts, in short

1. Give it the rules: Open the AI Agent, Write the booking rules, Back to the canvas.
2. Tool 1: check the calendar: Add a tool, Search for "calendar", Add the Google Calendar Tool, Change the resource, and 6 more steps.
3. Tool 2: book it: Add a tool, Search for "calendar", Another Google Calendar Tool, Pick the calendar, and 7 more steps.
4. Tool 3: log it: Add a tool, Search for "sheets", Add the Google Sheets Tool, Change the operation, and 8 more steps.

**Start here first:** [n8n: What Is n8n? Build Your First Workflow](https://ynteractive.com/content/n8n-tutorial-for-beginners-first-workflow) (module 1 of n8n Automation Toolkit)

**In the course:** Part 9 · n8n Automation Toolkit (Module 94 of the [full course](https://ynteractive.com/content/course))

**Part of:** [AI for Medical & Dental Office Admin](https://ynteractive.com/content/paths/ai-for-healthcare-admin) (step 15 of 25)

**Part of:** [n8n Jump Start](https://ynteractive.com/content/paths/n8n-jump-start) (step 15 of 27). Next up: [Meeting to Action: Recap, Tracker Rows and a Kickoff Deck (ChatGPT, n8n, Gamma)](https://ynteractive.com/content/meeting-notes-to-action-items-sheet-and-deck-chatgpt-n8n-gamma)

**Part of:** [AI Agents 101](https://ynteractive.com/content/paths/ai-agents-101) (step 9 of 18). Next up: [How to Use n8n to Build AI Agents: A Support Agent That Answers from Your Docs](https://ynteractive.com/content/support-agent-answers-from-your-docs-n8n)

## What you will build

You will build a booking assistant for Maple Street Dog Grooming, a made-up grooming salon. The workflow starts with a chat trigger (When chat message received) feeding an AI Agent that already has an OpenAI Chat Model and Simple Memory attached. It can hold a conversation, but it cannot see the calendar or write anything down.

You give it clear booking rules in its system message, then connect three tool nodes to the agent's Tool input: a Google Calendar tool that gets availability in a calendar, a second Google Calendar tool that creates an event, and a Google Sheets tool that appends a row to a bookings sheet. When a customer asks for a full groom on a certain day and time, the agent checks that hour, books it if it is free, logs it and replies with a short confirmation.

## Who this n8n AI agent tutorial is for

This module is for small business owners, office managers and anyone who has built a basic AI chat agent in n8n and now wants it to do real work. You do not need to write code or expressions. In the practice copy the chat agent, the Google accounts and the bookings sheet are ready when you start, so you can focus on the tools.

## How tools and "Defined automatically by the model" work

Any n8n node marked as usable as a tool shows up in the Tools panel with Tool added to its name, such as Google Calendar Tool or Google Sheets Tool. When you add one to an AI Agent, the node gets a Tool Description, set automatically from its resource and operation, which tells the model what the tool does. n8n also names the node after its action, like Create an event in Google Calendar.

Each field in a tool node can be fixed, an expression, or left to the model. The sparkle button (Let the model define this parameter) swaps the field for a panel that says Defined automatically by the model. When the agent calls the tool, the model decides that value from the conversation, such as the start time 2026-10-08T10:00:00-04:00 for "Thursday at 10am". You can add a short description to guide it. Fields that should never change, like which calendar or which spreadsheet, stay fixed.

## Reading the logs

The chat opens with the Logs panel beside it. After a message, the logs show the chat trigger, then the AI Agent with every step it took underneath: memory, each model call and each tool call. Click a tool call to see its input and output. It is the quickest way to check the agent did what the rules say, and to spot a wrong date or a missing value.

One tip: an agent does not know today's date. In the practice test the message includes the full date. For real use, add a line with today's date to the system message using an expression such as {{ $now }}, so customers can say "next Thursday".

## How to use this in your business

The same pattern works for any "look it up, then act" job: check stock before taking an order, look up a customer before creating a support ticket, or find a free slot before scheduling a site visit. Start with one lookup tool and one action tool, write the order of the job into the system message, and read the logs after every test.

## How the interactive lesson works

Every step is shown first on the left, in the Watch panel, with a short voice-over. Then you do it yourself on the right, in Your turn, on a practice copy of n8n. If you get stuck, press Do it for me and the step is done for you. Nothing is booked and nothing is published, so you can make mistakes freely, then build it for real.

## Try it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of n8n, checks each step, and never touches your real accounts.

[Start “How to Use n8n Tools in an AI Agent: Check Google Calendar, Book and Log It”](https://ynteractive.com/modules/n8n-agent-tools)

## Step by step: How to Use n8n Tools in an AI Agent: Check Google Calendar, Book and Log It

All 36 steps of the interactive module, in order. In the module you watch each one, then do it yourself in a practice copy that checks your work.

### 1. Give it the rules

1. **Open the AI Agent.** Your chat agent is ready: a chat trigger, an **AI Agent**, a model and memory. It can talk, but it can’t do anything yet. Double-click **AI Agent**.
   Here's a chat agent for Maple Street Dog Grooming: a chat trigger, the AI agent, an OpenAI model and simple memory. It can chat, but it can't look anything up or do anything. By the end, it will check the calendar, book the appointment and log it in a sheet. Double-click the AI agent.
2. **Write the booking rules.** Replace **You are a helpful assistant** under **System Message**. Paste in the system message.
   Under options, the system message still says: you are a helpful assistant. Replace it with real rules: hours, services, and the order of the job. Check the time first, then book it, then log it. Naming the tools here tells the agent when to use each one.
   ```text
   You are the booking assistant for Maple Street Dog Grooming.
   
   Opening hours: Tuesday to Saturday, 9am to 5pm (Eastern Time). Every appointment is 1 hour.
   Services: bath and brush, full groom, nail trim.
   
   How to book:
   1. Get the customer's name, their dog's name, the service, and the day and time they want. Ask for anything that's missing.
   2. Check that hour with the "Get availability in a calendar in Google Calendar" tool. If it's taken, suggest another time and check that one too.
   3. When the hour is free, book it with the "Create an event in Google Calendar" tool. Title: service - dog's name (customer's name).
   4. Then log it with the "Append row in sheet in Google Sheets" tool: the customer's name, and the booking (day, time, service, dog).
   5. Confirm the booking in one short, friendly message.
   
   Never book a time you haven't checked. Don't invent prices or services.
   ```
3. **Back to the canvas.** The agent knows the rules. Close the node with the **×**.
   That is the whole job description. Close the node.

### 2. Tool 1: check the calendar

4. **Add a tool.** Tools are how an agent acts. Click the **+** under **Tool** on the AI Agent.
   Now the tools. Each tool is a node the agent can call on its own, whenever the rules say so.
5. **Search for "calendar".** In **Search nodes...**, type **calendar**.
   The tools panel opens. Search for calendar.
6. **Add the Google Calendar Tool.** Click **Google Calendar Tool**.
   Pick the Google Calendar tool. It opens as create an event, the default. We'll use this first one to check the calendar instead. Your Google Calendar account is already connected, so the credential fills itself in.
7. **Change the resource.** Click the **Resource** drop-down (it says **Event**).
8. **Choose Calendar.** Pick **Calendar**. The operation becomes **Availability** and the node renames itself.
   The operation switches to availability, and the node renames itself: get availability in a calendar. It answers one question: is this time free?
9. **Pick the calendar.** Click **Select a Calendar...** next to **From list**.
   Now tell it which calendar to check.
10. **Grooming appointments.** Pick **Grooming appointments**.
    Grooming appointments. That is where every booking lives.
11. **Let the model set the start.** Next to **Start Time**, click the **✦** button (**Let the model define this parameter**).
    Start time says now, which is no use to us. The agent should decide it from the chat. Now it reads: defined automatically by the model.
12. **And the end.** Click the **✦** next to **End Time** too.
    Same for end time.
13. **Back to the canvas.** The first tool is done. Close the node with the **×**.
    That is tool number one: look up whether an hour is free. Close it.

### 3. Tool 2: book it

14. **Add a tool.** Add a second tool. Click the **+** under **Tool** again.
    Tool two books the appointment.
15. **Search for "calendar".** Type **calendar** again.
    Search for calendar again.
16. **Another Google Calendar Tool.** Click **Google Calendar Tool**. This time **Create an event** is exactly what we want.
    Google Calendar tool again. This time, create an event is exactly what we want, so leave resource and operation alone.
17. **Pick the calendar.** Click **Select a Calendar...**.
    Pick the calendar.
18. **Grooming appointments.** Pick **Grooming appointments**.
    Grooming appointments, the same one it checks.
19. **Let the model set the start.** Click the **✦** next to **Start**.
    Let the model fill in the start.
20. **And the end.** Click the **✦** next to **End**.
    And the end.
21. **Add a title.** An event needs a title. Under **Additional Fields**, click **Add Field**.
    An event with no title shows up as no title in the calendar. Under additional fields, click add field.
22. **Summary.** Pick **Summary** (the event title).
    Pick summary. That is Google’s word for the event title.
23. **Let the model write the title.** Click the **✦** next to **Summary**.
    The system message already says how to write the title: service, dog, and customer.
24. **Back to the canvas.** The booking tool is ready. Close the node with the **×**.
    Tool two is ready. Close it.

### 4. Tool 3: log it

25. **Add a tool.** Last tool. Click the **+** under **Tool**.
    Last tool: a log of every booking, in a Google Sheet.
26. **Search for "sheets".** Type **sheets**.
    Search for sheets.
27. **Add the Google Sheets Tool.** Click **Google Sheets Tool**.
    Google Sheets tool. Your Google Sheets account is connected already. If it is not, create the credential and sign in with Google.
28. **Change the operation.** It starts on **Get Row(s)**. Click the **Operation** drop-down.
    It starts out reading rows. We want to add one, so open the operation drop-down.
29. **Append Row.** Pick **Append Row**.
    Append row. Each booking goes in as a new row at the bottom.
30. **Choose the spreadsheet.** Click **Choose...** next to **Document**.
    Now the spreadsheet.
31. **Grooming bookings.** Pick **Grooming bookings**.
    Grooming bookings. It has two columns: customer and booking.
32. **Choose the tab.** Click **Choose...** next to **Sheet**.
    Then the tab inside it.
33. **Sheet1.** Pick **Sheet1**.
    Sheet one. The columns appear under values to send.
34. **Customer.** Click the **✦** next to **Customer**.
35. **Booking.** Click the **✦** next to **Booking**.
    And booking. The model fills both from the conversation.
36. **Back to the canvas.** Three tools, all wired to the agent. Close the node with the **×**.
    Three tools on one agent, all wired up. Close it.

## Frequently asked questions

**How do I see logs in n8n?**

Click Open chat on a workflow with a chat trigger, and the Logs panel opens beside it. After each message it lists the trigger, then the AI Agent with every memory, model and tool call underneath. Click a tool call to see what went in and what came out.

**How do I see a step's output in n8n?**

In the Logs panel, click a step, such as a tool call, to see its input and output. In this lesson that is how you check the exact start time the model filled in for a booking, such as 2026-10-08T10:00:00-04:00 for "Thursday at 10am".

**What is a tool in an n8n AI Agent?**

A tool is a node connected to the agent's Tool input that the agent can call on its own, such as Google Calendar, Google Sheets, Gmail or an HTTP request. The model decides when to call each tool based on the conversation and the system message.

**How does an n8n agent check Google Calendar availability?**

Add a Google Calendar Tool, set Resource to Calendar so the operation is Availability, pick the calendar and let the model define Start Time and End Time. The tool returns whether that time is free.

**What does "Defined automatically by the model" mean in n8n?**

It means the AI model fills in that field when it calls the tool, using what it learned from the chat. You turn it on with the sparkle button next to a field, and you can add a description to guide the value.

**Is this course really free?**

Yes. Stepthrough is completely free, and the practice copy needs no accounts. To build it for real you need your own n8n, OpenAI and Google accounts, and some of those cost money once you use them for real work.

[Start this module free](https://ynteractive.com/modules/n8n-agent-tools)

- Previous in n8n Automation Toolkit: [How to Connect n8n to Google Sheets: Read, Add and Update Rows with AI](https://ynteractive.com/content/n8n-google-sheets-read-append-update)
- Next in n8n Automation Toolkit: [Error Handling Automation in n8n: Retry On Fail, Error Workflow and Alerts](https://ynteractive.com/content/n8n-error-handling-retry-on-fail-error-workflow)

## More in n8n Automation Toolkit

- [n8n: What Is n8n? Build Your First Workflow](https://ynteractive.com/content/n8n-tutorial-for-beginners-first-workflow): What n8n is and how it thinks, then your first workflow: a client inquiry form that catches every request and writes a one-line summary. No code, no accounts to connect.
- [How to Do n8n Automation for Beginners: Sort Inquiries and Draft Replies with AI](https://ynteractive.com/content/ai-workflow-automation-for-beginners): AI workflow automation for beginners: a form catches each client inquiry, an AI step sorts it and drafts the reply, and an If rule flags the urgent ones. Real n8n, free…
- [n8n: Items, JSON and Expressions, Explained by Doing](https://ynteractive.com/content/n8n-items-json-expressions-tutorial): See how n8n holds data: pin five fake invoices, read them as items, Table and JSON, then write one reminder per invoice and a late fee with drag-and-drop expressions.
- [n8n: Run a Workflow on a Schedule (Every Monday at 8am)](https://ynteractive.com/content/n8n-schedule-trigger-tutorial): Use the n8n Schedule Trigger to run a workflow by itself: every Monday at 8am, a timesheet reminder. Set the interval, test it now, and check the time zone.
- [n8n: Send Form Answers Straight to Google Sheets](https://ynteractive.com/content/n8n-form-to-google-sheets): Build a consultation request form in n8n (required fields, email, dropdown), test it, and add every answer as a new row in Google Sheets. No webhook, no form tool to…
- [n8n: Summarize Customer Emails with OpenAI](https://ynteractive.com/content/n8n-openai-summarize-emails): Your first AI step in n8n: send each customer email to OpenAI with one prompt and get a one-line summary plus the next step. No agent needed, about a cent of API use.

[All 28 modules in n8n Automation Toolkit](https://ynteractive.com/content/course/n8n-automation-toolkit)

## More n8n tutorials

- [How to Create an AI Agent in n8n That Saves Ideas to Google Sheets](https://ynteractive.com/content/n8n-ai-agent-tutorial-google-sheets): Build an AI agent for BrightPath Marketing that generates social media post ideas and saves them to Google Sheets — chat trigger, AI Agent, system prompt, model…
- [How to Build in Lovable: A Web App with an n8n AI Backend](https://ynteractive.com/content/lovable-n8n-web-app-ai-backend): Build a contact form in Lovable and connect it to an n8n workflow — webhook trigger, AI Agent, Google Sheets, Gmail, and a Respond node that ties it all together.
- [How to Do OCR in n8n: Read Receipt Photos into Google Sheets with AI](https://ynteractive.com/content/ai-receipt-extractor-n8n-google-sheets): Drop a photo of a receipt into an n8n chat. An AI agent reads it, pulls out the date, vendor and amount, picks a category, and adds a row to Google Sheets.
- [n8n AI Email Responder: Draft Gmail Replies Automatically](https://ynteractive.com/content/ai-email-responder-gmail-drafts-n8n): Build an n8n agent that watches your Gmail, reads each new customer email, and writes a reply as a draft in the same thread, ready for you to check and send.
- [How to Make an n8n Workflow That Emails Each Tech Their Jobs from Sheets](https://ynteractive.com/content/n8n-daily-job-alerts-google-sheets-gmail): Every morning at 7, n8n reads a plumbing company's jobs sheet, skips anything not assigned yet, and emails each job to the tech it's assigned to — customer, address…
- [Gmail AI Triage: Auto-Label Every Email and Draft Replies](https://ynteractive.com/content/gmail-ai-triage-labels-drafts-n8n): Build an n8n workflow that reads each new email, sorts it as a lead, a client or an invoice with a Text Classifier, adds the matching Gmail label, and drafts a reply to…

## Terms in this lesson

Plain-English definitions, each with an example from a free lesson.

[Max iterations (agent step limit)](https://ynteractive.com/content/glossary) · [Max tokens](https://ynteractive.com/content/glossary) · ReAct agent (reason and act) · [Subagent](https://ynteractive.com/content/glossary) · [Workflow tool (agent tool)](https://ynteractive.com/content/glossary) · [Agent orchestration](https://ynteractive.com/content/glossary) · LangChain · Multi-turn conversation

[The full AI glossary](https://ynteractive.com/content/glossary)

## More terms on this topic

[Resource and operation (n8n)](https://ynteractive.com/content/glossary#resource-and-operation)

## Browse related tutorials

[n8n Automation Toolkit (28)](https://ynteractive.com/content/course/n8n-automation-toolkit) · [n8n tutorials (59)](https://ynteractive.com/content/tool/n8n)
