← RingCentral + GitHub integrations

Create Issue with GitHub API on New Call Recording from RingCentral API

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

Trigger workflow on
New Call Recording from the RingCentral API
Next, do this
Create Issue with the GitHub 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 RingCentral trigger and GitHub 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 Call Recording trigger
    1. Connect your RingCentral account
    2. Configure Timer
    3. Select a Extension
  3. Configure the Create Issue action
    1. Connect your GitHub account
    2. Select a Repository
    3. Configure Title
    4. Optional- Configure Body
    5. Optional- Select one or more Labels
    6. Optional- Select one or more Assignees
  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 events when a call recording is created
Version:0.1.2
Key:ringcentral-new-call-recording

Trigger Code

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

export default {
  ...common,
  key: "ringcentral-new-call-recording",
  name: "New Call Recording",
  description: "Emit new events when a call recording is created",
  type: "source",
  version: "0.1.2",
  props: {
    ...common.props,
    extensionId: {
      propDefinition: [
        common.props.ringcentral,
        "extensionId",
      ],
      type: "string",
      label: "Extension",
    },
  },
  methods: {
    ...common.methods,
    generateMeta(data) {
      const {
        id,
        startTime: timestamp,
        direction,
      } = data;
      const ts = Date.parse(timestamp);

      const { phoneNumber } = direction === "Outbound"
        ? data.to
        : data.from;
      const maskedPhoneNumber = this.getMaskedNumber(phoneNumber);
      const summary = `New call recording (${maskedPhoneNumber})`;

      return {
        id,
        summary,
        ts,
      };
    },
    async processEvent(opts) {
      const {
        dateFrom,
        dateTo,
      } = opts;

      const callRecordingsScan = this.ringcentral.getCallRecordings(
        this.extensionId,
        dateFrom,
        dateTo,
      );
      for await (const record of callRecordingsScan) {
        const meta = this.generateMeta(record);
        this.$emit(record, meta);
      }
    },
  },
};

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
RingCentralringcentralappThis component uses the RingCentral app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
Timertimer$.interface.timer

The timer that will trigger the event source

ExtensionextensionIdstringSelect a value from the drop down menu.

Trigger 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

Action

Description:Create a new issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#create-an-issue)
Version:0.2.0
Key:github-create-issue

Action Code

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

export default {
  key: "github-create-issue",
  name: "Create Issue",
  description: "Create a new issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#create-an-issue)",
  version: "0.2.0",
  type: "action",
  props: {
    github,
    repoFullname: {
      label: "Repository",
      description: "The name of the repository. The name is not case sensitive",
      type: "string",
      propDefinition: [
        github,
        "repoFullname",
      ],
    },
    title: {
      label: "Title",
      description: "The title of the issue",
      type: "string",
    },
    body: {
      label: "Body",
      description: "The contents of the issue",
      type: "string",
      optional: true,
    },
    labels: {
      label: "Labels",
      description: "Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues",
      optional: true,
      propDefinition: [
        github,
        "labels",
        (c) => ({
          repoFullname: c.repoFullname,
        }),
      ],
    },
    assignees: {
      label: "Assignees",
      description: "Logins for Users to assign to this issue. NOTE: Only users with push access can set assignees for new issues",
      optional: true,
      propDefinition: [
        github,
        "collaborators",
        (c) => ({
          repoFullname: c.repoFullname,
        }),
      ],
    },
  },
  async run({ $ }) {
    const response = await this.github.createIssue({
      repoFullname: this.repoFullname,
      data: {
        title: this.title,
        body: this.body,
        labels: this.labels,
        assignees: this.assignees,
      },
    });

    $.export("$summary", "Successfully created issue.");

    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
GitHubgithubappThis component uses the GitHub app.
RepositoryrepoFullnamestringSelect a value from the drop down menu.
Titletitlestring

The title of the issue

Bodybodystring

The contents of the issue

Labelslabelsstring[]Select a value from the drop down menu.
Assigneesassigneesstring[]Select a value from the drop down menu.

Action Authentication

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

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

repoadmin:orgadmin:public_keyadmin:org_hookgistprojectnotificationsuserwrite:discussionwrite:packagesread:packagesadmin:repo_hook

About GitHub

Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.

More Ways to Connect GitHub + RingCentral

Create Issue with GitHub API on Missed Inbound Call (Instant) from Ringcentral API
RingCentral + GitHub
 
Try it
Create Issue with GitHub API on New Event (Instant) from Ringcentral API
RingCentral + GitHub
 
Try it
Create Issue with GitHub API on New Inbound Call (Instant) from Ringcentral API
RingCentral + GitHub
 
Try it
Create Issue with GitHub API on New Inbound Fax (Instant) from Ringcentral API
RingCentral + GitHub
 
Try it
Create Issue with GitHub API on New Inbound Message Event (Instant) from Ringcentral API
RingCentral + GitHub
 
Try it
New Call Recording from the RingCentral API

Emit new events when a call recording is created

 
Try it
New Event (Instant) from the RingCentral API

Emit new event for each notification from RingCentral of a specified type

 
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
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
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Get Repo with the GitHub API

Get details for a repo: the owner, description, metrics (e.g., forks, stars, watchers, issues) and more.

 
Try it