Skip to main content

WhatsApp appointment scheduling with Google Calendar

Workflow preview

Workflow preview
100%
WhatsApp appointment scheduling with Google Calendar preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? This workflow is for service based businesses and freelancers who want to automate booking appointments via WhatsApp without relying on third party scheduling tools. It's perfect f...

Best for

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

Tools used

n8n-nodes-base.if, n8n-nodes-base.whatsapptrigger, n8n-nodes-base.set, n8n-nodes-base.whatsapp, n8n-nodes-base.postgres, n8n-nodes-base.switch, n8n-nodes-base.googlecalendar, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
WhatsApp appointment scheduling with Google Calendar
Workflow name
WhatsApp appointment scheduling with Google Calendar

Who is this for?

This workflow is for service-based businesses and freelancers who want to automate booking appointments via WhatsApp without relying on third-party scheduling tools. It's perfect for small teams who want full control over the reservation system and calendar integration.

What problem is this workflow solving?

Manually coordinating bookings through messages can be inefficient and error-prone. This workflow streamlines the entire scheduling process-from user input to calendar event creation-saving time and avoiding double-bookings. It ensures users only choose from available time slots and automatically records the meeting in your Google Calendar.

What this workflow does

  • Sends a WhatsApp message with a reservation link.
  • Collects the user's name and preferred date.
  • Checks availability and shows only free time slots.
  • Allows the user to choose a time slot.
  • Automatically creates a Google Calendar event with the selected details.
  • Saves all data to a Postgres database for future reference.

Setup

  1. Create Tables in Postgres DB
    • Open the provided SQL script and replace "n8n" with your Postgres schema name.
    • Execute the script to create the required tables.
  2. Add Credentials
    • WhatsApp: Set up your WhatsApp Business API credentials using OAuth and API keys.
    • Postgres: Connect your database where the booking data will be stored.
    • Google Calendar: Authorize access to your calendar for event creation.

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 - Is bot starts?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 2 - WhatsApp Trigger

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

Block 3 - Initialization

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Welcome Message

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

Block 5 - Main Menu

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

Block 6 - Get bot status

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 7 - Define flow

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 8 - Commands

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 9 - Get available question

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 10 - Is found?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Get available questions

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 12 - Add Answer

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 13 - Add pred Answer

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 14 - Is Questions available?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Error

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

Block 16 - Update bot status on BOOKING

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 17 - Question

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

Block 18 - Finish

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

Block 19 - Create an event

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

Block 20 - Get Answers

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 21 - Set Datetime AND Name

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Date?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - Set Free Time Slots

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Is First?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Showing the first 24 of 38 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow WhatsApp appointment scheduling with Google Calendar
Complexity advanced
Nodes 38
Categories Support Chatbot, AI Chatbot
Author Andrew
Published 10 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5855/5855.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 WhatsApp appointment scheduling with Google Calendar do?

Who is this for? This workflow is for service based businesses and freelancers who want to automate booking appointments via WhatsApp without relying on third party scheduling tools. It's perfect f...

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.