with Tapform and PDF-app.net?
Convert an image from a URL to a PDF File with PDF-app.net. See the documentation
Split a PDF into multiple PDFs containing the specified number of pages. See the documentation
The Tapform API furnishes a way to automate and integrate form data handling in Pipedream's serverless environment. With it, you can manipulate form submissions, manage user data, and connect forms to other services for complex workflows. This opens endless possibilities to streamline data collection processes, react in real-time to user submissions, and connect form data to more than 500+ apps available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tapform: {
type: "app",
app: "tapform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apimvp.tapform.io/api/leads/zapier-leads`,
headers: {
"tapform-api-key": `${this.tapform.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf_app_net: {
type: "app",
app: "pdf_app_net",
}
},
async run({steps, $}) {
const data = {
"fileUrl": `https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf`,
"pagesPerSplit": `1`,
"async": `false`,
"fileName": `MyPDF`,
}
return await axios($, {
method: "post",
url: `https://api.pdf-app.net/splitt_PDF`,
headers: {
"Authorization": `${this.pdf_app_net.$auth.api_key}`,
},
data,
})
},
})