Shopware icon

Shopware

Shopware

Actions778

Flow Sequence → Update Flow Sequence

AI-generated

Overview

This node updates a Flow Sequence resource in the Shopware system. It is useful for modifying existing flow sequences by specifying their ID and providing updated details such as flow ID, rule ID, action name, configuration, position, display group, and other related properties. This node supports complex nested JSON structures for flow, rule, parent, children, and app flow action, allowing detailed customization of the flow sequence.

Use Case Examples

  1. Updating a flow sequence to change its action name and position within a flow.
  2. Modifying the configuration and rule associated with a specific flow sequence by providing JSON data.
  3. Adjusting the parent and children relationships of a flow sequence to restructure the flow logic.

Properties

Name Meaning
Id Identifier for the flow_sequence, required to specify which flow sequence to update.
Response Data format for response. Optional query parameter to specify the response format.
Flow Id Identifier of the flow to which the sequence belongs.
Rule Id Identifier of the rule associated with the flow sequence.
Action Name Name of the action to be performed in the flow sequence.
Config JSON configuration object for the flow sequence.
Position Position of the flow sequence within the flow.
Display Group Display group number for the flow sequence.
True Case Boolean flag indicating if this is a true case in the flow logic.
Parent Id Identifier of the parent flow sequence, if any.
Custom Fields JSON object for custom fields associated with the flow sequence.
App Flow Action Id Identifier for the app flow action related to the flow sequence.
Created At Timestamp of when the flow sequence was created.
Updated At Timestamp of when the flow sequence was last updated.
Flow JSON object representing the flow structure and nested sequences.
Rule JSON object representing the rule details associated with the flow sequence.
Parent JSON object representing the parent flow sequence and its nested data.
Children JSON array representing the children flow sequences and their nested data.
App Flow Action JSON object representing the app flow action details.

Output

JSON

  • id - Identifier of the updated flow sequence
  • flowId - Identifier of the flow to which the sequence belongs
  • ruleId - Identifier of the rule associated with the flow sequence
  • actionName - Name of the action performed in the flow sequence
  • config - Configuration object of the flow sequence
  • position - Position of the flow sequence within the flow
  • displayGroup - Display group number for the flow sequence
  • trueCase - Boolean flag indicating if this is a true case in the flow logic
  • parentId - Identifier of the parent flow sequence
  • customFields - Custom fields associated with the flow sequence
  • appFlowActionId - Identifier for the app flow action related to the flow sequence
  • createdAt - Timestamp of creation
  • updatedAt - Timestamp of last update
  • flow - Nested flow structure JSON object
  • rule - Rule details JSON object
  • parent - Parent flow sequence JSON object
  • children - Children flow sequences JSON array
  • appFlowAction - App flow action details JSON object

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to the flow sequence you want to update; otherwise, the update will fail.
  • Verify that JSON properties like 'config', 'flow', 'rule', 'parent', 'children', and 'appFlowAction' are valid JSON strings to avoid parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to the Shopware Admin API.
  • If the response format is not as expected, verify the '_response' query parameter and adjust accordingly.

Discussion