⚠️ Attention: you're reading an old email messaging article before the feature's upgraded version. Currently, Pipefy offers a rich and visual email builder in which you can easily add dynamic fields and set up email automations for different types of events. Learn more.

Obs: you may still be viewing the old version of email templates. If so, don't worry, the feature is being updated gradually to all users. Soon, you will have access to the new version of email templates with all the new functions.


Estimated reading time: 2 minutes

Attention! Pipefy doesn't currently support attaching an actual file to an email template.

You can, however, use dynamic content to send a URL so the users can download it. To do so, you'll need to have an attachment type field to be used as dynamic content.

Then, you'll access the email templates settings by clicking in the tools icon in the upper right corner of the screen, then on email templates to edit an existing template or create a new one.

Once inside the email template editor, roll down until you find the dynamic content box.

In the entity menu you'll select the phase in which the attachment field is in, such as start form. Then on property you'll select the name of your attachment field. Then, copy and paste the handlebars where you want the file URL to appear in the email body.

The attachment URL will look like this in the email body: https://pipefy-production.s3-sa-east-1.amazonaws.com/uploads/9f033edb-8a61-486c-9aa9-34d489217620/pdf-example.pdf.

If you'd rather add it as a hyperlink, you can use either markdown or html to add the file to the email body. 

IMPORTANT: hyperlinks only work when there's only one file in the attachment field. In case there are multiple files, only the first one will be linked to.

To add the hyperlink to the attachment field using dynamic content you can use:

  • Markdown: [Hyperlink text] ({{phaseXXXXX.fieldXXXXX}}) > simply removing the space in between the elements;
  • Html: <a href="{{phaseXXXXX.fieldXXXXX}}">Hyperlink text</a>

Click here to learn more about other markdown/html options for formatting email templates.

Did this answer your question?