MongoDB

The global cloud database service for modern applications

Go to site

Integrate the MongoDB API with the Dropbox API

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

Popular Ways to Connect MongoDB with Dropbox

1
-
5
of
5
integrations by popularity

Popular MongoDB and Dropbox Triggers

1
-
3
of
3
triggers by popularity

Popular MongoDB and Dropbox Actions

1
-
6
of
10
actions by popularity

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()

Connect Dropbox

const data = {
  "account_id": `${auths.dropbox.oauth_uid}`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://api.dropboxapi.com/2/users/get_account`,
  headers: {
    Authorization: `Bearer ${auths.dropbox.oauth_access_token}`,
  },
  data,
})

Community Posts (1)

Integrating Location Data into Pipedream Workflows
Integrating Location Data into Pipedream Workflows
Over the past few months, I've become somewhat enamored with a new service called Pipedream. Pipedream is yet another serverless solution with a bit of a twist. It makes it easy to build workflows by piecing together various actions like LEGO bricks. These actions are small pieces of programming logic that cover a wide variety of different services. You can connect these actions together along with the ability to write Node code for your own logic.