Skip to content
Proud to collaborate with Microsoft for Startups

control.text.extract_matches ​

Extract regex matches from text into deterministic JSON row objects

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-control
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
textstringYes—Source text; large inputs are offloaded from state_data
patternstringYes——
fieldsjsonNo——
ignore_casebooleanNo——
multilinebooleanNo——
dotallbooleanNo——
max_matchesintegerNo——
strip_valuesbooleanNo——
drop_emptybooleanNo——
include_matchbooleanNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
textstringNo——
patternstringNo——
fieldsjsonNo——
ignore_casebooleanNo——
multilinebooleanNo——
dotallbooleanNo——
max_matchesintegerNo——
strip_valuesbooleanNo——
drop_emptybooleanNo——
include_matchbooleanNo——
resultlistNo——
countintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "control.text.extract_matches",
  "initial_data": {
    "text": "value",
    "pattern": "value"
  }
}