← RingCentral

New Event (Instant) from RingCentral API

Pipedream makes it easy to connect APIs for RingCentral and 900+ other apps remarkably fast.

Trigger workflow on
New Event (Instant) from the RingCentral API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
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

Trigger a workflow on New Event (Instant) with RingCentral API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Event (Instant) trigger
    1. Connect your RingCentral account
    2. Optional- Select one or more Extensions
    3. Optional- Select a Device
    4. Select one or more Notification Types
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New Event (Instant) from Ringcentral API
RingCentral + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Event (Instant) from Ringcentral API
RingCentral + Google Sheets
 
Try it
Get Film with SWAPI API on New Event (Instant) from Ringcentral API
RingCentral + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Event (Instant) from Ringcentral API
RingCentral + Airtable
 
Try it
Custom Request with HTTP / Webhook API on New Event (Instant) from Ringcentral API
RingCentral + HTTP / Webhook
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is 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.

New Event (Instant) on RingCentral
Description:Emit new event for each notification from RingCentral of a specified type
Version:0.1.0
Key:ringcentral-new-event

Code

import notificationTypes from "../common/notification-types.mjs";
import common from "../common/http-based.mjs";
import messageTypes from "../common/message-types.mjs";

export default {
  ...common,
  key: "ringcentral-new-event",
  name: "New Event (Instant)",
  description: "Emit new event for each notification from RingCentral of a specified type",
  version: "0.1.0",
  type: "source",
  props: {
    ...common.props,
    extensionId: {
      optional: true,
      propDefinition: [
        common.props.ringcentral,
        "extensionId",
      ],
    },
    deviceId: {
      optional: true,
      propDefinition: [
        common.props.ringcentral,
        "deviceId",
        ({ extensionId }) => ({
          extensionId,
        }),
      ],
    },
    notificationTypes: {
      type: "string[]",
      label: "Notification Types",
      description: "The types of notifications to emit events for",
      options({ page = 0 }) {
        if (page !== 0) {
          return [];
        }

        return notificationTypes.map(({
          label, key,
        }) => ({
          label,
          value: key,
        }));
      },
    },
  },
  methods: {
    ...common.methods,
    _getEventTypeFromFilter(eventFilter) {
      return eventFilter
        .replace(/\/restapi\/v\d+\.\d+\//, "")
        .replace(/account\/.*?\//, "")
        .replace(/extension\/.*?\//, "");
    },
    getSupportedNotificationTypes() {
      return new Set(this.notificationTypes);
    },
    getPropValues() {
      return {
        extensionId: this.extensionId,
        deviceId: this.deviceId,
        messageType: messageTypes[0],
      };
    },
    generateMeta(data) {
      const {
        uuid: id,
        timestamp,
        event: eventFilter,
      } = data;

      const eventType = this._getEventTypeFromFilter(eventFilter);
      const summary = `New event: ${eventType}`;
      const ts = Date.parse(timestamp);

      return {
        id,
        summary,
        ts,
      };
    },
  },
};

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
RingCentralringcentralappThis component uses the RingCentral app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
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.
ExtensionsextensionIdstring[]Select a value from the drop down menu.
DevicedeviceIdstringSelect a value from the drop down menu.
Notification TypesnotificationTypesstring[]Select a value from the drop down menu.

Authentication

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

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

About RingCentral

Business communications platform

More Ways to Use RingCentral

Triggers

New Call Recording from the RingCentral API

Emit new events when a call recording is created

 
Try it
New Inbound Call (Instant) from the RingCentral API

Emit new event on each incoming call

 
Try it
New Inbound Fax (Instant) from the RingCentral API

Emit new event on each incoming fax

 
Try it
New Inbound Message Event (Instant) from the RingCentral API

Emit new event for each status change of inbound messages of a specific type

 
Try it
New Inbound SMS (Instant) from the RingCentral API

Emit new event on each incoming SMS

 
Try it

Actions

Create Meeting with the RingCentral API

Creates a new meeting. See the API docs here.

 
Try it
Make CallOut with the RingCentral API

Creates a new outbound call out session. See the API docs here

 
Try it
Send SMS with the RingCentral API

Creates and sends a new text message. See the API docs here

 
Try it