APIs & Integrations

Roxane
Participante

Can we bulk edit workflows using Workflows API?

resolver

Hi,

I need to modify over 400 workflows.

Does anyone know a way to bulk edit them?

Thanks,

Roxane

1 Solução aceita
Derek_Gervais
Solução
Alunos da HubSpot
Alunos da HubSpot

Can we bulk edit workflows using Workflows API?

resolver

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 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 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.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
Derek_Gervais
Solução
Alunos da HubSpot
Alunos da HubSpot

Can we bulk edit workflows using Workflows API?

resolver

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 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 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.

0 Avaliação positiva
Roxane
Participante

Can we bulk edit workflows using Workflows API?

resolver

Agreed. We better edit all of them mannually.

Thanks for your answer.