with Darwinbox and Docusign?
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
Darwinbox is a cloud-based Human Resources Management System (HRMS) that streamulates HR processes from recruitment to retirement. With the Darwinbox API, you can automate various HR tasks such as employee onboarding, performance appraisals, and leave management. The API allows you to synchronize employee data across different systems, automate HR workflows, and build custom integrations to extend the capabilities of your HR tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
darwinbox: {
type: "app",
app: "darwinbox",
}
},
async run({steps, $}) {
const data = {
"username": `${this.darwinbox.$auth.username}`,
"password": `${this.darwinbox.$auth.password}`,
"api_key": `[AES256 encrypted string of(${this.darwinbox.$auth.api_key})]`,
}
return await axios($, {
method: "post",
url: `https://${this.darwinbox.$auth.subdomain}.darwinbox.in/loginapi/employee`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.darwinbox.$auth.username}`,
password: `${this.darwinbox.$auth.password}`,
},
data,
})
},
})
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}`,
},
})
},
})