Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Get a unique address where you can send emails to trigger your workflow.
Create a PDF document based on selected template identifier and defined payload. See the documentation
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
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,
})
},
})