Skip to main content

Retrieve Argument

How to Retrieve Arguments and Create Google Calendar Events through Copilot

  1. Add Google Calendar Node

    • Search for Google Calendar in the left panel and drag it into the workflow.
    Drag the Google Calendar node into the workflow.

  1. Configure Google Calendar

    • Open the settings drawer for the Google Calendar node.
    • Connect your Google account.
    Connect your Google account in the settings drawer.
    • Set the Operation to Create Event.
    Select the Create Event operation.

  2. Define Event Details

    • Event Summary: The title or subject of the event provided by the user is dynamically referenced using.

          

      Retrieves the subject value dynamically from the input provided to the Copilot Tool during the workflow execution.

      Input field dynamically referencing the event subject via payload
    • Event Description: Any additional details about the event, provided by the user, are dynamically referenced using:


      Retrieves the description value dynamically from the input provided to the Copilot Tool during the workflow execution.

      Input field dynamically referencing the event description via payload
    • Location: The venue for the event.

      Location field populated with event venue information
    • Attendees: Dynamically set the attendees using the parameter from the Copilot Tool:

          

      Retrieves the email_id value dynamically from the input provided to the Copilot Tool during the workflow execution.

      Use dynamic inputs for attendees' email IDs.

      Understanding Payload

      A Payload is like a "package" of information transferred through the workflow. It contains the necessary data or values required to perform a task. In Copilot workflows, payloads allow you to dynamically access and manipulate data using curly braces . These references enable the seamless transfer and utilization of information throughout the workflow.

      KeyDescription
      payloadRepresents the dataset being transferred within the workflow.
      copilotInputArgsContains the input arguments provided by the user through the Copilot Tool.
    • Specify the Start Date and End Date for the event.

      Date picker used to specify start and end dates for the event

  1. Save and Test
    • Save the workflow and test it to ensure the event is created successfully in Google Calendar and click on publish.

      Test the workflow to confirm successful event creation.

  1. Create an Event through Copilot Interface

    • Go to your Copilot interface and ask it to create an event.

    • When prompted, provide the Summary, Description, and Email ID for the event.

    • Once the inputs are provided, the workflow will process the details and schedule the event in Google Calendar.

      Interact with the Copilot interface to create an event.
    • Check your Google Calendar to verify if the event has been successfully scheduled.

      Confirm that the event is scheduled in Google Calendar.
    • You can select the version, view the execution history, and check the result and body for detailed insights.

      Confirm that the event is scheduled in Google Calendar.
Copilot dark logo

More than just a virtual AI assistant, Copilot adds the flavor of interaction and engagement to your website. Easy to create, easier to customize, and easiest to deploy. Let Copilot enhance user experience on your website based on the information you provide.

Is this page useful?