← Zoom Admin + Google Drive integrations

Add File Sharing Preference with Google Drive API on Account Created from Zoom Admin API

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

Trigger workflow on
Account Created from the Zoom Admin API
Next, do this
Add File Sharing Preference with the Google Drive 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 Google Drive 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 Account Created trigger
    1. Connect your Zoom Admin account
    2. Configure zoomApphook
  3. Configure the Add File Sharing Preference action
    1. Connect your Google Drive account
    2. Optional- Select a Drive
    3. Select a File
    4. Optional- Select a Role
    5. Optional- Select a Type
    6. Optional- Configure Domain
    7. Optional- Configure Email Address
  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:Emits an event each time a sub-account is created in your master account
Version:0.1.0
Key:zoom_admin-account-created

Trigger Code

import zoomAdmin from "../../zoom_admin.app.mjs";

export default {
  key: "zoom_admin-account-created",
  type: "source",
  name: "Account Created",
  description: "Emits an event each time a sub-account is created in your master account",
  version: "0.1.0",
  dedupe: "unique", // Dedupe based on account ID
  props: {
    zoomAdmin,
    zoomApphook: {
      type: "$.interface.apphook",
      appProp: "zoomAdmin",
      eventNames: [
        "account.created",
      ],
    },
  },
  async run(event) {
    console.log(event);
    const { id } = event.payload.object;
    this.$emit(event, {
      summary: `New sub-account ${id} created`,
      id,
    });
  },
};

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.
zoomApphook$.interface.apphook

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:Add a [sharing](https://support.google.com/drive/answer/7166529) permission to the sharing preferences of a file and provide a sharing URL. [See the docs](https://developers.google.com/drive/api/v3/reference/permissions/create) for more information
Version:0.1.0
Key:google_drive-add-file-sharing-preference

Google Drive Overview

Using the Google Drive API, you can build applications that:

  • Create and manage files and folders
  • Download and upload files
  • Share and organize files
  • Search for files
  • Track changes to files
  • And much more!

Action Code

import googleDrive from "../../google_drive.app.mjs";

/**
 * Uses Google Drive API to create a permission for a file. The role granted by
 * the permission is one of `owner`,`organizer`,`fileOrganizer`,
 * `writer`,`commenter`, `reader`. See the [Google Drive API Reference for
 * Permissions](https://bit.ly/2XKKG1X) for more information.
 */
export default {
  key: "google_drive-add-file-sharing-preference",
  name: "Add File Sharing Preference",
  description:
    "Add a [sharing](https://support.google.com/drive/answer/7166529) permission to the sharing preferences of a file and provide a sharing URL. [See the docs](https://developers.google.com/drive/api/v3/reference/permissions/create) for more information",
  version: "0.1.0",
  type: "action",
  props: {
    googleDrive,
    drive: {
      propDefinition: [
        googleDrive,
        "watchedDrive",
      ],
      optional: true,
    },
    fileId: {
      propDefinition: [
        googleDrive,
        "fileId",
        (c) => ({
          drive: c.drive,
        }),
      ],
      optional: false,
      description: "The file to share",
    },
    role: {
      propDefinition: [
        googleDrive,
        "role",
      ],
    },
    type: {
      propDefinition: [
        googleDrive,
        "type",
      ],
    },
    domain: {
      propDefinition: [
        googleDrive,
        "domain",
      ],
    },
    emailAddress: {
      propDefinition: [
        googleDrive,
        "emailAddress",
      ],
    },
  },
  async run({ $ }) {
    const {
      fileId,
      role,
      type,
      domain,
      emailAddress,
    } = this;
    // Create the permission for the file
    await this.googleDrive.createPermission(fileId, {
      role,
      type,
      domain,
      emailAddress,
    });

    // Get the file to get the `webViewLink` sharing URL
    const resp = await this.googleDrive.getFile(this.fileId);
    const webViewLink = resp.webViewLink;
    $.export("$summary", `Successfully added a sharing permission to the file, "${resp.name}"`);
    return webViewLink;
  },
};

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
Google DrivegoogleDriveappThis component uses the Google Drive app.
DrivedrivestringSelect a value from the drop down menu.
FilefileIdstringSelect a value from the drop down menu.
RolerolestringSelect a value from the drop down menu:ownerorganizerfileOrganizerwritercommenterreader
TypetypestringSelect a value from the drop down menu:usergroupdomainanyone
Domaindomainstring

The domain of the G Suite organization to which this permission refers if Type is domain (e.g., yourcomapany.com)

Email AddressemailAddressstring

The email address of the user or group to which this permission refers if Type is user or group

Action Authentication

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

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

emailprofilehttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.readonly

About Google Drive

Internet-related services and products

More Ways to Connect Google Drive + Zoom Admin

Add meeting registrant with Zoom Admin API on Changes to Specific Files from Google Drive API
Google Drive + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New Files (Instant) from Google Drive API
Google Drive + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New or Modified Comments from Google Drive API
Google Drive + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New or Modified Files from Google Drive API
Google Drive + Zoom Admin
 
Try it
Add meeting registrant with Zoom Admin API on New or Modified Folders from Google Drive API
Google Drive + 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