Skip to main content

Build your first AI agent with ChatGPT-5

Workflow preview

Workflow preview
100%
Build your first AI agent with ChatGPT-5 preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Build Your First AI Agent with ChatGPT 5 Who is this for? This workflow is designed for beginners and professionals who want to b...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.toolthink, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.googlesheetstool, n8n-nodes-base.googlecalendartool, n8n-nodes-base.gmailtool, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dr. Firas.

Original n8n.io source

1.1 Workflow description

Title
Build your first AI agent with ChatGPT-5
Workflow name
Build your first AI agent with ChatGPT-5

Build Your First AI Agent with ChatGPT-5

Who is this for?

This workflow is designed for beginners and professionals who want to build their first AI-powered assistant with n8n. It’s perfect for anyone managing online trainings, consultations, or services that require both a knowledge base and appointment scheduling.

What problem is this workflow solving?

Manually handling client questions, checking your availability, and confirming bookings can be time-consuming and error-prone. This workflow automates the process, ensuring quick, accurate answers and seamless scheduling directly through chat.

What this workflow does

  • Answers user questions using your knowledge base stored in Google Sheets.
  • Checks availability in Google Calendar and proposes alternative time slots if needed.
  • Books 1-hour appointments in Paris time only after client confirmation.
  • Sends a professional confirmation email with all appointment details.

Setup

  1. Import this workflow into your n8n instance.
  2. Connect your Google Sheets, Gmail, and Google Calendar credentials.
  3. Add your knowledge base into Google Sheets (questions, answers, policies, packs, etc.).
  4. Test the workflow using the Connected Chat Trigger node to start conversations with the AI Agent.

How to customize this workflow to your needs

  • Update the Google Sheets database with your own training packs, services, or company FAQs.
  • Adjust the email template to reflect your branding and communication style.
  • Modify the appointment duration if you need sessions longer or shorter than 1 hour.
  • Add extra nodes (e.g., CRM integration) to capture leads or sync appointments with external systems.

πŸ“„ Documentation: Notion Guide


Need help customizing?

Contact me for consulting and support : Linkedin / Youtube

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Chat with Your Data

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.3

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Reasoning Tool (LangChain)

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1.1

Block 8 - OpenAI GPT-5 Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 9 - Knowledgebase Lookup

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 10 - Calendar: Check Availability

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 11 - Calendar: Create Appointment

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 12 - Send Booking Confirmation

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 13 - AI Agent Support

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 14 - Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

3. Summary Table

Workflow Build your first AI agent with ChatGPT-5
Complexity intermediate
Nodes 14
Categories Support Chatbot, AI Chatbot
Author Dr. Firas
Published 15 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8597/8597.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Build your first AI agent with ChatGPT-5 do?

Build Your First AI Agent with ChatGPT 5 Who is this for? This workflow is designed for beginners and professionals who want to b...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.