with Formstack Documents and The Magic Drip?
Emit new event when a new document is created. See documentation
Emit new event when a campaign is created. See the documentation
Emit new event when a template is created. See the documentation
Get the details of the specified document. See documentation
Initiates a merge process using provided data. See documentation
The Formstack Documents API gives you the power to automate document creation and delivery, making it simple to generate custom PDFs, Word documents, PowerPoint presentations, and more, from your data. By leveraging the API within Pipedream, you can integrate dynamic document generation into your workflows. You might merge data from various sources, populate templates with real-time data, and send documents directly to customers or team members.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formstack_documents: {
type: "app",
app: "formstack_documents",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.webmerge.me/api/documents`,
auth: {
username: `${this.formstack_documents.$auth.api_key}`,
password: `${this.formstack_documents.$auth.api_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_magic_drip: {
type: "app",
app: "the_magic_drip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.themagicdrip.com/v1/campaign`,
headers: {
"x-api-key": `${this.the_magic_drip.$auth.api_key}`,
},
})
},
})