Configure a Google Calendar web trigger to trigger an action whenever an event occurs in the Google Calendar. This example shows how to create a Task Bot with a Google Calendar web trigger to display the Google Calendar event description of the event in a message box when the event is created.

Prerequisites

Ensure that you meet the following prerequisites:
The Google Calendar web trigger monitors the Google Calendar for newly created events. When a user adds an event to the calendar, the trigger initiates the Message Box action to display the event description.

Procedure

  1. Perform the following steps to create a Task Bot
    1. On the left pane, click Automation.
    2. Click Create > Task Bot.
      The Create Task Bot wizard appears.
    3. Enter an appropriate name for the bot in the Name field.
      All the bots are stored in <\Bots> folder by default.
    4. Optional: Add a description for the bot in the Description field.
    5. Optional: Click Choose and follow the prompts to save the bot in a different folder.
    6. Click Create & Edit.
      The bot is created and the Bot editor page appears.
  2. Select Triggers > Google Calendar, and then double-click or drag Web trigger to add the web trigger to Triggers section.
  3. Select Created from the Listen to event drop-down.
  4. Enter the email address associated with Google Calendar in the Email Address field.
  5. Click Pick to choose the pre-configured OAuth connection from the Pick an OAuth connection modal.
  6. Select TriggerData from the Response (optional) drop-down list.
    The trigger response data contains all the information about the event in which the change occurred and is saved in key-value pair format. You can also select an existing record variable from the drop-down list.
  7. Click Actions > Message Box, and then double-click Message Box to add the action.
  8. Enter an appropriate title for the message box in Enter the message box window title.
  9. Enter $TriggerData{description}$ in Enter the message to display to display the description of the created event in the message box.
    The description key from the trigger response data contains the body of the created event as the corresponding value.
  10. Click Save to save the automation.
Click Run > Run with triggers, the system activates the trigger and the trigger starts listening for Created event in the monitored Google Calendar application. When the event is created, the trigger starts the Message Box action. The message box displays the description of the created event.