Fluent Commerce Logo
Docs
Sign In

Updating a Workflow

How-to Guide

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

Step arrow right iconUpdating 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`
, and 
`WORKFLOW_UPDATE`
 permissions to add a new Workflow. These permissions are included in the 
`ORCHESTRATION_ADMIN`
 role.


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.

No alt providedNo alt provided

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

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]
Fluent Commerce

Fluent Commerce