Skip to main content

Sequence Node

Processes content by splitting it into segments and running each piece through connected workflow nodes.

Updated over 4 months ago

Overview

The Sequence Node enables you to break down content into smaller segments and process each piece individually through your workflow. This node is essential for handling bulk content processing, allowing you to apply the same workflow operations to multiple pieces of data automatically.

Content Input Configuration

Content Separation Methods

Configure how your content should be divided using the "Separate content by every" options:

  • Paragraph: Splits content at paragraph breaks

  • Sentence: Divides content into individual sentences

  • Custom Separator: Define your own separation criteria using the custom separator field

Custom Separator Setup

When selecting "Custom Separator":

  • Custom Text Field: Enter your specific separator text in the "Enter Custom Separator" field

  • Flexible Separation: Use any character, word, or phrase as your content delimiter

Processing Details

Content Input Connection

The Sequence Node includes a connection point for receiving the content that needs to be split and processed through the loop.

Processing Details

Content Loop Configuration

The "Select where to end the content loop" dropdown determines the scope of your processing loop:

  • Loop through first connected Node: Processes content only through the immediately connected node

  • Specific Node Selection: Choose any node in your workflow as the loop endpoint

Loop Processing Behavior

The sequence creates a processing loop that:

  • Takes each separated content segment

  • Runs it through all nodes from the Sequence Node to your selected endpoint

  • Repeats this process for every content piece

  • Maintains the sequence order throughout processing

Advanced Configuration

Content Selection Options

Control which content segments to process:

  • Run all content through loop: Processes every separated content piece

  • Run selected content through loop: Process only specified content segments

Content Range Selection

When using "Run selected content through loop", additional fields appear:

  • Starting Point: Enter the number of the first content piece to process (e.g., "1")

  • Ending Point: Enter the number of the last content piece to process (e.g., "5")

  • Flexible Range: Process any subset of your separated content by specifying the range

Content Enhancement

Add supplementary text to your content segments:

Start Content

  • Purpose: Add text to the beginning of each content piece

  • Field: "Add text to start of content (optional)"

  • Use Cases: Headers, prefixes, formatting tags, or contextual information

End Content

  • Purpose: Append text to the end of each content piece

  • Field: "Add text to end of content (optional)"

  • Use Cases: Footers, suffixes, closing tags, or additional context

Content Display

Content Preview Area

The right side Content section shows:

  • Separated Content: Individual content pieces displayed in numbered sequence

  • Visual Organization: Each content segment appears in its own field

  • Processing Preview: Shows how content will be divided before execution

  • Content Validation: Verify separation results before running the sequence

Content Information Display

Each content piece shows:

  • Sequential Numbering: Clear ordering of content segments (1, 2, 3, etc.)

  • Content Preview: Actual text or data that will be processed

Execution Control

Run Function Button

  • Location: Top-right corner of the interface

  • Function: Initiates the sequence processing loop

  • Processing: Executes the configured loop for each content segment

  • Progress Tracking: Monitor processing through each content piece

Use Cases and Applications

Content Processing Scenarios

  • Batch Text Analysis: Process multiple paragraphs through AI analysis

  • Document Segmentation: Split large documents into manageable sections

  • Data Transformation: Apply consistent transformations to data sets

  • Multi-Step Processing: Chain multiple operations across content pieces

Workflow Integration

  • Input Sources: Receive content from Data Input nodes, Stored Data Callers, or other content sources

  • Processing Chains: Connect to AI Text Generators, Object Callers, API Callers, and other processing nodes

  • Output Management: Results flow to subsequent nodes for aggregation or further processing

Performance Benefits

  • Parallel Processing: Handle large content volumes efficiently

  • Consistent Operations: Ensure uniform processing across all content pieces

  • Error Isolation: Issues with individual content pieces don't affect the entire batch

  • Resource Management: Process content in manageable segments

Best Practices

Content Preparation

  • Clean Separation: Ensure your separator choice creates meaningful content segments

  • Size Consideration: Balance content piece size with processing efficiency

  • Content Validation: Review separated content in the preview area before execution

Loop Configuration

  • Endpoint Selection: Choose appropriate loop endpoints based on your processing needs

  • Node Connectivity: Ensure proper connections between sequence endpoint and subsequent nodes

  • Flow Testing: Test with small content samples before processing large volumes

Advanced Usage

  • Custom Separators: Use specific delimiters that match your content structure

  • Range Processing: Process content subsets for testing or selective operations

  • Content Enhancement: Add contextual information to improve processing results

The Sequence Node transforms bulk content processing from manual, repetitive tasks into automated, efficient workflows, enabling sophisticated content operations at scale.

Did this answer your question?