Skip to content

Start Node

What is a Start Node?

The Start Node is the beginning of a workflow, acting like a starting gun that determines when the workflow begins running and how it receives initial data. Every workflow must have a start node, which serves as the entry point for the entire process. The Start Node is primarily responsible for receiving system inputs (such as session information, message content), user information, and custom parameters, and passing these to subsequent nodes in the workflow.

Image Description:

The Start Node interface mainly consists of several parts: the top section contains the node title and trigger condition description; the middle area includes system inputs (such as session ID, topic ID, message content, etc.), file list, and user information; the bottom area supports configuration of custom system inputs and large model parameter inputs. Through these configurations, you can control the workflow's startup conditions and initial data.

Start Node

Why Do We Need a Start Node?

When building workflows, the Start Node is indispensable because it solves the following key problems:

  1. Determine Workflow Trigger Conditions: The Start Node clarifies when the workflow begins, such as when a user sends a message, on a scheduled trigger, or when called as a subprocess/tool.
  2. Receive and Format Initial Data: The Start Node is responsible for collecting initial data needed for workflow execution, such as user message content, user information, or other system data.
  3. Connect External World with Workflow: The Start Node serves as a bridge between external events (like user interactions) and the workflow system, ensuring data flows correctly into the workflow.
  4. Standardize Data Processing: The Start Node unifies the formatting of data from different sources, making it easier for subsequent nodes to process.

Application Scenarios

1. User Dialogue Trigger

When users send messages to the AI assistant, the Start Node receives the message content and related information, initiating the dialogue processing flow. This is the most common usage scenario, suitable for applications like Q&A assistants and customer service bots.

2. Scheduled Tasks

Configure the Start Node to trigger at specific times, executing regular workflow tasks such as data statistics, report generation, or regular reminders.

3. Subprocess and Tool Calls

When the main process needs to execute reusable subtasks, it can call subprocesses or tools with the Start Node as the entry point through parameters, passing data to achieve modular and reusable workflow components. Both subprocesses and tools support parameter calls, allowing you to build more flexible and reusable workflow components.

Node Parameter Description

System Input Parameters

System inputs are basic information automatically provided by the platform that you can directly use in the workflow:

Parameter NameDescriptionData TypeUsage Notes
Session IDUnique session identifier for user-AI assistant interactionStringUsed for identifying and managing dialogue context
Topic IDIdentifier for current conversation topicStringUsed for distinguishing different topics within the same session
Message ContentText message sent by userStringMain content for workflow processing
Message TypeMessage type identifierStringSuch as text, image, etc.
Send TimeMessage timestampStringRecords message time information
Organization CodeCode of user's organizationStringUsed for organization-level functions and permission management

File List Parameters

When users upload files, you can access file-related information:

Parameter NameDescriptionData TypeUsage Notes
File NameOriginal name of uploaded fileStringUsed for displaying and processing files
File LinkURL for accessing the fileStringUsed for downloading or accessing file content
File ExtensionFile format suffixStringSuch as pdf, docx, xlsx, etc.
File SizeFile size in bytesNumberUsed for file processing control

User Information Parameters

Basic user information provided by the system, can be used for personalized processing:

Parameter NameDescriptionData TypeUsage Notes
User IDUnique user identifierStringUsed for user identification and data association
User NicknameUser's display nameStringUsed for personalized interaction
Real NameUser's actual nameStringUsed for formal addressing
Employee IDUser's ID within organizationStringUsed for internal enterprise identification
PositionUser's position in organizationStringUsed for role-related functions
DepartmentUser's departmentStringUsed for department-level functions and data

Usage Instructions

Basic Configuration Steps

  1. Add Start Node:
    1. System automatically adds Start Node when creating new workflow
    2. For existing workflows, drag "Start Node" from node panel to canvas
  2. Configure Trigger Conditions:
    1. By default, Start Node triggers when receiving user message
    2. For scheduled triggers or other specific conditions, set in advanced options
  3. View System Inputs:
    1. Expand "System Inputs" section to understand available system parameters
    2. These parameters are automatically populated, no manual configuration needed
  4. Configure Custom Inputs (Optional):
    1. Click "Custom System Inputs" or "Large Model Parameter Inputs"
    2. Click "Add Parameter" button
    3. Set parameter name, display name, parameter type, and whether required
    4. Add parameter description to help understand parameter purpose
  5. Connect Next Node:
    1. Drag connection line from Start Node to next processing node
    2. Ensure workflow has clear execution path

Notes

Parameter Naming Convention

  1. Avoid Special Characters: Parameter names should use letters, numbers, and underscores, avoid spaces and special characters
  2. Avoid System Reserved Names: Don't use names same as system parameters, like "message", "user_id", etc.
  3. Naming Consistency: Maintain consistent naming style for easier maintenance and understanding

Data Type Matching

  1. Type Consistency: Ensure actual parameter data types match defined types
  2. Type Conversion: If different types needed, perform explicit conversion in subsequent nodes
  3. Complex Data Structures: For object or array types, understand internal structure before using

Trigger Condition Control

  1. Avoid Frequent Triggers: For scheduled processes, set reasonable time intervals
  2. Condition Precision: Ensure trigger conditions precisely match business requirements, avoid unnecessary triggers
  3. Test Verification: Fully test trigger conditions before deployment, ensure they meet expectations

Common Issues

Why aren't my custom parameters taking effect?

  1. Check Parameter Names: Confirm parameter names are spelled correctly, case-sensitive
  2. Check Data Types: Confirm provided data matches defined parameter types
  3. Check Required Fields: Confirm all required parameters have values
  4. Check Reference Method: In subsequent nodes, ensure parameters are correctly referenced (using ${parameter_name} format)

How to use multiple start nodes in one workflow?

  1. Use Conditional Branches: Use conditional branch node immediately after Start Node, different branches based on different input conditions
  2. Create Multiple Subprocesses/Tools: Create independent subprocesses or tools for different entry scenarios, then call through parameters in main workflow
  3. Use Wait Node: Use wait node in workflow to allow receiving new triggers at different points

Why isn't my workflow executing despite setting trigger conditions?

  1. Check Switch: Check if workflow is published and enabled
  2. Confirm Trigger Time: Adjust trigger condition time interval
  3. Check Permission Settings: Confirm system permission settings

Released under the Apache 2.0 License