Using email node, html cut off if it is long and contains variables from previous node

I have workflow that send email with some of the values are provided by previous node. The email is in form of html code, and it contains long message, every time I save the workflow the html code seems to cut off just before the variable. This does not happen when the html code short.

For example my workflow below, if I save the workflow, it will cut off just before variable {{ $json[\"name\"] }}

my workaround for now that solve my problem is to use function to do string replace instead, so the html does not contain any variable but contains some words that gets replaced

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:0.208.0
  • **Database (default: SQLite): postgresql
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):kubernetes
  • **Operating system:linux

Hi @adi_alamsz, I am sorry you’re having trouble.

Perhaps you want to upgrade to a more recent version of n8n? I just tested your example workflow on [email protected] and it would contain your full HTML value (even after saving/reloading).

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.