How do I know how many times the node was executed?

Guys, I’m trying to figure out how to know if the node was executed more than once, I tried {{ $node[“buscaEtapaPrimeiroContato”].runIndex >= 1 }} but it didn’t work, it just returns false, does anyone have an idea of ​​how to do it?

I’m using version 1.79.3 of n8n

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:

It should actually work.

Here is an example workflow:

3 Likes

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