# Is it possible to bulk edit workflows using Workflows API in HubSpot?

**URL:** <https://community.hubspot.com/t/is-it-possible-to-bulk-edit-workflows-using-workflows-api-in-hubspot/17981>\
**Category:** APIs & Integrations\
**Tags:** workflows, timeline-and-extensions-apis\
**Created:** [January 8, 2020, 2:21pm UTC](https://community.hubspot.com/t/is-it-possible-to-bulk-edit-workflows-using-workflows-api-in-hubspot/17981 "2020-01-08T14:21:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roxane](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/roxane/32/38114_2.png) [@Roxane](https://community.hubspot.com/u/Roxane)\
**Post date:** [January 8, 2020, 2:21pm UTC](https://community.hubspot.com/t/is-it-possible-to-bulk-edit-workflows-using-workflows-api-in-hubspot/17981/1 "2020-01-08T14:21:20Z")

</div>

Hi,

I need to modify over 400 workflows.

Does anyone know a way to bulk edit them?

Thanks,

Roxane

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [January 9, 2020, 9:29pm UTC](https://community.hubspot.com/t/is-it-possible-to-bulk-edit-workflows-using-workflows-api-in-hubspot/17981/2 "2020-01-09T21:29:11Z")

</div>

Hey @Roxane ,

It’s actually not possible to edit an existing workflow using the Workflows API, so technically this isn’t possible. Creating/deleting workflows is supported, though, so as a workaround you could do something like the following:

1. Use the [Get all workflows](https://developers.hubspot.com/docs/methods/workflows/v3/get_workflows) endpoint to pull your workflows
2. Make the change(s) you want to the workflow definition, making sure the result complies with the [Create a workflow](https://developers.hubspot.com/docs/methods/workflows/v3/create_workflow) API specification
3. Create new workflows using the workflow definitions you created above
4. Delete the old workflows

Because this workaround involves creating and deleting a large number of workflows, I wouldn’t recommend this if you have the ability to instead edit your workflows in app. You’ll be better able to preserve workflow history & statistics by making the edits in app, and there’s a far smaller chance of something going wrong as well.

---

<div class="post-metadata">

**Author:** ![Roxane](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/roxane/32/38114_2.png) [@Roxane](https://community.hubspot.com/u/Roxane)\
**Post date:** [January 10, 2020, 8:36am UTC](https://community.hubspot.com/t/is-it-possible-to-bulk-edit-workflows-using-workflows-api-in-hubspot/17981/3 "2020-01-10T08:36:14Z")

</div>

Agreed. We better edit all of them mannually.

Thanks for your answer.
