How blocks work
Each block has a type, configuration, input context, and output. Later blocks can use earlier outputs through labels or variables.- Triggers decide when the workflow starts.
- Conditions decide which route should run.
- Actions do work, create outputs, or change TextMine or external systems.
Trigger blocks
Common trigger configuration includes Vault scope, sender access rules, form fields, upload handling, schedule time, timezone, and document selection rules.
Condition blocks
Conditions should be as specific as possible. Use deterministic conditions for known fields and AI logic only when the condition needs interpretation.
Human routing and review actions
AI, Workbench, and playbook actions
Values and data pipeline actions
run_python exposes workflow context such as workflow_input, collection, inputs, arrays, variables, tables, workflow_tables, vault_tables, agent_tables, workbench_tables, and tables_by_label. Workflow labels are also exposed as snake_case variables with *_list arrays. Top-level result keys and public variables can be saved as workflow variables for later blocks.
Records and analytics actions
Document, source, and ingest actions
Report and template actions
Delivery and integration actions
Agent guidance
Agents should read workflow catalogs before creating or editing workflow definitions. The TextMine MCP server exposes catalog tools for triggers, conditions, and actions, and the Public API exposes the same catalog for exact parameter schemas. When designing a workflow, agents should return:- Trigger kind and scope.
- Conditions and routing assumptions.
- Action sequence and expected outputs.
- Side effects that need human confirmation.
- IDs needed for audit, such as workflow ID, run ID, Vault ID, document IDs, record IDs, and report IDs.