Ringcentral

Business communications platform

Go to site

Integrate the Ringcentral API with the MongoDB API

Setup the Ringcentral API trigger to run a workflow which integrates with the MongoDB API. Pipedream's integration platform allows you to integrate Ringcentral and MongoDB remarkably fast. Free for developers.

Insert a document into a collection
 
Try it
Get Message

Returns individual message record(s) by the given message ID(s).

 
Try it
Create Contact

Creates personal user contact.

 
Try it
Create Event

Creates a new calendar event.

 
Try it
Create Extension

Creates an extension.

 
Try it

Connect Ringcentral

return await require("@pipedreamhq/platform").axios(this, {
  url: `${auths.ringcentral.instancetype}.ringcentral.com/restapi/v1.0/account/~`,
  headers: {
    Authorization: `Bearer ${auths.ringcentral.oauth_access_token}`,
  },
})

Connect MongoDB

const MongoClient = require('mongodb').MongoClient

const {
  database,
  hostname,
  username,
  password,
} = auths.mongodb

const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, { 
  useNewUrlParser: true, 
  useUnifiedTopology: true 
})

const db = client.db(database)
// Enter your target collection as a parameter to this step
this.res = await db.collection(params.collection).insertOne({ name: "Luke Skywalker" })

await client.close()