with FormPress and PDF-app.net?
Emit new event when there is a new submission. See the documentation
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 FormPress API allows you to create and manage forms dynamically, without needing a backend to process submissions. You can integrate FormPress with Pipedream to automate processes such as capturing form submissions, organizing data, triggering notifications, and connecting responses to various apps or services. Pipedream's serverless platform makes it simple to handle FormPress events and incorporate them into workflows, saving time and eliminating the need to manage infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formpress: {
type: "app",
app: "formpress",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.formpress.org/api/users/${this.formpress.$auth.oauth_uid}/forms`,
headers: {
Authorization: `Bearer ${this.formpress.$auth.oauth_access_token}`,
},
})
},
})
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,
})
},
})