Prevent multiple items from moving forward in workflow

Describe the problem/error/question

Hey guys! Have worklow that get yearly P&L data from documents, then updates cells on a google sheet. after its done it sends the sheet and a valuation to the uploader. issue im having is its sending the email 4 times (or less) depending on how many years are in the P&Ls. How do i make it so it only runs once

Please share your workflow

Hi @Adriann, welcome to the :n8n: community!

This happens because there are 4 branches being executed and connected to the Aggregate node, which aggregates items, not branches

Looking at your workflow logic, the Aggregate node here isn’t what you need, remove it and use the Merge node to combine all branches into one, then reference what you need.

Here are the correct settings for your case:

3 Likes

This worked perfectly, thank you!

1 Like