Firebase Admin SDK

Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business.

Go to site

Integrate the Firebase Admin SDK API with the Dropbox API

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

Create or Append to Text File

Creates or appends to a text file

 
Try it
Create Text File

Creates a new text file

 
Try it
Upload File

Uploads a file not bigger than 100 MB

 
Try it
Save Event to Firestore
 
Try it
XXX
 
Try it

Connect Firebase Admin SDK

const admin = require('firebase-admin')

// Enter values for the following parameters below this code step,
// These get passed to the initializeApp method below.
const { projectId, clientEmail, privateKey } = auths.firebase_admin_sdk

// Before passing the privateKey to the initializeApp constructor,
// we have to replace newline characters with literal newlines
const formattedPrivateKey = privateKey.replace(/\\n/g, '\n')

// See https://firebase.google.com/docs/reference/admin/node/admin.credential.html#cert
if (!admin.apps.length) {
  admin.initializeApp({
    credential: admin.credential.cert({
      projectId,
      clientEmail,
      privateKey: formattedPrivateKey,
    })
  })
}

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

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.