Tailflow
Skip to article
Browse documentation

Google Calendar · Action

Find events

Finds the events on a calendar that match some text within a time window, soonest first, and hands the first one and the whole list to the steps below.

When to use it

Finding the review slot an earlier run made for a transaction, so a later step can move or remove it.

At a glance

IntegrationGoogle Calendar
Credits1
ConnectionGoogle Calendar, by signing in

Settings

calendar
Calendar. Leave blank for your primary calendar. Only calendars you own are listed. Picked from your account's own list, or typed.
queryOptionalAccepts event fields
Text. Matched against the title, description, place and guests. Leave blank to find every event in the window.
fromOptionalAccepts event fields
From. Leave blank to start from now. A date means midnight UTC.
toOptionalAccepts event fields
To. Leave blank for no end. A date means midnight UTC.
limit
Most events. Up to 50. A whole number. Under More options.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.calendar_find_events_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
The first event's id.
title
The first event's title.
link
The address that opens the first event in Google Calendar.
start
When the first event starts.
end
When the first event ends.
status
The first event's status: confirmed or tentative.
count
How many events were found, up to Most events.
items
Every event found, each with id, title, link, start, end and status.

Good to know

  • An event is found when it ends after From and starts before To, so one already under way at From is included.
  • A repeating event is found as each of its occurrences in the window.
  • Removed events are left out.
  • No match fails the step, so the steps below never act on nothing. The flow keeps running.