with Stiply and PDF4me?
Emit new event when a sign request is completed in Stiply. See the documentation
Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. See the documentation
Merge multiple PDF files into a single PDF. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stiply: {
type: "app",
app: "stiply",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.stiply.nl/v2/sign_requests`,
headers: {
Authorization: `Bearer ${this.stiply.$auth.oauth_access_token}`,
"accept": `application/json`,
},
params: {
"$page": `1`,
"$page_size": `100`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf4me: {
type: "app",
app: "pdf4me",
}
},
async run({steps, $}) {
const data = {
"webUrl": `https://www.pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdf4me.com/api/v2/ConvertUrlToPdf`,
headers: {
"authorization": `${this.pdf4me.$auth.api_key}`,
},
data,
})
},
})