How can I pass some values from one workflow to another (n8n)

I have one workflow that is triggered by a webhook, and in this webhook we get tag and user_id

I have a second workflow that is triggered inside the first webhook and I have a node in this second workflow that i want to use the tag and user_id variables that I get in the first workflow

here is a loom video explain it : Workflow Integration Challenge | Loom

I really love your help on this.

I’m building an saas tool that use n8n automation to scrap emails from google maps search , store them in a database, and we can manage the list generated, validate the emails via API , so we can have a clean list without repetitions and valid emails that we can export to a csv file , all in one tool without any subscriptions

I only need to solve this “simple” thing to launch my next saas if you help me, I will give you free access to this tool, and you will be the first to use it :slight_smile:

to make it easier to understand, tag and user_id are sent to webhook in point A on workflow 1, and I want to use them on point B , workflow 2

If I understand you correctly, all you need to do is have the input to the execute node in workflow 1 include the items you want to pass to workflow 2. When workflow 2 is executed, n8n will automatically pass those items.
Then the HTTP node in workflow 2 can refer back to the workflow 2 trigger node to use those items.

I hope this helps.

yes , thank you to help clarify my question, you understand well my question.
do you have a solution ?

Can you get all that value from node $(‘Workflow Input Trigger’) on point B?
I saw your video and you are using expression parameter from webhook point A thats already trigger to wokflow 2 so you must get those parameter on node $(‘Workflow Input Trigger’)

like this ? :
{{ $(‘Workflow Input Trigger’).item.json.query.user_id }}
{{ $(‘Workflow Input Trigger’).item.json.query.tag }}

here is the parameters we send in the webhook in workflow 1

i guess you need to set the parameter from workflow 1 (Webhook) before execute sub workflow so it will bring all your needed parameter to workflow 2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.