cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning a recipe via Workato Partner API

josh1
Deputy Chef I
Deputy Chef I

Is there an easy way to clone an existing recipe using the api (similar to clicking "Use this Recipe" on a public recipe). It will be common in our use cases that multiple instances of the same recipe will run with different config parameters. I know that you can probably pull down the code of an existing recipe and then create one off of that, but was wondering if there was a cleaner way to accomplish this.

2 REPLIES 2

bpay
Deputy Chef I
Deputy Chef I

Add a number sequence to the cloned recipe,  enclose it in # so that you can grab the recipe title and extract the sequence.

You can also add a pubsub recipe to route the process to the cloned recipes to spread the job.

 

dan-kennedy
Workato employee
Workato employee

If you are simply looking to clone the recipe, you can use the Workato platform API call to copy the recipe:


https://docs.workato.com/workato-api/recipes.html#copy-a-recipe


And then if you wish to rename, you can rename it using the "Update Recipe":


https://docs.workato.com/workato-api/recipes.html#update-a-recipe


Hopefully this helps.