← Slack + Zoom Admin integrations

Create a meeting with Zoom Admin API on New Message In Channels (Instant) from Slack API

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

Trigger workflow on
New Message In Channels (Instant) from the Slack API
Next, do this
Create a meeting with the Zoom Admin 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 Slack trigger and Zoom Admin 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 New Message In Channels (Instant) trigger
    1. Connect your Slack account
    2. Optional- Select one or more Channels
    3. Configure slackApphook
    4. Configure Resolve names
    5. Configure Ignore bots
  3. Configure the Create a meeting action
    1. Connect your Zoom Admin account
    2. Optional- Configure Meeting topic
    3. Optional- Select a Type
    4. Optional- Configure Start Time
    5. Optional- Configure Duration
    6. Optional- Select a Timezone
    7. Optional- Configure Password
  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:Emit new event when a new message is posted to one or more channels
Version:1.0.0
Key:slack-new-message-in-channels

Trigger Code

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

export default {
  ...common,
  key: "slack-new-message-in-channels",
  name: "New Message In Channels (Instant)",
  version: "1.0.0",
  description: "Emit new event when a new message is posted to one or more channels",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    conversations: {
      propDefinition: [
        common.props.slack,
        "conversation",
      ],
      type: "string[]",
      label: "Channels",
      description: "Select one or more channels to monitor for new messages.",
      optional: true,
    },
    // eslint-disable-next-line pipedream/props-description,pipedream/props-label
    slackApphook: {
      type: "$.interface.apphook",
      appProp: "slack",
      async eventNames() {
        return this.conversations || [
          "message",
        ];
      },
    },
    resolveNames: {
      propDefinition: [
        common.props.slack,
        "resolveNames",
      ],
    },
    ignoreBot: {
      propDefinition: [
        common.props.slack,
        "ignoreBot",
      ],
    },
  },
  methods: {
    ...common.methods,
    getSummary() {
      return "New message in channel";
    },
    async processEvent(event) {
      if (event.type !== "message") {
        console.log(`Ignoring event with unexpected type "${event.type}"`);
        return;
      }
      if (event.subtype != null && event.subtype != "bot_message" && event.subtype != "file_share") {
        // This source is designed to just emit an event for each new message received.
        // Due to inconsistencies with the shape of message_changed and message_deleted
        // events, we are ignoring them for now. If you want to handle these types of
        // events, feel free to change this code!!
        console.log("Ignoring message with subtype.");
        return;
      }
      if ((this.ignoreBot) && (event.subtype == "bot_message" || event.bot_id)) {
        return;
      }
      if (this.resolveNames) {
        if (event.user) {
          event.user_id = event.user;
          event.user = await this.getUserName(event.user);
        } else if (event.bot_id) {
          event.bot = await this.getBotName(event.bot_id);
        }
        event.channel_id = event.channel;
        event.channel = await this.getConversationName(event.channel);
        if (event.team) {
          event.team_id = event.team;
          event.team = await this.getTeamName(event.team);
        }
      }
      return 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
SlackslackappThis component uses the Slack app.
N/AnameCache$.service.dbThis component uses $.service.db to maintain state between component invocations.
Channelsconversationsstring[]Select a value from the drop down menu.
slackApphook$.interface.apphook
Resolve namesresolveNamesboolean

Resolve user and channel names (incurs extra API calls)

Ignore botsignoreBotboolean

Ignore messages from bots

Trigger Authentication

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

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

bookmarks:writecalls:readcalls:writechannels:historychannels:readchannels:writednd:readdnd:writeemoji:readfiles:readgroups:historygroups:readgroups:writeim:historyim:readim:writelinks:readlinks:writempim:historympim:readmpim:writepins:readpins:writereactions:readreactions:writereminders:readreminders:writeremote_files:readremote_files:sharestars:readstars:writeteam:readusergroups:readusergroups:writeusers:readusers:read.emailusers:writechat:write:botchat:write:usercommandsfiles:write:userusers.profile:writeusers.profile:readsearch:read

About Slack

Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.

Action

Description:Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)
Version:0.0.1
Key:zoom_admin-action-create-a-meeting

Action Code

import zoomAdmin from "../../zoom_admin.app.mjs";
import tzs from "../../zoom_tzs.mjs";
import consts from "../../consts.mjs";
import { axios } from "@pipedream/platform";

const { MEETING_TYPE_OPTIONS } = consts;

export default {
  name: "Create a meeting",
  description: "Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)",
  key: "zoom_admin-action-create-a-meeting",
  version: "0.0.1",
  type: "action",
  props: {
    zoomAdmin,
    topic: {
      type: "string",
      label: "Meeting topic",
      optional: true,
    },
    type: {
      type: "integer",
      label: "Type",
      description: "The type of the meeting you'd like to create",
      options: MEETING_TYPE_OPTIONS,
      default: 2,
      optional: true,
    },
    startTime: {
      type: "string",
      label: "Start Time",
      description: "The meeting’s start time. This field is only used for scheduled and/or recurring meetings with a fixed time. This supports local time and GMT formats. Refer to [Zoom's documentation](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) for example formats.",
      optional: true,
    },
    duration: {
      type: "integer",
      label: "Duration",
      description: "The meeting’s scheduled duration, in minutes. This field is only used for scheduled meetings.",
      optional: true,
    },
    timezone: {
      type: "string",
      label: "Timezone",
      description: "The timezone to assign to the `startTime`. This field is only used for scheduled meetings.",
      options: tzs,
      optional: true,
    },
    password: {
      type: "string",
      label: "Password",
      description: "The password required to join the meeting. By default, a password can **only** have a maximum length of `10` characters and only contain alphanumeric characters and the `@`, `-`, `_` and `*` characters.",
      optional: true,
    },
  },
  async run ({ $ }) {
    const data = {
      topic: this.topic,
      type: this.type,
      start_time: this.startTime,
      duration: this.duration,
      timezone: this.timezone,
      password: this.password,
    };
    const res = await axios($, this.zoomAdmin._getAxiosParams({
      method: "POST",
      path: "/users/me/meetings",
      data,
    }));

    $.export("$summary", `The meeting "${this.topic}" was successfully created`);

    return res;
  },
};

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
Zoom AdminzoomAdminappThis component uses the Zoom Admin app.
Meeting topictopicstring
TypetypeintegerSelect a value from the drop down menu:{ "label": "An instant meeting", "value": 1 }{ "label": "A scheduled meeting", "value": 2 }{ "label": "A recurring meeting with no fixed time", "value": 3 }{ "label": "A recurring meeting with fixed time", "value": 8 }
Start TimestartTimestring

The meeting’s start time. This field is only used for scheduled and/or recurring meetings with a fixed time. This supports local time and GMT formats. Refer to Zoom's documentation for example formats.

Durationdurationinteger

The meeting’s scheduled duration, in minutes. This field is only used for scheduled meetings.

TimezonetimezonestringSelect a value from the drop down menu:{ "label": "Adelaide", "value": "Australia/Adelaide" }{ "label": "Aden", "value": "Asia/Aden" }{ "label": "Alaska", "value": "America/Anchorage" }{ "label": "Algiers", "value": "Africa/Algiers" }{ "label": "Almaty", "value": "Asia/Almaty" }{ "label": "Amman", "value": "Asia/Amman" }{ "label": "Amsterdam", "value": "Europe/Amsterdam" }{ "label": "Amsterdam, Berlin, Rome, Stockholm, Vienna", "value": "Europe/Berlin" }{ "label": "Arizona", "value": "America/Phoenix" }{ "label": "Astana, Dhaka", "value": "Asia/Dhaka" }{ "label": "Athens", "value": "Europe/Athens" }{ "label": "Atlantic Time (Canada)", "value": "Canada/Atlantic" }{ "label": "Auckland, Wellington", "value": "Pacific/Auckland" }{ "label": "Azores", "value": "Atlantic/Azores" }{ "label": "Baghdad", "value": "Asia/Baghdad" }{ "label": "Bahrain", "value": "Asia/Bahrain" }{ "label": "Baku, Tbilisi, Yerevan", "value": "Asia/Baku" }{ "label": "Bangkok", "value": "Asia/Bangkok" }{ "label": "Beijing, Shanghai", "value": "Asia/Shanghai" }{ "label": "Beirut", "value": "Asia/Beirut" }{ "label": "Belgrade, Bratislava, Ljubljana", "value": "Europe/Belgrade" }{ "label": "Bogota", "value": "America/Bogota" }{ "label": "Brasilia", "value": "America/Araguaina" }{ "label": "Brisbane", "value": "Australia/Brisbane" }{ "label": "Brussels", "value": "Europe/Brussels" }{ "label": "Bucharest", "value": "Europe/Bucharest" }{ "label": "Budapest", "value": "Europe/Budapest" }{ "label": "Buenos Aires, Georgetown", "value": "America/Argentina/Buenos_Aires" }{ "label": "Cairo", "value": "Africa/Cairo" }{ "label": "Canberra, Melbourne, Sydney", "value": "Australia/Sydney" }{ "label": "Cape Verde Islands", "value": "Atlantic/Cape_Verde" }{ "label": "Caracas", "value": "America/Caracas" }{ "label": "Casablanca", "value": "Africa/Casablanca" }{ "label": "Central Time (US and Canada)", "value": "America/Chicago" }{ "label": "Copenhagen", "value": "Europe/Copenhagen" }{ "label": "Costa Rica", "value": "America/Costa_Rica" }{ "label": "Dacca", "value": "Asia/Dacca" }{ "label": "Damascus", "value": "Asia/Damascus" }{ "label": "Darwin", "value": "Australia/Darwin" }{ "label": "Djibouti", "value": "Africa/Djibouti" }{ "label": "Dubai", "value": "Asia/Dubai" }{ "label": "Dublin", "value": "Europe/Dublin" }{ "label": "Eastern Time (US and Canada)", "value": "America/New_York" }{ "label": "Edmonton", "value": "America/Edmonton" }{ "label": "El Salvador", "value": "America/El_Salvador" }{ "label": "Fiji Islands, Marshall Islands", "value": "Pacific/Fiji" }{ "label": "Greenland", "value": "America/Godthab" }{ "label": "Greenwich Mean Time", "value": "Etc/Greenwich" }{ "label": "Guam, Port Moresby", "value": "Pacific/Port_Moresby" }{ "label": "Guatemala", "value": "America/Guatemala" }{ "label": "Halifax", "value": "America/Halifax" }{ "label": "Harare, Pretoria", "value": "Africa/Harare" }{ "label": "Hawaii", "value": "Pacific/Honolulu" }{ "label": "Helsinki", "value": "Europe/Helsinki" }{ "label": "Hobart", "value": "Australia/Hobart" }{ "label": "Hong Kong", "value": "Asia/Hong_Kong" }{ "label": "Independent State of Samoa", "value": "Pacific/Apia" }{ "label": "India", "value": "Asia/Calcutta" }{ "label": "Indiana (East)", "value": "America/Indianapolis" }{ "label": "Irkutsk, Ulaanbaatar", "value": "Asia/Irkutsk" }{ "label": "Islamabad, Karachi, Tashkent", "value": "Asia/Tashkent" }{ "label": "Istanbul", "value": "Europe/Istanbul" }{ "label": "Jakarta", "value": "Asia/Jakarta" }{ "label": "Jerusalem", "value": "Asia/Jerusalem" }{ "label": "Johannesburg", "value": "Africa/Johannesburg" }{ "label": "Kabul", "value": "Asia/Kabul" }{ "label": "Kamchatka", "value": "Asia/Kamchatka" }{ "label": "Kathmandu", "value": "Asia/Kathmandu" }{ "label": "Khartoum", "value": "Africa/Khartoum" }{ "label": "Kiev", "value": "Europe/Kiev" }{ "label": "Krasnoyarsk", "value": "Asia/Krasnoyarsk" }{ "label": "Kuala Lumpur", "value": "Asia/Kuala_Lumpur" }{ "label": "Kuwait", "value": "Asia/Kuwait" }{ "label": "Lima", "value": "America/Lima" }{ "label": "Lisbon", "value": "Europe/Lisbon" }{ "label": "London", "value": "Europe/London" }{ "label": "Luxembourg", "value": "Europe/Luxembourg" }{ "label": "Madrid", "value": "Europe/Madrid" }{ "label": "Magadan", "value": "Asia/Magadan" }{ "label": "Managua", "value": "America/Managua" }{ "label": "Mazatlan", "value": "America/Mazatlan" }{ "label": "Mexico City", "value": "America/Mexico_City" }{ "label": "Midway Island, Samoa", "value": "Pacific/Midway" }{ "label": "Mogadishu", "value": "Africa/Mogadishu" }{ "label": "Montevideo", "value": "America/Montevideo" }{ "label": "Montreal", "value": "America/Montreal" }{ "label": "Moscow", "value": "Europe/Moscow" }{ "label": "Mountain Time (US and Canada)", "value": "America/Denver" }{ "label": "Mumbai, Kolkata, New Delhi", "value": "Asia/Kolkata" }{ "label": "Muscat", "value": "Asia/Muscat" }{ "label": "Nairobi", "value": "Africa/Nairobi" }{ "label": "New Caledonia", "value": "Pacific/Noumea" }{ "label": "Newfoundland and Labrador", "value": "America/St_Johns" }{ "label": "Nicosia", "value": "Asia/Nicosia" }{ "label": "Nouakchott", "value": "Africa/Nouakchott" }{ "label": "Novosibirsk", "value": "Asia/Novosibirsk" }{ "label": "Osaka, Sapporo, Tokyo", "value": "Asia/Tokyo" }{ "label": "Oslo", "value": "Europe/Oslo" }{ "label": "Pacific Time (US and Canada)", "value": "America/Los_Angeles" }{ "label": "Pago Pago", "value": "Pacific/Pago_Pago" }{ "label": "Panama", "value": "America/Panama" }{ "label": "Paris", "value": "Europe/Paris" }{ "label": "Perth", "value": "Australia/Perth" }{ "label": "Prague Bratislava", "value": "Europe/Prague" }{ "label": "Puerto Rico", "value": "America/Puerto_Rico" }{ "label": "Qatar", "value": "Asia/Qatar" }{ "label": "Reykjavik", "value": "Atlantic/Reykjavik" }{ "label": "Riyadh", "value": "Asia/Riyadh" }{ "label": "Rome", "value": "Europe/Rome" }{ "label": "Santiago", "value": "America/Santiago" }{ "label": "Sao Paulo", "value": "America/Sao_Paulo" }{ "label": "Sarajevo, Skopje, Zagreb", "value": "CET" }{ "label": "Saskatchewan", "value": "America/Regina" }{ "label": "Seoul", "value": "Asia/Seoul" }{ "label": "Singapore", "value": "Asia/Singapore" }{ "label": "Sofia", "value": "Europe/Sofia" }{ "label": "Solomon Islands", "value": "SST" }{ "label": "Stockholm", "value": "Europe/Stockholm" }{ "label": "Taipei", "value": "Asia/Taipei" }{ "label": "Tegucigalpa", "value": "America/Tegucigalpa" }{ "label": "Tehran", "value": "Asia/Tehran" }{ "label": "Tijuana", "value": "America/Tijuana" }{ "label": "Tripoli", "value": "Africa/Tripoli" }{ "label": "Tunis", "value": "Africa/Tunis" }{ "label": "Universal Time UTC", "value": "UTC" }{ "label": "Vancouver", "value": "America/Vancouver" }{ "label": "Vienna", "value": "Europe/Vienna" }{ "label": "Vietnam", "value": "Asia/Saigon" }{ "label": "Vladivostok", "value": "Asia/Vladivostok" }{ "label": "Warsaw", "value": "Europe/Warsaw" }{ "label": "West Central Africa", "value": "Africa/Bangui" }{ "label": "Winnipeg", "value": "America/Winnipeg" }{ "label": "Yakutsk", "value": "Asia/Yakutsk" }{ "label": "Yekaterinburg", "value": "Asia/Yekaterinburg" }{ "label": "Zurich", "value": "Europe/Zurich" }
Passwordpasswordstring

The password required to join the meeting. By default, a password can only have a maximum length of 10 characters and only contain alphanumeric characters and the @, -, _ and * characters.

Action 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)

More Ways to Connect Zoom Admin + Slack