This is a very novice question. I run a self hosted n8n instance. I need to create a workflow with multiple webhook triggers, each might receive a different data structure with some commonalities
For example, all webhooks might receive parameters that signify name, date and message, but possibly with different names. How can I unify them to add them for later processing and adding to a Google Sheet?
After checking the documentation, it seems like a different case. Docs say
Use the Merge node to combine data from two streams, once data of both streams is available.
I don’t want to merge two streams, I want to make either of them available.
To clarify, let’s assume I receive data on either of three webhooks, I process it, and I add it to a Google Sheet. That’s not merging, not all webhooks will stream data at once
it depends on how you are going to unify them… The basic method is to use Set node and specify common variables there via {{ $json.variableName }} reference. And to use something like this (grey arrow and code nodes added just to show how it works if each webhook will output something):