PDF Export by PDFCrowd converts webpage URLs or HTML content to PDF in Pipedream workflows. Prepare the input with code or no-code steps and use the generated PDF in a later step.
The following examples show how to configure PDF Export actions in your Pipedream workflows.
Enter your PDFCrowd username and API key
in the PDFCrowd connection settings. You can run the examples without a
PDFCrowd account by entering demo in both the username and API key fields.
Convert a public webpage URL to PDF. Replace the example URL with a page on your website that PDFCrowd can access.
| Action: | Convert HTML to PDF |
| URL: | https://your-site.example/invoice/123 |
| Output Filename: | invoice.pdf |
The action outputs PDF data that you can use in subsequent steps - for example, to attach to an email, upload to cloud storage, or send via webhook.
Convert HTML content directly - useful when generating PDFs from templates or data from previous workflow steps.
| Action: | Convert HTML to PDF |
| HTML Content: |
<html>
<body>
<h1>Invoice #${steps.trigger.event.invoice_number}</h1>
<p>Amount: $${steps.trigger.event.amount}</p>
<p>Date: ${steps.trigger.event.date}</p>
</body>
</html>
|
| Output Filename: | invoice-${steps.trigger.event.invoice_number}.pdf |
Use Pipedream's data references to insert dynamic values from trigger data or previous step outputs into your HTML template.
Set the page size, margins, headers and footers.
| Action: | Convert HTML to PDF |
| URL: | https://your-site.example/report |
| Page Size: | Letter |
| Orientation: | landscape |
| Margin Top: | 1in |
| Margin Bottom: | 1in |
| Footer HTML: |
<div style="text-align: center; font-size: 10px;"> Page <span class="pdfcrowd-page-number"></span> of <span class="pdfcrowd-page-count"></span> </div> |
Access all available conversion options including headers, footers, watermarks, and advanced page setup.
A typical workflow that generates a PDF and sends it via email:
submission-${steps.trigger.event.id}.pdfThe PDF output from PDFCrowd can be used directly as an attachment in email actions, uploaded to cloud storage, or processed by other apps.
When you add the PDFCrowd action to your workflow, Pipedream will prompt you to connect your PDFCrowd account.
Once connected, Pipedream securely stores your credentials. You can manage your connections in Pipedream's Connected Accounts settings.
401 Unauthorized403 Forbidden400 Bad Request430 Too Many Concurrent RequestsSee status codes reference for details.
Refer for details to the Pipedream Reference.