← Google Calendar

Event Search from Google Calendar API

Pipedream makes it easy to connect APIs for Google Calendar and 700+ other apps remarkably fast.

Trigger workflow on
Event Search from the Google Calendar API
Next, do this
Connect to 700+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Trigger a workflow on Event Search with Google Calendar API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Event Search trigger
    1. Connect your Google Calendar account
    2. Select a Calendar ID
    3. Configure timer
    4. Optional- Configure Query
  2. Add steps to connect to 700+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Event Search on Google Calendar
Description:Emit when an event is created that matches a search
Version:0.1.1
Key:google_calendar-new-event-search

Code

import common from "../common.mjs";

export default {
  ...common,
  key: "google_calendar-new-event-search",
  name: "Event Search",
  description: "Emit when an event is created that matches a search",
  version: "0.1.1",
  type: "source",
  dedupe: "unique", // Dedupe events based on the Google Calendar event ID
  props: {
    ...common.props,
    q: {
      propDefinition: [
        common.props.googleCalendar,
        "q",
      ],
    },
  },
  methods: {
    ...common.methods,
    getConfig({ past }) {
      const updatedMin = past.toISOString();
      return {
        calendarId: this.calendarId,
        updatedMin,
        q: this.q,
        singleEvents: true,
        orderBy: "startTime",
      };
    },
    isRelevant(event, { past }) {
      const created = new Date(event.created);
      // created in last 5 mins and not cancelled
      return created > past && event.status !== "cancelled";
    },
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Google CalendargoogleCalendarappThis component uses the Google Calendar app.
Calendar IDcalendarIdstringSelect a value from the drop down menu.
timer$.interface.timer
Queryqstring

Free text search terms to find events that match these terms in any field, except for extended properties. Optional.

Authentication

Google Calendar uses OAuth authentication. When you connect your Google Calendar account, Pipedream will open a popup window where you can sign into Google Calendar and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Calendar API.

Pipedream requests the following authorization scopes when you connect your account:

emailprofilehttps://www.googleapis.com/auth/calendar.eventshttps://www.googleapis.com/auth/calendar.readonlyhttps://www.googleapis.com/auth/calendar.settings.readonly

About Google Calendar

Scheduling calendar service developed by Google