08-05-2022 06:54 PM
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.
08-05-2022 08:25 PM
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.
08-05-2022 10:47 PM
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.