🗃️ Execute Segment
Execute predefined segments with custom environment variables. Run specific automation workflows with dynamic configuration parameters.
📋 Field Options
| Field Options | Required | Description | Example Values |
|---|---|---|---|
| Segment Name | Yes | Name of the segment to execute | login_flow, data_entry, form_submission |
| Environment | No | JSON configuration for segment execution | {"title": "EDF", "timeout": 5000} |
⚙️ Configuration
📝 Segment Name
Purpose: Specifies which predefined segment to execute during form filling.
How to Use:
- Create a segment in the extension segment section
- Enter the exact segment name in this field
- Ensure the segment exists before execution
- Test the segment to verify it works correctly
Best Practices:
- Use descriptive names:
user_registration,product_search - Keep names consistent across your automation
- Avoid special characters and spaces
- Use snake_case or camelCase naming
🌐 Environment Variables
Purpose: Pass dynamic configuration data to the segment during execution.
JSON Format:
json
{
"title": "EDF"
}How to Use:
- Use variable syntax
{$variable_name$}in the environment variables. Like this:
json
{$title$}⚠️ Important Notes
- Segment must exist before execution
- Environment variables are passed as JSON
- Error handling should be implemented in the segment
- Timeout values should be reasonable for the operation
Pro Tip
Use environment variables to make segments reusable across different forms and scenarios.
Important
Ensure the segment name matches exactly with the predefined segment in your extension configuration.