Field IDs in send email action for workflow

A workflow with a send email action.

It is using a custom template rather than an existing email template.

Why does the mail merge work for the fields in red boxes though not for the other fields

image.png

Resulting email:

image.png

How can I work out the correct field ids as this uses a different format to an email template?

Answer:

When using freemarker, you need to input the field ID on the Body for the Custom Template.

See sample below:

image.png

For the output:

image.png

So for the custom field try to put {CUSTBODY_CUSTOM_FIELD} instead of ${CUSTBODY_CUSTOM_FIELD}.

Leave a comment

Your email address will not be published. Required fields are marked *