AI Agent that Schedules meetings via MCP server

This tutorial explains how to build an AI Agent in Tiledesk that can schedule meetings automatically.

The goal is to create a simple flow where the agent collects booking details during the conversation, checks availability in Google Calendar, and creates the meeting directly when a slot is free.

What this workflow does

At the end of this setup, your AI Agent will be able to:

  • greet the user

  • ask for the information needed to schedule a meeting

  • check availability in Google Calendar

  • suggest alternative slots if the requested one is not available

  • create the calendar event automatically

  • confirm the booking in the conversation

1

Create a Google Calendar MCP server

First, create an MCP server for Google Calendar.

You can build it with the platform you prefer. One option is Composio, which supports MCP server creation and managed authentication for connected tools.

Once the Google Calendar MCP server is ready, keep the MCP endpoint and credentials available for Tiledesk.

2

Create a simple scheduling flow in Tiledesk

In Tiledesk, create a new flow dedicated to appointment booking.

This flow can stay very simple and include just 3 blocks:

  • one block for the welcome message

  • one AI Prompt block that asks questions and handles the conversation

  • one AI Reply block that collects the user input and keeps the interaction going

This structure is enough to build a first working version of the scheduling assistant.

3

Add the welcome message

Start the flow with a short message that explains what the AI Agent can do.

For example:

Hi, I can help you schedule a meeting. To get started, I just need a few details.

This makes the entry point clear and prepares the user for the next step.

4

Configure the AI Prompt block

This is the core block of the workflow.

At Tiledesk, we have developed AI Prompt to let you define the role of the AI Agent, guide the conversation, and decide which action it should take inside the flow.

In this block, your AI Agent should:

  • ask for the user’s full name

  • ask for the email address

  • ask for the preferred date

  • ask for the preferred time

  • ask for the timezone

  • optionally ask for a short meeting note

  • check Google Calendar before confirming any booking

  • offer 3 nearby free slots if the requested slot is busy

  • create the event if the slot is free

  • confirm the meeting clearly in the chat

The AI Prompt block is also where you connect the Google Calendar MCP server, so the AI Agent can move from conversation to action in the same step.

5

Add the AI Reply block

After the AI Prompt block, add the AI Reply block.

This block is used to collect the user input and continue the conversation naturally while the AI Agent gathers the booking details and moves the scheduling flow forward.

In practice, this is the block that keeps the interaction smooth while the AI Prompt block handles the logic and the Google Calendar MCP server handles the action.

6

Let Google Calendar create the event

Once the requested slot is available, the AI Agent should create the event through the Google Calendar MCP server.

Google Calendar supports event creation through the Calendar API, and when attendees are included, email notifications can also be sent through the event insert flow by using the attendee and update settings.

Prompt example for the scheduling AI Agent

Use this as a starting point for the AI Prompt block:

I hope you find this tutorial helpful. Stay tuned for more.

In case you need further assistance, contact us at [email protected]envelope.

To read more, visit www.tiledesk.comarrow-up-right.

Last updated