← Stripe + GoTo Webinar integrations

Create Webinar with GoTo Webinar API on New Failed Payment from Stripe API

Pipedream makes it easy to connect APIs for GoTo Webinar, Stripe and 2,400+ other apps remarkably fast.

Trigger workflow on
New Failed Payment from the Stripe API
Next, do this
Create Webinar with the GoTo Webinar API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

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

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Stripe trigger and GoTo Webinar 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 Failed Payment trigger
    1. Connect your Stripe account
  3. Configure the Create Webinar action
    1. Connect your GoTo Webinar account
    2. Select a Organizer Key
    3. Configure Subject
    4. Optional- Configure Description
    5. Optional- Configure Time Zone
    6. Select a Type
    7. Optional- Configure Is Password Protected
    8. Optional- Configure Recording Asset Key
    9. Optional- Configure Is Ondemand
    10. Optional- Select a Experience Type
    11. Optional- Configure Confirmation Email
    12. Optional- Configure Reminder Email
    13. Optional- Configure Absentee Follow-up Email
    14. Optional- Configure Attendee Follow-up Email
    15. Optional- Configure Attendee Include Certificate
  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 for each new failed payment
Version:0.1.1
Key:stripe-new-failed-payment

Stripe Overview

The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.

Trigger Code

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

export default {
  ...common,
  key: "stripe-new-failed-payment",
  name: "New Failed Payment",
  type: "source",
  version: "0.1.1",
  description: "Emit new event for each new failed payment",
  methods: {
    ...common.methods,
    getEvents() {
      return [
        "payment_intent.payment_failed",
        "charge.failed",
      ];
    },
  },
};

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
StripestripeappThis component uses the Stripe app.
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.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.

Trigger Authentication

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

Stripe uses API keys to authenticate requests (more info in their docs here).

To connect Pipedream to your Stripe account,

  1. Create a Stripe API key
  2. Click "Create Restricted Key"
  3. Enter the Restricted API key below.

To help ensure proper security, we recommend you create a Restricted key with scopes relevant to the specific operations you will use in Pipedream.

About Stripe

Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.

Action

Description:Creates a single session webinar, a sequence of webinars or a series of webinars depending on the type field in the body. [See the documentation](https://developer.goto.com/GoToWebinarV2/#operation/createWebinar)
Version:0.0.1
Key:gotowebinar-create-webinar

GoTo Webinar Overview

The GoTo Webinar API enables you to automate interactions with your webinars on GoTo Webinar. With this API, you can create, update, and retrieve your webinars, manage registrants, send reminders, and extract analytics data, all through programmatic means. Integrating it with Pipedream, you can build powerful workflows that trigger on specific events, take action using the API, and connect with other apps to streamline your webinar management process.

Action Code

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

export default {
  key: "gotowebinar-create-webinar",
  name: "Create Webinar",
  version: "0.0.1",
  description: "Creates a single session webinar, a sequence of webinars or a series of webinars depending on the type field in the body. [See the documentation](https://developer.goto.com/GoToWebinarV2/#operation/createWebinar)",
  type: "action",
  props: {
    gotowebinar,
    organizerKey: {
      propDefinition: [
        gotowebinar,
        "organizerKey",
      ],
    },
    subject: {
      type: "string",
      label: "Subject",
      description: "The name/subject of the webinar.",
    },
    description: {
      type: "string",
      label: "Description",
      description: "A short description of the webinar.",
      optional: true,
    },
    timeZone: {
      type: "string",
      label: "Time Zone",
      description: "The time zone where the webinar is taking place (must be a valid time zone ID). If this parameter is not passed, the timezone of the organizer's profile will be used. [See the list of TimeZones](https://www.ibm.com/docs/en/was/9.0.5?topic=ctzs-time-zone-ids-that-can-be-specified-usertimezone-property)",
      optional: true,
    },
    type: {
      type: "string",
      label: "Type",
      description: "Specifies the webinar type.",
      options: [
        "single_session",
        "series",
        "sequence",
      ],
      default: "single_session",
      reloadProps: true,
    },
    isPasswordProtected: {
      type: "boolean",
      label: "Is Password Protected",
      description: "A boolean flag indicating if the webinar is password protected or not. Default is `false`.",
      optional: true,
    },
    recordingAssetKey: {
      type: "string",
      label: "Recording Asset Key",
      description: "The recording asset with which the simulive webinar should be created from. In case the recordingasset was created as an online recording the simulive webinar settings, poll and surveys would be copied from the webinar whose session was recorded.",
      optional: true,
    },
    isOndemand: {
      type: "boolean",
      label: "Is Ondemand",
      description: "A boolean flag indicating if the webinar should be ondemand. Default is `false`.",
      optional: true,
    },
    experienceType: {
      type: "string",
      label: "Experience Type",
      description: "Specifies the experience type. Default is `CLASSIC`",
      options: [
        "CLASSIC",
        "BROADCAST",
        "SIMULIVE",
      ],
      optional: true,
    },
    confirmationEmail: {
      type: "boolean",
      label: "Confirmation Email",
      description: "Set whether the confirmation email is sent or not.",
      optional: true,
    },
    reminderEmail: {
      type: "boolean",
      label: "Reminder Email",
      description: "Set whether the reminder email is sent or not.",
      optional: true,
    },
    absenteeFollowUpEmail: {
      type: "boolean",
      label: "Absentee Follow-up Email",
      description: "Set whether the absentee follow-up email is sent or not.",
      optional: true,
    },
    attendeeFollowUpEmail: {
      type: "boolean",
      label: "Attendee Follow-up Email",
      description: "Set whether the attendee follow-up email is sent or not.",
      optional: true,
    },
    attendeeIncludeCertificate: {
      type: "boolean",
      label: "Attendee Include Certificate",
      description: "Indicates whether to include certificates in attendee follow-up emails is enabled or disabled.",
      optional: true,
    },
  },
  async additionalProps() {
    let props = {};
    if (this.type) {
      switch (this.type) {
      case "series":
        props.numberOfTimeframes = {
          type: "integer",
          label: "Number of Timeframes",
          description: "The quantity of timeframes you want to create.",
          min: 2,
          reloadProps: true,
        };
        break;

      case "sequence":
        this.numberOfTimeframes = 0;
        props.recurrenceEnd = {
          type: "string",
          label: "Recurrence End",
          description: "When the webinar sequence ends, e.g. `2020-03-13`.",
        };
        props.recurrencePattern = {
          type: "string",
          label: "Recurrence Pattern",
          description: "The frequence of the webinar.",
          options: [
            "daily",
            "weekly",
            "monthly",
          ],
        };
        props.startTime = {
          type: "string",
          label: "Start Time",
          description: "The starting time of an interval, e.g. `2020-03-13T10:00:00Z`.",
        };
        props.endTime = {
          type: "string",
          label: "End Time",
          description: "The ending time of an interval, e.g. `2020-03-13T10:00:00Z`.",
        };
        break;

      default:
        this.numberOfTimeframes = 0;
        props.startTime = {
          type: "string",
          label: "Start Time",
          description: "The starting time of an interval, e.g. `2020-03-13T10:00:00Z`.",
        };
        props.endTime = {
          type: "string",
          label: "End Time",
          description: "The ending time of an interval, e.g. `2020-03-13T10:00:00Z`.",
        };
        break;
      }
    }
    if (this.numberOfTimeframes) {
      props = {
        ...props,
        ...Array.from({
          length: this.numberOfTimeframes,
        }).reduce((acc, _, index) => {
          const pos = index + 1;

          return {
            ...acc,
            [`startTime-${pos}`]: {
              type: "string",
              label: `Start Time ${pos}`,
              description: "The starting time of an interval, e.g. `2020-03-13T10:00:00Z`.",
            },
            [`endTime-${pos}`]: {
              type: "string",
              label: `End Time ${pos}`,
              description: "The ending time of an interval, e.g. `2020-03-13T10:00:00Z`.",
            },
          };
        }, {}),
      };
    }
    return props;
  },
  methods: {
    getTime(index) {
      const pos = index + 1;
      const {
        [`startTime-${pos}`]: startTime,
        [`endTime-${pos}`]: endTime,
      } = this;
      return {
        startTime,
        endTime,
      };
    },
    getTimes(numberOfTimeframes) {
      return Array.from({
        length: numberOfTimeframes,
      }).map((_, index) => this.getTime(index));
    },
  },
  async run({ $ }) {
    const {
      gotowebinar,
      organizerKey,
      subject,
      description,
      timeZone,
      type,
      numberOfTimeframes,
      startTime,
      endTime,
      recurrenceEnd,
      recurrencePattern,
      isPasswordProtected,
      recordingAssetKey,
      isOndemand,
      experienceType,
      confirmationEmail,
      reminderEmail,
      absenteeFollowUpEmail,
      attendeeFollowUpEmail,
      attendeeIncludeCertificate,
    } = this;

    const obj = {};

    switch (type) {
    case "series":
      obj.times = this.getTimes(numberOfTimeframes);
      break;
    case "sequence":
      obj.recurrenceStart = {
        startTime,
        endTime,
      };
      obj.recurrenceEnd = recurrenceEnd;
      obj.recurrencePattern = recurrencePattern;
      break;
    default:
      obj.times = [
        {
          startTime,
          endTime,
        },
      ];
      break;
    }

    const response = await gotowebinar.createWebinar({
      $,
      organizerKey,
      data: {
        subject,
        description,
        timeZone,
        type,
        isPasswordProtected,
        recordingAssetKey,
        isOndemand,
        experienceType,
        emailSettings: {
          confirmationEmail: {
            enabled: confirmationEmail,
          },
          reminderEmail: {
            enabled: reminderEmail,
          },
          absenteeFollowUpEmail: {
            enabled: absenteeFollowUpEmail,
          },
          attendeeFollowUpEmail: {
            enabled: attendeeFollowUpEmail,
            includeCertificate: attendeeIncludeCertificate,
          },
        },
        ...obj,
      },
    });

    $.export("$summary", `A new webinar with key: ${response.webinarKey} was successfully created!`);
    return response;
  },
};

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
GoTo WebinargotowebinarappThis component uses the GoTo Webinar app.
Organizer KeyorganizerKeystringSelect a value from the drop down menu.
Subjectsubjectstring

The name/subject of the webinar.

Descriptiondescriptionstring

A short description of the webinar.

Time ZonetimeZonestring

The time zone where the webinar is taking place (must be a valid time zone ID). If this parameter is not passed, the timezone of the organizer's profile will be used. See the list of TimeZones

TypetypestringSelect a value from the drop down menu:single_sessionseriessequence
Is Password ProtectedisPasswordProtectedboolean

A boolean flag indicating if the webinar is password protected or not. Default is false.

Recording Asset KeyrecordingAssetKeystring

The recording asset with which the simulive webinar should be created from. In case the recordingasset was created as an online recording the simulive webinar settings, poll and surveys would be copied from the webinar whose session was recorded.

Is OndemandisOndemandboolean

A boolean flag indicating if the webinar should be ondemand. Default is false.

Experience TypeexperienceTypestringSelect a value from the drop down menu:CLASSICBROADCASTSIMULIVE
Confirmation EmailconfirmationEmailboolean

Set whether the confirmation email is sent or not.

Reminder EmailreminderEmailboolean

Set whether the reminder email is sent or not.

Absentee Follow-up EmailabsenteeFollowUpEmailboolean

Set whether the absentee follow-up email is sent or not.

Attendee Follow-up EmailattendeeFollowUpEmailboolean

Set whether the attendee follow-up email is sent or not.

Attendee Include CertificateattendeeIncludeCertificateboolean

Indicates whether to include certificates in attendee follow-up emails is enabled or disabled.

Action Authentication

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

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

collab:

About GoTo Webinar

Your all-in-one virtual event platform. With customizable modes, interactive features, insightful analytics, powerful integrations, and flexible pricing, our intuitive webinar platform has everything you need to host virtual events of all sizes.

More Ways to Connect GoTo Webinar + Stripe

Create Webinar with GoTo Webinar API on Canceled Subscription from Stripe API
Stripe + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on New Customer from Stripe API
Stripe + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on New Dispute from Stripe API
Stripe + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on New Failed Invoice Payment from Stripe API
Stripe + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on New Invoice from Stripe API
Stripe + GoTo Webinar
 
Try it
New Custom Webhook Events from the Stripe API

Emit new event on each webhook event

 
Try it
Canceled Subscription from the Stripe API

Emit new event for each new canceled subscription

 
Try it
New Abandoned Cart from the Stripe API

Emit new event when a customer abandons their cart.

 
Try it
New Customer from the Stripe API

Emit new event for each new customer

 
Try it
New Dispute from the Stripe API

Emit new event for each new dispute

 
Try it
Cancel a Payment Intent with the Stripe API

Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture, the remaining amount_capturable will automatically be refunded. See the docs for more information

 
Try it
Cancel Or Reverse a Payout with the Stripe API

Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information

 
Try it
Capture a Payment Intent with the Stripe API

Capture the funds of an existing uncaptured payment intent. See the docs for more information

 
Try it
Confirm a Payment Intent with the Stripe API

Confirm that your customer intends to pay with current or provided payment method. Upon confirmation, Stripe will attempt to initiate a payment. See the docs for more information

 
Try it
Create a Customer with the Stripe API

Create a customer. See the docs for more information

 
Try it

Explore Other Apps

1
-
24
of
2,400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
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.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.