💡How to send an automatic PDF when a form is submitted

šŸ“š With the PDF generation tool you can automatically generate, email and download PDF documents as soon as a form is completed.

šŸ’” PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

Integrate all of your online forms with the PDF generation tool to automatically generate, email and download PDF documents. Personalize the look and feel of your PDF documents by adding your company logo, header, footer, paper size / orientation, font, color and size, and automatically email the PDF to both you and the user as soon as the form is completed. This is everything you can do with this integration:

  • Highly Customizable PDFs: With a Powerful Wysiwyg Editor you can customize the look and feel of your files.
  • Send as Email Attachment: Automatically email the PDF to both the admin and the user as soon as the form is completed.
  • PDF Password Protection: Limit access to a PDF by setting passwords. Two types of passwords are available: For you as an Admin and for Anonymous Users.
  • Conditional Logic: Only attach PDF documents when a certain condition is met.

Keep reading to learn how to use it.

Creating a PDF Template #

The First thing we need to do is creating a PDF Template, the we can set up a Form to attach the generated PDF documents based on this template.

Now, to create a PDF Template follow the next steps:

  1. Click theĀ Set Up a PDF TemplateĀ button
  2. Enter theĀ Template Name.
  3. Enter theĀ PDF Filename. The name used when saving a PDF. You can use Field Variables.
  4. Enter theĀ HTML Code. This code will be processed to generate the PDF body.
  5. Image DPI: By default this is set to 96.
  6. Password: Enter the admin password. The password for anonymous users will be auto generated in the PDF creation process. You can send the password by email using theĀ {{PDF_USER_PASSWORD}}Ā token.
  7. Images and CSS Styles: If you only want to create a Pdf document with text, only. You can disable this option.
  8. Inline Javascript: Execute javascript code before rendering the Html page as PDF. Useful to generate dynamic data.
  9. Orientation: “Portrait” or “Landscape”.
  10. Paper Size: Set the default paper size used when generating PDFs. “A4” by default. Also, you can set a custom size (“Height” and “Width””).
  11. ClickĀ PreviewĀ to open a modal will the PDF document viewer.
  12. ClickĀ SaveĀ to store your PDF Template.

Attaching the PDF to Email Notifications #

Now, to generate the PDF document and attach them to the email notifications, we need to follow the next steps:

  1. Click theĀ Set Up a FormĀ button
  2. Select theĀ Form.
  3. Enter aĀ Name. The name of this configuration for administrative purpose.
  4. PDF Templates: Select one or more PDF Templates to attach one or more PDF documents to your emails.
  5. Notifications: Select the Notification Type: “User Notification” or “Admin Notification” or Select both.
  6. Status: Can be:
    • On: Enable the attachment
    • Off: Disable the attachment
  7. Opt-In Condition: Only attach the PDF documents when a condition is met.
  8. ClickĀ Save.