Process parallel data streams
After the loop completes, you need to process the data in two parallel streams before combining them:
- Stream A (Business Data): Extract the original Apify fields (company name, address, phone, etc.) and aggregate them into a single item
- Stream B (Email Data): Filter out empty results, flatten the email arrays, remove duplicates, and aggregate into a single item
You'll create the parallel branch by dragging a second connection from the same node — a common n8n pattern for splitting data into separate processing paths.
This exercise is part of the course
Building Marketing Workflows with n8n
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise