Skip to main content

Google Calendar Listing Workflow

This workflow fetches a list of upcoming events from your Google Calendar using a search query and summarizes the results using AI.

Note:
This workflow uses two AI Data Processing nodes, each with a tool, because the output of the first tool (Date/Time Now) is required as input for the second tool (Google Calendar Fetch Events).
Current smaller models (≤ 8B parameters) are not able to call the available tools sequentially—they attempt to call both tools at the same time, which leads to incorrect results.
If you use a larger LLM (more than 8B parameters), you can combine both tools in a single AI Data Processing node, as larger models can more reliably call tools one after the other.

Google Calendar Listing Workflow


Steps

  1. Provide Input: The workflow starts with a Data Source node that supplies the prompt: "Get me the next 3 calendar events coming up."
  2. Add Date/Time Context: The first AI Data Processing node uses the Date/Time Now Tool to obtain the current date and time, then augments the original request with this temporal context.
  3. Fetch Calendar Events: The second AI Data Processing node receives the time-augmented request and uses the Google Calendar Fetch Events Tool to retrieve the upcoming events, then formats the results.
  4. Display Result: The Data Flow Spy node displays the final formatted list of calendar events.
  5. (Optional) Inspect Intermediate Data: An additional Data Flow Spy node can be used to inspect the time-augmented request between the two AI processing steps.