with Docusign and OneSignal (REST API)?
Create and send an envelope, or create a draft envelope. See the documentation here
Creates a signature request from a template See the docs here
Download the documents of an envelope to the /tmp directory. See the documentation here
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}`,
},
})
},
})
OneSignal's REST API enables developers to automate the delivery of push notifications, manage users and segments, and gather analytics to refine communication strategies. By integrating OneSignal with Pipedream, you can orchestrate complex workflows that react to events or schedules, synchronize user data across platforms, and personalize user engagement with cross-channel marketing tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_rest_api: {
type: "app",
app: "onesignal_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/players`,
headers: {
"Authorization": `Basic ${this.onesignal_rest_api.$auth.rest_api_key}`,
},
params: {
app_id: `${this.onesignal_rest_api.$auth.app_id}`,
},
})
},
})