Send PDF as email attachment
    • PDF

    Send PDF as email attachment

    • PDF

    Article summary

    You can set up an email notification for when the user sends the contact form (see related article). In this section you will learn how to configure the PDF as an email attachment.

    1. Open the Lead section in the workbench.

    2. Activate the Send attachments toggle in the Mail Configuration.

    💡 If there is no mail configuration yet available, configure it first via New Mail Config.

    1. Enter the PDF URL in the field Attachment template.

    2. Enter the name of the PDF download into the field Custom attachment file name. Use the format Name.pdf.


    Configure PDF attachment in different languages

    If you use several languages, you need one PDF template per language. Follow the instructions below to ensure that the PDF is sent in the correct language.

    Save and import language-dependent PDF URLs in a CSV file

    1. Download the template:

    1. Open the file with Excel.

    2. Enter the language in IETF format into the column lang (for German: de_DE; for English: en_EN, for French: fr_FR etc.).

    3. Enter the PDF URLs into the column url.

    4. Click on File > Save as and save the file in CSV UTF-8 format.

    5. Go to the workbench and open Data Sources.

    6. Import the CSV by clicking on New Data Source.

    Configure language-dependent PDF attachments

    1. Go to the workbench and open Lead.

    2. Activate the Send attachments toggle in the Mail Configuration.

    💡 If there is no mail configuration available yet, configure it first via New Mail Config.

    1. Click on the blue arrow to the right of Attachment template .

    2. Configure the line If

      1. Under Source, select the option chosen_language.

    3. Configure the line =

      1. Under Source, select the imported CSV.

      2. Under Column, select the column lang.

    4. Configure the line then use

      1. Under Column, select the column url.


    Was this article helpful?