Updating a Workflow
Author:
Fluent Commerce
Changed on:
1 July 2024
Key Points
- A Workflow can be updated as long as the user has the right permissions.
- A Workflow can be updated via the IMPORT/EXPORT button or via API.
Steps
Updating a Workflow
Updating a Workflow JSON
Workflows can be updated via the IMPORT/EXPORT button available on the Workflow Builder UI or directly via the API.
Permissions
The user needs
`WORKFLOW_CREATE`
`WORKFLOW_UPDATE`
`ORCHESTRATION_ADMIN`
Updating a Workflow via the IMPORT/EXPORT button
The Workflow Builder provides an IMPORT/EXPORT button on each Workflow, which allows users to view, edit, and save changes to the workflow directly via the UI.


Updating a Workflow via API
To update an existing Workflow on your Fluent Account, send your updated Workflow JSON to the following URL via the
`PUT`
1https://{{accountID}}.{{environment}}.api.fluentretail.com/api/v4.1/workflow
Language: html
Name: Updating a Workflow via API
Description:
[Warning: empty required content area]Sample successful update response
If your request was successful, you should receive the following response:
1{
2 "entityId": "{{retailerID}}-{{workflowName}}::{{workflowVersion}}",
3 "eventStatus": "COMPLETE"
4}
Language: json
Name: Sample successful update response
Description:
[Warning: empty required content area]