Variables in Mailjet node

It seems to be a small problem, but I can’t figure out the cause. Please help from the community!

Noda n8n Mailjet - I send email through a pre-prepared Mailjet template, there is one variable - firstname
Template Language rendering is enabled in noda.
I have passed the variable directly or via json, tried replacing the variable in the template or passing it to JSON - the test email still comes without a name, replacing the variable in the template doesn’t work.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

n8n Version 1.66.0
Database - default: SQLite:
n8n EXECUTIONS_PROCESS setting - I do not now… default i think
Running n8n via Docker:**
Operating system: Ubuntu 22.04

Please, anybody…

Hi @Mon_Navi

Thanks for posting here and welcome to the community! :cake:

Can you share how you’ve configured that variable in your mailjet template?

Thank you, for your reply!
The variable looks like this:
[[data:firstname:“Дорогой друг”]]

I also tried removing the default value (“Дорогой друг”) or renaming the variable, but it had no effect on the result.



Screenshot 2024-11-15 at 13.04.50

Hi @Mon_Navi

Thanks! That helps for understanding. That seems to be all correctly set up from what I can infer from their API docs.

I had actually tried to test around with their API but it’s being very slow and unresponsive at times. Will need to test this later again to see if our node is still working correctly.

Hi @Mon_Navi

I was able to recreate your issue. It seems like when the variable is a data property (and not a var) the API doesn’t respond as expected resulting in not overwriting the template variable.

Will raise a ticket for this.

Thanks a lot!
I’ll be waiting for the update!

Hello!
Is there any progress with the Mailjet issue?
I checked, in version 1.68.0, the problem seems to persist, variables are not substituted into the template

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