Simplify document signing with Papersign, so you can spend less time in email chains and more time on the important stuff.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
papersign: {
type: "app",
app: "papersign",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paperform.co/v1/papersign/documents`,
headers: {
Authorization: `Bearer ${this.papersign.$auth.access_token}`,
"accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})