Sum the item count

Describe the problem/error/question

Hi Team,

I have a use case where I need to calculate the final count of executions and pass that value to another node.

For example, if I have 5 failed results across 5 executions, I want to sum them up and pass the total count to the next node.

What is the error message (if any)?

NO

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Could anyone please help me with this use case?

Hi @Gouravdev ,

Could you please clarify - are you looking to get a count of execution runs, node runs or total items outputting?

You could take a look here to see some of the methods n8n accepts to interact with workflow data