The merge node
1. The merge node
Welcome back! We already saw how expressions can be used in different nodes, but there was one node we didn't cover - the Merge node!2. Combining two streams of data
The Merge node can be an important tool in our toolbox. Sometimes we'll have two different sources of related data and want to combine them into a single flow.3. Combining two streams of data
For example, Acme Events might have one list of attendee usernames from their registration system4. Combining two streams of data
and another list of emails collected in a separate form. To work with this data effectively,5. Combining two streams of data
they need to merge both lists so each attendee record has a username and an email address. The Merge node lets us do exactly that.6. How the merge node works
The Merge node combines two data streams by matching them on a shared field. This is especially useful when the information comes from different tools or systems and we must bring it together.7. How the merge node works
For example, we might merge a list of names with a list of email addresses, using the username as the key to match records.8. How the merge node works
The Merge node lines up the data from both sides and outputs a single, enriched dataset.9. When to merge
Use Merge when our workflow splits into two branches and we want to bring the data back together. For example, if we enrich user data in one branch and fetch external records in another, we'd merge those streams to continue with a unified result.10. Let's practice!
Let's consolidate what we have just learned in the following exercises.Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.