← Zoom + YouTube (Data API) integrations

List Videos with YouTube (Data API) API on Custom Events from Zoom API

Pipedream makes it easy to connect APIs for YouTube (Data API), Zoom and 1000+ other apps remarkably fast.

Trigger workflow on
Custom Events from the Zoom API
Next, do this
List Videos with the YouTube (Data API) API
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

This integration creates a workflow with a Zoom trigger and YouTube (Data API) action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Custom Events trigger
    1. Connect your Zoom account
    2. Select one or more Zoom Events
    3. Configure zoomApphook
  3. Configure the List Videos action
    1. Connect your YouTube (Data API) account
    2. Select a Use Case
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Listen for any events tied to your Zoom user or resources you own
Version:0.0.4
Key:zoom-custom-events

Trigger Code

import zoom from "../../zoom.app.mjs";

export default {
  key: "zoom-custom-events",
  name: "Custom Events",
  description:
    "Listen for any events tied to your Zoom user or resources you own",
  version: "0.0.4",
  props: {
    zoom,
    eventNameOptions: {
      label: "Zoom Events",
      type: "string[]",
      async options() {
        return [
          "meeting.alert",
          "meeting.created.by_me",
          "meeting.created.for_me",
          "meeting.updated",
          "meeting.deleted.by_me",
          "meeting.deleted.for_me",
          "meeting.started",
          "meeting.ended",
          "meeting.registration_created",
          "meeting.registration_approved",
          "meeting.registration_cancelled",
          "meeting.registration_denied",
          "meeting.sharing_started.host",
          "meeting.sharing_started.participant",
          "meeting.sharing_ended.host",
          "meeting.sharing_ended.participant",
          "meeting.participant_jbh_joined",
          "meeting.participant_jbh_waiting",
          "meeting.participant_joined",
          "meeting.participant_left",
          "meeting.participant_joined_waiting_room",
          "meeting.participant_admitted",
          "meeting.participant_put_in_waiting_room",
          "meeting.participant_left_waiting_room",
          "recording.started",
          "recording.paused",
          "recording.resumed",
          "recording.stopped",
          "recording.completed",
          "recording.trashed.by_me",
          "recording.trashed.for_me",
          "recording.deleted.by_me",
          "recording.deleted.for_me",
          "recording.recovered.by_me",
          "recording.recovered.for_me",
          "recording.transcript_completed",
          "recording.registration_created",
          "recording.registration_approved",
          "recording.registration_denied",
          "user.updated",
          "user.settings_updated",
          "user.signed_in",
          "user.signed_out",
          "webinar.created.by_me",
          "webinar.created.for_me",
          "webinar.updated",
          "webinar.started",
          "webinar.ended",
          "webinar.alert",
          "webinar.sharing_started.host",
          "webinar.sharing_started.participant",
          "webinar.sharing_ended",
          "webinar.registration_created",
          "webinar.registration_approved",
          "webinar.registration_denied",
          "webinar.registration_cancelled",
          "webinar.participant_joined",
          "webinar.participant_left",
        ];
      },
    },
    zoomApphook: {
      type: "$.interface.apphook",
      appProp: "zoom",
      async eventNames() {
        return this.eventNameOptions;
      },
    },
  },
  async run(event) {
    console.log(event);
    this.$emit(event, {
      summary: event.event,
    });
  },
};

Trigger 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
ZoomzoomappThis component uses the Zoom app.
Zoom EventseventNameOptionsstring[]Select a value from the drop down menu.
zoomApphook$.interface.apphook

Trigger Authentication

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

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

About Zoom

Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars.

Action

Description:Returns a list of videos that match the API request parameters. [See the docs](https://developers.google.com/youtube/v3/docs/videos/list) for more information
Version:0.0.2
Key:youtube_data_api-list-videos

YouTube (Data API) Overview

There are lots of things you can build using the YouTube API! Here are just a
few examples:

  • A YouTube video player
  • A YouTube search engine
  • A tool to help you find popular videos on YouTube
  • A way to keep track of your favorite YouTube videos
  • A way to find new and interesting YouTube channels to watch

Action Code

import youtubeDataApi from "../../youtube_data_api.app.mjs";
import consts from "../../consts.mjs";
import common from "./common.mjs";

export default {
  ...common,
  key: "youtube_data_api-list-videos",
  name: "List Videos",
  description: "Returns a list of videos that match the API request parameters. [See the docs](https://developers.google.com/youtube/v3/docs/videos/list) for more information",
  version: "0.0.2",
  type: "action",
  props: {
    youtubeDataApi,
    useCase: {
      propDefinition: [
        youtubeDataApi,
        "useCase",
      ],
      options: consts.LIST_VIDEOS_USE_CASES,
    },
    ...common.props,
  },
  async additionalProps() {
    const dynamicProps = {};
    if (this.useCase === "id") {
      dynamicProps.id = {
        ...youtubeDataApi.propDefinitions.channelId,
      };
    }
    else if (this.useCase === "myRating") {
      dynamicProps.myRating = {
        label: "My Rating",
        description: "Set this parameter's value to like or dislike to instruct the API to only return videos liked or disliked by the authenticated user.",
        type: "string",
        options: consts.LIST_VIDEOS_MY_RATING_OPTS,
      };
    }
    else if (this.useCase === "chart") {
      dynamicProps.regionCode = {
        ...youtubeDataApi.propDefinitions.regionCode,
      };
      if (this.regionCode && this.regionCode.length === 2) {
        dynamicProps.videoCategoryId = {
          label: "Video Category Id",
          description: "The videoCategoryId parameter identifies the video category for which the chart should be retrieved. By default, charts are not restricted to a particular category.",
          type: "string",
          optional: true,
          options: async () => {
            return await this.youtubeDataApi.listVideoCategoriesOpts(this.regionCode);
          },
        };
      }
    }
    return {
      ...dynamicProps,
      part: {
        ...youtubeDataApi.propDefinitions.part,
        options: consts.LIST_VIDEOS_PART_OPTS,
      },
      hl: {
        ...youtubeDataApi.propDefinitions.hl,
        options: async () => {
          return await this.youtubeDataApi.listI18nLanguagesOpts();
        },
      },
      maxResults: {
        ...youtubeDataApi.propDefinitions.maxResults,
      },
      maxHeight: {
        label: "Max Height",
        description: "The maxHeight parameter specifies the maximum height of the embedded player returned in the player.embedHtml property. You can use this parameter to specify that instead of the default dimensions, If the maxWidth parameter is also provided, the player may be shorter than the maxHeight in order to not violate the maximum width.",
        type: "integer",
        min: 72,
        max: 8192,
        optional: true,
      },
      maxWidth: {
        label: "Max Height",
        description: "The maxWidth parameter specifies the maximum width of the embedded player returned in the player.embedHtml property.\nYou can use this parameter to specify that instead of the default dimensions.",
        type: "integer",
        min: 72,
        max: 8192,
        optional: true,
      },
    };
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
YouTube (Data API)youtubeDataApiappThis component uses the YouTube (Data API) app.
Use CaseuseCasestringSelect a value from the drop down menu:{ "label": "By video id", "value": "id" }{ "label": "Most popular videos", "value": "chart" }{ "label": "My liked videos", "value": "myRating" }

Action Authentication

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

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

emailprofilehttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.uploadhttps://www.googleapis.com/auth/youtube

About YouTube (Data API)

Online video platform

More Ways to Connect YouTube (Data API) + Zoom

Add Meeting Registrant with Zoom API on New Videos in Subscribed Channels from YouTube (Data API) API
YouTube (Data API) + Zoom
 
Try it
Add Meeting Registrant with Zoom API on New Videos by Location from YouTube (Data API) API
YouTube (Data API) + Zoom
 
Try it
Add Meeting Registrant with Zoom API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + Zoom
 
Try it
Add Meeting Registrant with Zoom API on New Videos by Username from YouTube (Data API) API
YouTube (Data API) + Zoom
 
Try it
Add Meeting Registrant with Zoom API on New Videos in Channel from YouTube (Data API) API
YouTube (Data API) + Zoom
 
Try it
Custom Events from the Zoom API

Listen for any events tied to your Zoom user or resources you own

 
Try it
Meeting Created (Instant) from the Zoom API

Emit new event each time a meeting is created where you're the host

 
Try it
Meeting Started (Instant) from the Zoom API

Emit new event each time a meeting starts where you're the host

 
Try it
Recording Completed (Instant) from the Zoom API

Emit new event each time a new recording completes for a meeting or webinar where you're the host

 
Try it
Meeting Ended (Instant) from the Zoom API

Emit new event each time a meeting ends where you're the host

 
Try it
Add Meeting Registrant with the Zoom API

Registers a participant for a meeting.

 
Try it
Add Webinar Registrant with the Zoom API

Registers a participant for a webinar.

 
Try it
Create Meeting with the Zoom API

Creates a meeting for a user. A maximum of 100 meetings can be created for a user in a day.

 
Try it
Create User with the Zoom API

Creates a new user in your account.

 
Try it
Delete User with the Zoom API

Disassociates (unlinks) a user from the associated account or permanently deletes a user.

 
Try it