Firebase is Google's mobile platform that helps you quickly develop high-quality apps and grow your business.
Emit new event when an envelope status is set to sent or complete
Emit new event when a new child object is discovered within a specific path
Emit new event when a structured query returns new documents
Create and send an envelope, or create a draft envelope. See the documentation here
Creates or replaces a child object within your Firebase Realtime Database. See the docs here
Creates a signature request from a template See the docs here
The Firebase Admin SDK API provides powerful backend functionality for Firebase apps. It allows you to interact with Firebase services like Firestore, Firebase Realtime Database, Firebase Storage, and Firebase Authentication directly from a server. With Pipedream, you can harness this API to automate complex workflows, respond to Firebase events in real-time, and integrate with countless other services.
import admin from "firebase-admin"
export default defineComponent({
props: {
firebase_admin_sdk: {
type: "app",
app: "firebase_admin_sdk",
},
},
async run({ steps, $ }) {
// Enter values for the following parameters below this code step,
// These get passed to the initializeApp method below.
const {
projectId,
clientEmail,
privateKey,
region = "firebaseio.com",
} = this.firebase_admin_sdk.$auth
// 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,
}),
databaseURL: `https://${projectId}-default-rtdb.${region}/`,
})
}
},
})
The DocuSign API enables you to integrate electronic signature workflows into your applications, automate the process of sending and receiving documents for signatures, and securely manage related data. Leveraging Pipedream's platform, you can build powerful automations that streamline how contracts and agreements are handled, enhance compliance, and improve overall efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docusign: {
type: "app",
app: "docusign",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://account.docusign.com/oauth/userinfo`,
headers: {
Authorization: `Bearer ${this.docusign.$auth.oauth_access_token}`,
},
})
},
})