Sometimes, approvers need to see attachments to get a full picture of the approval request that they received. Luckily, it is quite easy to add a list of all attachments to the approval mail.
First, we need to create a macro for it. Go to the Settings > Macros > Add a macro.
- Name it however you want - something that indicates what it is so other admins know what is it about.
- Available for - All Agents
Actions:
Pick "Comment/Description" and paste in the following code:
Attachments:
{% for comment in ticket.comments %}
{% for attachment in comment.attachments %}
{{attachment.filename}}:
{{attachment.url}}
{% endfor %}
{% endfor %}
Save the macro. Once you saved it, take the ID of that macro (you can find the ID in the URL):
Now, click on the Myndbend Process Manager in the left navbar > Email template. Put {{macro_<ID>_text}} in to the body of the template.
Note: Replace <ID> with the ID you've copied.
That is it! After this, you should be receiving the list of attachments in your approval emails.