← Xero Accounting + GoTo Webinar integrations

Create Webinar with GoTo Webinar API on New or updated invoice from Xero Accounting API

Pipedream makes it easy to connect APIs for GoTo Webinar, Xero Accounting and 2,700+ other apps remarkably fast.

Trigger workflow on
New or updated invoice from the Xero Accounting 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 Xero Accounting 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 or updated invoice trigger
    1. Connect your Xero Accounting account
    2. Select a Tenant ID
    3. Configure Polling interval
  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 notifications when you create a new or update existing invoice
Version:0.0.3
Key:xero_accounting_api-new-updated-invoice

Xero Accounting Overview

The Xero Accounting API offers a powerful gateway to access and manipulate financial data within Xero. Leveraging Pipedream's capabilities, developers can build custom workflows that streamline accounting processes, sync financial data with external systems, and trigger actions based on financial events. This API allows for the automation of tasks such as invoicing, bank reconciliation, bill payments, and reporting, which can lead to significant time savings and enhanced data accuracy.

Trigger Code

import { formatJsonDate } from "../../common/util.mjs";
import xeroAccountingApi from "../../xero_accounting_api.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";

export default {
  key: "xero_accounting_api-new-updated-invoice",
  name: "New or updated invoice",
  description: "Emit new notifications when you create a new or update existing invoice",
  version: "0.0.3",
  type: "source",
  props: {
    xeroAccountingApi,
    tenantId: {
      propDefinition: [
        xeroAccountingApi,
        "tenantId",
      ],
    },
    timer: {
      label: "Polling interval",
      description: "Pipedream will poll Xero accounting API on this schedule",
      type: "$.interface.timer",
      default: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
    db: "$.service.db",
  },
  dedupe: "unique",
  async run() {
    let lastDateChecked = this.xeroAccountingApi.getLastDateChecked(this.db);

    if (!lastDateChecked) {
      lastDateChecked = new Date().toISOString();
      this.xeroAccountingApi.setLastDateChecked(this.db, lastDateChecked);
    }

    const invoices = (
      await this.xeroAccountingApi.getInvoice(
        null,
        this.tenantId,
        null,
        lastDateChecked,
      )
    )?.Invoices;
    invoices &&
      invoices.reverse().forEach((invoice) => {
        const formattedDate = formatJsonDate(invoice.UpdatedDateUTC);
        this.xeroAccountingApi.setLastDateChecked(this.db, formattedDate);
        this.$emit(invoice, {
          id: `${invoice.InvoiceID}D${formattedDate || ""}`,
          summary: invoice.InvoiceID,
        });
      });
  },
};

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
Xero AccountingxeroAccountingApiappThis component uses the Xero Accounting app.
Tenant IDtenantIdstringSelect a value from the drop down menu.
Polling intervaltimer$.interface.timer

Pipedream will poll Xero accounting API on this schedule

N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.

Trigger Authentication

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

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

offline_accessopenidprofileemailaccounting.transactionsaccounting.transactions.readaccounting.reports.readaccounting.settingsaccounting.settings.readaccounting.contactsaccounting.attachmentsaccounting.journals.read

About Xero Accounting

Accounting Software

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:

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 + Xero Accounting

Create Registrant with GoTo Webinar API on New or updated contact from Xero Accounting API
Xero Accounting + GoTo Webinar
 
Try it
Create Registrant with GoTo Webinar API on New or updated invoice from Xero Accounting API
Xero Accounting + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on New or updated contact from Xero Accounting API
Xero Accounting + GoTo Webinar
 
Try it
Create Registrant with GoTo Webinar API on Webhook Event Received (Instant) from Xero Accounting API
Xero Accounting + GoTo Webinar
 
Try it
Create Webinar with GoTo Webinar API on Webhook Event Received (Instant) from Xero Accounting API
Xero Accounting + GoTo Webinar
 
Try it
New or updated contact from the Xero Accounting API

Emit new notifications when you create a new or update existing contact

 
Try it
New or updated invoice from the Xero Accounting API

Emit new notifications when you create a new or update existing invoice

 
Try it
Webhook Event Received (Instant) from the Xero Accounting API

Emit new event for each incoming webhook notification. To create a Xero Webhook, please follow the instructions here

 
Try it
New Registrant Added (Instant) from the GoTo Webinar API

Emit new event when a registrant is added.

 
Try it
New Registrant Joined (Instant) from the GoTo Webinar API

Emit new event when a registrant joins a weginar.

 
Try it
Add Items to Existing Sales Invoice with the Xero Accounting API

Adds line items to an existing sales invoice. See the docs here

 
Try it
Bank Statements Report with the Xero Accounting API

Gets bank statements for the specified bank account.

 
Try it
Create Bank Transaction with the Xero Accounting API
 
Try it
Create Bill with the Xero Accounting API

Creates a new bill (Accounts Payable)See the docs here

 
Try it
Create Credit Note with the Xero Accounting API

Creates a new credit note.

 
Try it

Explore Other Apps

1
-
24
of
2,700+
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.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
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.
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.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Pinterest
Pinterest
Pinterest is a visual discovery engine for finding ideas like recipes, home and style inspiration, and more.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
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.
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.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
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.