Can't match 2 fields using merge node

Hi,

I am using an on-prem N8N instance, version 1.11.2.

It appears I can’t merge on 2 fields that are exactly the same:


I tried to convert the variable from input 2 into a string through an expression (eventhough I believe it should not be needed) but still, it does not match the fields together. Any help?

Workflow set-up:

Thanks!

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:

Hi @lequeuxa

As you can see in your screenshots. They are not exactly the same.
One is a string and one is a number.
You can enable fuzy compare or something like that in the settings to allow these values to be checked as if they were both the same type.
I usually modify the field before sending to the merge just to be sure it is actually the same.

2 Likes

Thanks, fuzzy compare solved the problem. I was converting the data to string in the merge node but I should have converted before I guess, anyway fuzzy compare worked! Thanks a lot.

1 Like

Sorry what do you mean by converting data to string in the merge node?
The merge node does not convert anything, it only merges stuff. :slight_smile:

Yes, I was using a js expression to convert the data in the “merge field” but found out it does not work, you must convert the field before the merge node.

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