← Mailgun + Zoom integrations

Add Webinar Registrant with Zoom API on New Bounce (Instant) from Mailgun API

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

Trigger workflow on
New Bounce (Instant) from the Mailgun API
Next, do this
Add Webinar Registrant with the Zoom 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 Mailgun trigger and Zoom 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 Bounce (Instant) trigger
    1. Connect your Mailgun account
    2. Select a Domain Name
    3. Configure Mailgun webhook signing key
  3. Configure the Add Webinar Registrant action
    1. Connect your Zoom account
    2. Configure webinar_id
    3. Optional- Configure occurrence_ids
    4. Configure email
    5. Configure first_name
    6. Configure last_name
    7. Optional- Configure address
    8. Optional- Configure city
    9. Optional- Configure country
    10. Optional- Configure zip
    11. Optional- Configure state
    12. Optional- Configure phone
    13. Optional- Configure industry
    14. Optional- Configure org
    15. Optional- Configure job_title
    16. Optional- Configure purchasing_time_frame
    17. Optional- Configure role_in_purchase_process
    18. Optional- Configure no_of_employees
    19. Optional- Configure comments
    20. Optional- Configure custom_questions
  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 when the email recipient could not be reached.
Version:0.0.2
Key:mailgun-new-bounce

Mailgun Overview

Mailgun allows you to send and receive emails using their API. With Mailgun,
you can build a variety of applications and services that can send or receive
emails. Here are a few examples of what you can build with Mailgun:

  • A simple email service that can send or receive emails
  • An email marketing service that can send mass emails
  • A notification service that can send emails when certain events occur
  • A task management service that can send emails when tasks are due
  • A customer support service that can send or receive emails from customers

Trigger Code

import common from "../common/http-based.mjs";

export default {
  ...common,
  key: "mailgun-new-bounce",
  name: "New Bounce (Instant)",
  type: "source",
  description: "Emit new event when the email recipient could not be reached.",
  version: "0.0.2",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getEventName() {
      return [
        "bounce",
      ];
    },
    getEventType() {
      return [
        "bounced",
      ];
    },
  },
  async run(event) {
    if (!event.body?.signature) {
      console.warn("Webhook signature missing, skipping");
      return;
    }
    if (!this.verifySignature(event.body)) {
      this.http.respond({
        status: 401,
      });
      console.warn("Webhook signature invalid, skipping");
      return;
    }
    this.emitEvent(event.body);
  },
};

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
MailgunmailgunappThis component uses the Mailgun app.
Domain NamedomainstringSelect a value from the drop down menu.
Mailgun webhook signing keywebhookSigningKeystring

Your Mailgun webhook signing key, found in your Mailgun dashboard, located under Settings on the left-hand nav and then in API Keys look for webhook signing key. Required to compute the authentication signature of events.

N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.

Trigger Authentication

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

Get your API Key in the Control Panel, specifically in Settings > API Keys. More info in docs.

If your Mailgun account resides in the EU, choose the EU option in the Region field. Otherwise, choose the US (non-EU) region.

About Mailgun

Sending, receiving and tracking email effortlessly

Action

Description:Registers a participant for a webinar.
Version:0.2.1
Key:zoom-add-webinar-registrant

Action Code

// legacy_hash_id: a_YEiPgP
import { axios } from "@pipedream/platform";

export default {
  key: "zoom-add-webinar-registrant",
  name: "Add Webinar Registrant",
  description: "Registers a participant for a webinar.",
  version: "0.2.1",
  type: "action",
  props: {
    zoom: {
      type: "app",
      app: "zoom",
    },
    webinar_id: {
      type: "string",
      description: "The webinar ID.",
    },
    occurrence_ids: {
      type: "string",
      description: "Occurrence IDs. You can find these with the meeting get API. Multiple values separated by comma.",
      optional: true,
    },
    email: {
      type: "string",
      description: "A valid email address of the registrant.",
    },
    first_name: {
      type: "string",
      description: "Registrant's first name.",
    },
    last_name: {
      type: "string",
      description: "Registrant's last name.",
    },
    address: {
      type: "string",
      description: "Registrant's address.",
      optional: true,
    },
    city: {
      type: "string",
      description: "Registrant's city.",
      optional: true,
    },
    country: {
      type: "string",
      description: "Registrant's country.",
      optional: true,
    },
    zip: {
      type: "string",
      description: "Registrant's Zip/Postal code.",
      optional: true,
    },
    state: {
      type: "string",
      description: "Registrant's State/Province.",
      optional: true,
    },
    phone: {
      type: "string",
      description: "Registrant's Phone number.",
      optional: true,
    },
    industry: {
      type: "string",
      description: "Registrant's industry.",
      optional: true,
    },
    org: {
      type: "string",
      description: "Registrant's Organization.",
      optional: true,
    },
    job_title: {
      type: "string",
      description: "Registrant's job title.",
      optional: true,
    },
    purchasing_time_frame: {
      type: "string",
      description: "This field can be included to gauge interest of webinar attendees towards buying your product or service.",
      optional: true,
    },
    role_in_purchase_process: {
      type: "string",
      description: "Role in Purchase Process.",
      optional: true,
    },
    no_of_employees: {
      type: "string",
      description: "Number of Employees.",
      optional: true,
    },
    comments: {
      type: "string",
      description: "A field that allows registrants to provide any questions or comments that they might have.",
      optional: true,
    },
    custom_questions: {
      type: "any",
      description: "Custom questions.",
      optional: true,
    },
  },
  async run({ $ }) {
  //See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate
    const config = {
      method: "post",
      url: `https://api.zoom.us/v2/webinars/${this.webinar_id}/registrants`,
      params: {
        occurrence_ids: this.occurrence_ids,
      },
      data: {
        email: this.email,
        first_name: this.first_name,
        last_name: this.last_name,
        address: this.address,
        city: this.city,
        country: this.country,
        zip: this.zip,
        state: this.state,
        phone: this.phone,
        industry: this.industry,
        org: this.org,
        job_title: this.job_title,
        purchasing_time_frame: this.purchasing_time_frame,
        role_in_purchase_process: this.role_in_purchase_process,
        no_of_employees: this.no_of_employees,
        comments: this.comments,
        custom_questions: typeof this.custom_questions == "undefined"
          ? this.custom_questions
          : JSON.parse(this.custom_questions),
      },
      headers: {
        "Authorization": `Bearer ${this.zoom.$auth.oauth_access_token}`,
        "Content-Type": "application/json",
      },
    };
    return await axios($, config);
  },
};

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
ZoomzoomappThis component uses the Zoom app.
webinar_idwebinar_idstring

The webinar ID.

occurrence_idsoccurrence_idsstring

Occurrence IDs. You can find these with the meeting get API. Multiple values separated by comma.

emailemailstring

A valid email address of the registrant.

first_namefirst_namestring

Registrant's first name.

last_namelast_namestring

Registrant's last name.

addressaddressstring

Registrant's address.

citycitystring

Registrant's city.

countrycountrystring

Registrant's country.

zipzipstring

Registrant's Zip/Postal code.

statestatestring

Registrant's State/Province.

phonephonestring

Registrant's Phone number.

industryindustrystring

Registrant's industry.

orgorgstring

Registrant's Organization.

job_titlejob_titlestring

Registrant's job title.

purchasing_time_framepurchasing_time_framestring

This field can be included to gauge interest of webinar attendees towards buying your product or service.

role_in_purchase_processrole_in_purchase_processstring

Role in Purchase Process.

no_of_employeesno_of_employeesstring

Number of Employees.

commentscommentsstring

A field that allows registrants to provide any questions or comments that they might have.

custom_questionscustom_questionsany

Custom questions.

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

More Ways to Connect Zoom + Mailgun

Add Meeting Registrant with Zoom API on New Bounce from Mailgun API
Mailgun + Zoom
 
Try it
Create Meeting with Zoom API on New Bounce from Mailgun API
Mailgun + Zoom
 
Try it
Create User with Zoom API on New Bounce from Mailgun API
Mailgun + Zoom
 
Try it
Delete User with Zoom API on New Bounce from Mailgun API
Mailgun + Zoom
 
Try it
Get Meeting Details with Zoom API on New Bounce from Mailgun API
Mailgun + Zoom
 
Try it
New Bounce (Instant) from the Mailgun API

Emit new event when the email recipient could not be reached.

 
Try it
New Click (Instant) from the Mailgun API

Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

 
Try it
New Complaint (Instant) from the Mailgun API

Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.

 
Try it
New Delivery (Instant) from the Mailgun API

Emit new event when an email is sent and accepted by the recipient email server.

 
Try it
New Delivery Failure (Instant) from the Mailgun API

Emit new event when an email can't be delivered to the recipient email server.

 
Try it
Create Mailing List Member with the Mailgun API

Add to an existing mailing list. See the docs here

 
Try it
Create Route with the Mailgun API

Create a new route. See the docs here

 
Try it
Delete Mailing List Member with the Mailgun API

Delete a mailing list member by address. See the docs here

 
Try it
Get Mailing List Member with the Mailgun API

Retrieve a mailing list member by address. See the docs here

 
Try it
Get Mailing List Members with the Mailgun API

List all mailing list members. See the docs here

 
Try it