extract_session_variable
Extract a value from an HTTP response using a regex pattern and store it as a session variable for later replay.
Instructions
Extract a value from a flow's response body using a regex and store it as a session variable. Args: name: Variable name (referenced as $name in replay_flow) flow_id: The ID of the flow to extract from regex_pattern: The regex pattern with capture groups group_index: Which regex capture group to extract (default: 1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| flow_id | Yes | ||
| regex_pattern | Yes | ||
| group_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |