# Duplicate workflow on trigger

**URL:** <https://community.n8n.io/t/duplicate-workflow-on-trigger/5044>\
**Category:** Questions\
**Created:** [March 31, 2021, 7:18am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044 "2021-03-31T07:18:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mumudu22](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mumudu22/32/1568_2.png) [@mumudu22](https://community.n8n.io/u/mumudu22)\
**Post date:** [March 31, 2021, 7:19am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/1 "2021-03-31T07:19:00Z")

</div>

Hi guys,

Is it possible to duplicate a n8n workflow on n8n cloud via a webhook ?

Or is it possible to run multiple instances of the workflow with different parameters simultaneously ?

**Context:**  
I would like to create a workflow for each of my customer as they will be potentially running simultaneously with different parameters.

Thanks

---

<div class="post-metadata">

**Author:** ![harshil1712](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/harshil1712/32/1374_2.png) [@harshil1712](https://community.n8n.io/u/harshil1712)\
**Post date:** [March 31, 2021, 8:15am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/2 "2021-03-31T08:15:35Z")

</div>

Hey @mumudu22!

It is not possible to duplicate workflow via a webhook call.

What node will the workflow you want to duplicate uses to start the execution? Do all your clients hit the same endpoint to trigger the workflow?

---

<div class="post-metadata">

**Author:** ![mumudu22](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mumudu22/32/1568_2.png) [@mumudu22](https://community.n8n.io/u/mumudu22)\
**Post date:** [March 31, 2021, 8:33am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/3 "2021-03-31T08:33:46Z")

</div>

Ok.

The node used to trigger the flow is a Webhook.  
I would like to hit the same endpoint because I need to trigger the same workflow for each customer but with different parameters each time. As I have infinite customer I cannot create the workflow prior to the execution and hit a different endpoint.

Moreover, the flow is taking some time to process.

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [March 31, 2021, 8:39am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/4 "2021-03-31T08:39:07Z")

</div>

@mumudu22  
The way i would go about this is to split up the process in 2 workflows.

Workflow 1-

1. (Common) Webhook
2. Query a database/set node/airtable to retrieve customer specific parameters
3. Trigger Workflow 2, using Execute Workflow node, with these parameters

Workflow 2-

- Put the rest of your process in this workflow

---

<div class="post-metadata">

**Author:** ![mumudu22](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mumudu22/32/1568_2.png) [@mumudu22](https://community.n8n.io/u/mumudu22)\
**Post date:** [March 31, 2021, 8:55am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/5 "2021-03-31T08:55:29Z")

</div>

Ok thanks for your answer.

That could be a good solution but I am afraid that Workflow 2 (with Customer A’s parameters) will be still processing while triggered with other parameters by Workflow 1 (with Customer B’s parameters).

I know that I can check if the webhook 2 is processing but I will be loosing precious time while waiting for the workflow to end with Customer A’s parameters: [Multiple webook calls overlaping - #5 by jan](http://community.n8n.io/t/multiple-webook-calls-overlaping/4572/5)

---

<div class="post-metadata">

**Author:** ![shrey-42](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/shrey-42/32/3437_2.png) [@shrey-42](https://community.n8n.io/u/shrey-42)\
**Post date:** [March 31, 2021, 9:13am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/6 "2021-03-31T09:13:41Z")

</div>

I am sure that multiple instances of Workflow 2 can run at the same time.

I use `EXECUTIONS_PROCESS=main` config, it that helps.

e.g.:

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/7/7d3d703573b946dfa3c9debcb0b14da943ebb402.png)

**Workflow 1:**

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/5/576f92335df91b00b46c8127d2821bf797eabcdf.png)

**Workflow 2:**

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/b/bb2cdfe8ba64d0707fe387e602442857a7d9178f.png)

I triggered the Webhook in **testing x1** simultaneously, with different parameters.

---

<div class="post-metadata">

**Author:** ![mumudu22](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mumudu22/32/1568_2.png) [@mumudu22](https://community.n8n.io/u/mumudu22)\
**Post date:** [March 31, 2021, 9:20am UTC](https://community.n8n.io/t/duplicate-workflow-on-trigger/5044/7 "2021-03-31T09:20:59Z")

</div>

Oh okay very nice !  
I will try that then.

Keep you posted
