Supademo Logo

Check Calendar Availability

Build a tool to check what availability you have in your calendar between two dates.
Get Started
Blurred step underneath chapter
Demo Image 2
Demo Image 3

VAPI-MEETINGS: Check calendar availability.

S

Updated: Jul 01, 2024

Description

This demo will show you how to create a tool to check calendar availability, as well as how to equip an agent with that tool and use it in practice.

Steps

1
Check Calendar Availability
2
On the tools page, click on "New" to start the process of creating a new tool.
3
Click on "Create Tool".
4
Give your tool a name, e.g. “Get Calendar Availability”.
5
Video step
6
Click on the "+" button to give your tool an icon.
7
Now, click on "Add input".
8
Click on "Text input".
9
Give it the name "Start date in iso format".
10
Video step
11
7. Give it a value in iso format. It doesn’t matter what date, e.g. “2024-06-24T09:00:00+10:00”.
12
Video step
13
Click on the little cog icon to open up the input settings.
14
Click on "Set current value".
15
Change the name of the variable that stores your value to something more descriptive, like “start date”.
16
Video step
17
Add a new text input and follow the same process for the end date.
18
Next, let's add a "Numeric input".
19
Give it the name "Meeting duration in minutes".
20
Video step
21
Give it a default value, e.g. "30" minutes.
22
Video step
23
Next, we're going to add a tool step. Click on "Add Step" and search for "Cal" or "Calendar".
24
Video step
25
Click on the "Check Outlook calendar availability" tool. You can also use the Google version if that's what you use.
26
Afterwards, click on “Add account” and go through the authorisation process to connect to your Outlook account.
27
Click on the curly brackets next to the start date input to enter variable mode. This will allow you to pull in an input you defined earlier.
28
Select the "start_date" input you defined earlier.
29
Do the same thing for the end date input.
30
Do the same thing again for the slot duration input (meeting duration in minutes).
31
Enter the time your working day starts in 24 hour format, e.g. 09:00.
32
Do the same thing for the end of your working hours: e.g. 17:00.
33
Choose your preferred timezone.
34
Click on "Australia/Sydney".
35
Save your calendar availability tool.
VAPI-MEETINGS: Check calendar availability.