Sign documents quickly and easily
Add a recipient to an existing Docnify document. [See the documentation](See the documentation)
Create a new document in Docnify from a pre-existing template. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docnify: {
type: "app",
app: "docnify",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docnify.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.docnify.$auth.api_token}`,
},
params: {
page: `1`,
perPage: `1`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})