Hi,
I need to trigger email content based on the number of Beneficiary selected.
For example If beneficiary ===1 then email content should have 1 Primary beneficiary
Primary Beneficiary: {{ticket.ticket_field_12417539333143}}. - {{ticket.ticket_field_12417498387863}}%
If beneficiary ===2 then email content should have Primary beneficiary and Contingent beneficiary.
Primary Beneficiary: {{ticket.ticket_field_12417539333143}}. - {{ticket.ticket_field_12417498387863}}%
[Contingent Beneficiary:] {{ticket.ticket_field_12417508088215}} - {{ticket.ticket_field_12417499000087}}%
and so on.
So my question is how to add if else or Switch condition in the trigger email body?