← Zoom Admin + Airtable integrations

Create single record with Airtable API on Changes to Webinar Panelists from Zoom Admin API

Pipedream makes it easy to connect APIs for Airtable, Zoom Admin and 1000+ other apps remarkably fast.

Trigger workflow on
Changes to Webinar Panelists from the Zoom Admin API
Next, do this
Create single record with the Airtable API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Zoom Admin trigger and Airtable 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 Changes to Webinar Panelists trigger
    1. Connect your Zoom Admin account
    2. Optional- Select one or more Webinar
    3. Configure timer
  3. Configure the Create single record action
    1. Connect your Airtable account
    2. Select a Base
    3. Select a Table
    4. Configure Typecast
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available 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:Emit new event every time a panelist is added or removed from a webinar, or any time their details change
Version:0.1.0
Key:zoom_admin-webinar-changes-to-panelists

Trigger Code

import crypto from "crypto";
import difference from "lodash/difference.js";
import zoomAdmin from "../../zoom_admin.app.mjs";
import { sanitizedArray } from "../../utils.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
  type: "source",
  name: "Changes to Webinar Panelists",
  key: "zoom_admin-webinar-changes-to-panelists",
  version: "0.1.0",
  description: "Emit new event every time a panelist is added or removed from a webinar, or any time their details change",
  dedupe: "unique",
  props: {
    zoomAdmin,
    webinars: {
      propDefinition: [
        zoomAdmin,
        "webinar",
      ],
      type: "string[]",
      description: "Webinars you want to watch for new events. **Leave blank to watch all webinars**.",
    },
    db: "$.service.db",
    timer: {
      type: "$.interface.timer",
      default: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
  },
  hooks: {
    async deploy() {
      // Fetch and emit sample events
      await this.fetchAndEmitParticipants();
    },
  },
  methods: {
    generateMeta(eventType, panelist) {
      const {
        id: panelistID,
        email,
        name,
      } = panelist;
      const summary = name
        ? `${eventType} - ${name} - ${email}`
        : `${eventType} - ${email}`;
      return {
        id: `${panelistID}-${eventType}`,
        summary,
      };
    },
    hash(str) {
      return crypto.createHash("sha256").update(str)
        .digest("hex");
    },
    async fetchAndEmitParticipants() {
      // This endpoint allows for no time filter, so we fetch all participants from
      // all configured webinars and let the deduper handle duplicates
      const webinars = sanitizedArray(this.webinars || []);
      if (!this.webinars || !this.webinars.length) {
        let nextPageToken;
        do {
          const resp = await this.zoomAdmin.listWebinars({
            nextPageToken,
          });
          for (const webinar of resp.webinars) {
            webinars.push(webinar.id);
          }
          nextPageToken = resp.next_page_token;
        } while (nextPageToken);
      }

      for (const webinarID of webinars) {
        const { panelists } = await this.zoomAdmin.listWebinarPanelists(
          webinarID,
        );
        // We keep a DB key for each webinar, which contains an object
        // of panelists with the content of the panelist metadata,
        // to support change detection.
        const oldPanelists = this.db.get(webinarID) || {};
        const oldPanelistIDs = Object.keys(oldPanelists);
        const newPanelistIDs = panelists.map((p) => p.id);

        // DELETED PANELISTS
        const deletedPanelistIDs = difference(oldPanelistIDs, newPanelistIDs);

        let eventType = "panelist.deleted";
        for (const panelistID of deletedPanelistIDs) {
          const panelist = oldPanelists[panelistID];
          this.$emit(
            {
              eventType,
              ...panelist,
              webinarID,
            },
            this.generateMeta(eventType, panelist),
          );
        }

        // ADDED PANELISTS
        const addedPanelistIDs = difference(newPanelistIDs, oldPanelistIDs);

        const newPanelists = {};
        for (const panelist of panelists) {
          newPanelists[panelist.id] = panelist;
          if (addedPanelistIDs.includes(panelist.id)) {
            eventType = "panelist.added";
            this.$emit(
              {
                eventType,
                ...panelist,
                webinarID,
              },
              this.generateMeta(eventType, panelist),
            );
          }
          if (
            panelist.id in oldPanelists &&
            this.hash(JSON.stringify(panelist)) !==
            this.hash(JSON.stringify(oldPanelists[panelist.id]))
          ) {
            eventType = "panelist.changed";
            this.$emit(
              {
                eventType,
                ...panelist,
                webinarID,
              },
              this.generateMeta(eventType, panelist),
            );
          }
        }

        this.db.set(webinarID, newPanelists);
      }
    },
  },
  async run() {
    await this.fetchAndEmitParticipants();
  },
};

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
Zoom AdminzoomAdminappThis component uses the Zoom Admin app.
Webinarwebinarsstring[]Select a value from the drop down menu.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer

Trigger Authentication

Zoom Admin uses OAuth authentication. When you connect your Zoom Admin account, Pipedream will open a popup window where you can sign into Zoom Admin 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 Admin API.

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

About Zoom Admin

Video conferencing (includes account-level scopes)

Action

Description:Adds a record to a table.
Version:1.0.3
Key:airtable-create-single-record

Airtable Overview

Using the Airtable API, you can build applications that can:

  • Create and manage databases
  • Add, update, and delete records
  • Search for records
  • Sort and filter records
  • Display records in a variety of ways
  • Import and export data

Action Code

import commonActions from "../../common/actions.mjs";
import airtable from "../../airtable.app.mjs";
import common from "../common.mjs";

export default {
  key: "airtable-create-single-record",
  name: "Create single record",
  description: "Adds a record to a table.",
  version: "1.0.3",
  type: "action",
  props: {
    ...common.props,
    // eslint-disable-next-line pipedream/props-label,pipedream/props-description
    tableId: {
      ...common.props.tableId,
      reloadProps: true,
    },
    typecast: {
      propDefinition: [
        airtable,
        "typecast",
      ],
    },
  },
  async additionalProps() {
    return commonActions.additionalProps(this);
  },
  async run({ $ }) {
    return commonActions.createRecord(this, $);
  },
};

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
AirtableairtableappThis component uses the Airtable app.
BasebaseIdstringSelect a value from the drop down menu.
TabletableIdstringSelect a value from the drop down menu.
Typecasttypecastboolean

The Airtable API will perform best-effort automatic data conversion from string values if the typecast parameter is True. Automatic conversion is disabled by default to ensure data integrity, but it may be helpful for integrating with 3rd party data sources.

Action Authentication

Airtable uses API keys for authentication. When you connect your Airtable account, Pipedream securely stores the keys so you can easily authenticate to Airtable APIs in both code and no-code steps.

Visit your account settings, copy your API key, and enter it below. If you only need to read data from Airtable, and not modify it, you can generate a read-only API key.


get airtable api key

About Airtable

Looks like a spreadsheet, acts like a database.

More Ways to Connect Airtable + Zoom Admin

Add meeting registrant with Zoom Admin API on New, Modified or Deleted Records from Airtable API
Airtable + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New or Modified Records in View from Airtable API
Airtable + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New or Modified Records from Airtable API
Airtable + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New Records in View from Airtable API
Airtable + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New Records from Airtable API
Airtable + Zoom Admin
 
Try it
Account Created from the Zoom Admin API

Emits an event each time a sub-account is created in your master account

 
Try it
Custom Events from the Zoom Admin API

Listen for any events tied to your Zoom account

 
Try it
Meeting Started from the Zoom Admin API

Emits an event each time a meeting starts in your Zoom account

 
Try it
Account Updated from the Zoom Admin API

Emits an event each time your master account or sub-account profile is updated

 
Try it
Recording Completed from the Zoom Admin API

Emits an event each time a recording is ready for viewing in your Zoom account

 
Try it
Add meeting registrant with the Zoom Admin API

Register a participant for a meeting. See the docs here

 
Try it
Add webinar panelist with the Zoom Admin API

Register a panelist for a webinar. See the docs here

 
Try it
Add webinar registrant with the Zoom Admin API

Register a participant for a webinar. See the docs here

 
Try it
Create a meeting with the Zoom Admin API

Create a new room in zoom. See the docs here

 
Try it
Create Webinar with the Zoom Admin API

Create a webinar for an user. See the docs here

 
Try it