Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Create a PDF document based on selected template identifier and defined payload. See the documentation
The Pdfless API provides a suite of tools for creating and manipulating PDF documents, enabling users to generate PDFs from HTML, merge multiple PDFs into one, split a PDF into separate files, and convert PDFs to other formats. By incorporating the Pdfless API into Pipedream workflows, you can automate document processing tasks, streamline data extraction, and integrate with other services to manage documents as part of larger business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdfless: {
type: "app",
app: "pdfless",
}
},
async run({steps, $}) {
const data = {
"template_id": `[your_template_id]`,
"payload": `{ "Company": "Company & co" } }`,
}
return await axios($, {
method: "post",
url: `https://api.pdfless.com/v1/pdfs`,
headers: {
"apikey": `${this.pdfless.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})