Happy Business Starts Here

Liquid variable to a Workflow Notification email task

Zuora Support

Liquid variable to a Workflow Notification email task

Problem: Customer trying to enter a Liquid variable as Email in a workflow Notification Email task.


Getting Liquid syntax error: Unexpected character & in "{{&nbsp; Data.Liquid.Email<span style="font-size: 0.875rem; font-family: var(--anj-font-family);">&nbsp;}}"


Solution: Using the template improperly that's not valid liquid so disabling the editor shows the exact text that it is being used for the body.

To resolve this case,customer needs to define guest_name properly. 

{% assign guest_name = Data.Liquid.Email%}
<p><span style="font-size: 0.875rem; font-family: var(--anj-font-family);">&nbsp;</span></p>
the span tag is getting put inside the liquid syntax which is wrong.


If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √