Shopware icon

Shopware

Shopware

Actions778

Flow Sequence → Create Flow Sequence

AI-generated

Overview

This node operation allows users to create a Flow Sequence in the Shopware system. It is useful for automating and managing sequences within flows, which can represent complex business logic or workflows. For example, a user can create a new flow sequence with specific rules, actions, and configurations to automate order processing or customer notifications.

Use Case Examples

  1. Creating a new flow sequence with a specific flow ID and rule to automate order status updates.
  2. Adding a flow sequence with custom fields and configuration to trigger notifications based on certain conditions.

Properties

Name Meaning
Response Data format for the response, either basic or detailed.
Id Unique identifier for the flow sequence.
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 executed in the flow sequence.
Config JSON configuration for the flow sequence.
Position Position of the flow sequence in the flow.
Display Group Display group number for organizing flow sequences.
True Case Boolean indicating if the true case is used.
Parent Id Identifier of the parent flow sequence, if any.
Custom Fields Custom fields in JSON format for additional data.
App Flow Action Id Identifier for the app flow action associated with the sequence.
Created At Timestamp of when the flow sequence was created.
Updated At Timestamp of the last update to the flow sequence.
Flow JSON object representing the flow structure and related data.
Rule JSON object representing the rule associated with the flow sequence.
Parent JSON object representing the parent flow sequence and its related data.
Children JSON array representing child flow sequences and their related data.
App Flow Action JSON object representing the app flow action details.
Request Options Collection of request options such as batching, SSL settings, proxy, and timeout.

Output

JSON

  • id - Unique identifier of the created 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 executed in the flow sequence.
  • config - Configuration details of the flow sequence.
  • position - Position of the flow sequence in the flow.
  • displayGroup - Display group number for organizing flow sequences.
  • trueCase - Boolean indicating if the true case is used.
  • parentId - Identifier of the parent flow sequence, if any.
  • customFields - Custom fields with additional data.
  • appFlowActionId - Identifier for the app flow action associated with the sequence.
  • createdAt - Timestamp of creation.
  • updatedAt - Timestamp of last update.
  • flow - Flow structure and related data in JSON format.
  • rule - Rule associated with the flow sequence in JSON format.
  • parent - Parent flow sequence and related data in JSON format.
  • children - Child flow sequences and related data in JSON array format.
  • appFlowAction - App flow action details in JSON format.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure that required fields like 'Id' and 'Flow Id' are provided; missing these may cause errors.
  • Verify that JSON fields such as 'config', 'flow', 'rule', 'parent', 'children', and 'appFlowAction' are correctly formatted JSON strings to avoid parsing errors.
  • Check API credentials and base URL configuration to ensure successful connection to the Shopware Admin API.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion