
Automate Factur-X and ZUGFeRD e-Invoices in Python with PDF.co
15 MIN READ
Create a PDF summary from completed DocuSign envelopes by mapping their data into an HTML layout and converting it with PDF.co.
Create a Zap and select DocuSign with the Envelope Status Updated trigger.
Connect your DocuSign account and configure:
Test the trigger and select a completed envelope. Check that the result includes the envelope ID, email subject, and status.
See Zapier’s DocuSign setup guide for connection requirements.
Add PDF.co and select HTML to PDF Converter.
Connect your PDF.co account by signing in and authorizing Zapier through OAuth.
Choose Raw HTML code as the input type. Paste this example into HTML or URL Input:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
font-family: Arial, sans-serif;
padding: 24px;
color: #222;
}
p { margin-bottom: 12px; }
</style>
</head>
<body>
<h1>DocuSign Envelope Summary</h1>
<p><strong>Envelope ID:</strong> ENVELOPE_ID</p>
<p><strong>Subject:</strong> ENVELOPE_SUBJECT</p>
<p><strong>Status:</strong> ENVELOPE_STATUS</p>
</body>
</html>Replace ENVELOPE_ID, ENVELOPE_SUBJECT, and ENVELOPE_STATUS with the corresponding DocuSign fields using Zapier’s field picker.
Complete the settings:
.pdf.See the HTML to PDF documentation for available options.
Test the PDF.co action and open the returned PDF URL.
Confirm that the envelope details are correct and the formatting is suitable. This creates a new summary PDF; it does not modify the original DocuSign documents.
Add Google Drive’s Upload File action, connect your account, and select a destination folder.
Map the PDF.co output URL to File and set Convert to Document to No.
Test the upload, verify the saved PDF, and publish the Zap.
In this tutorial, you learned how to generate a PDF from DocuSign Envelope data using PDF.co and Zapier.
This is just one example of some of the amazing things you can do when you integrate PDF.co as a plug-in to Zapier. You can also generate PDFs from data taken from the following digital forms with this integration:
Create an account, get an API key and test a request.