Skip to main content
Workflow blocks are the building units of a TextMine workflow. A workflow starts from a trigger, can route through one or more conditions, and then runs action blocks in order. Use this page to understand product behavior. For exact JSON schemas, API operation IDs, and examples, use the developer hub’s Public API reference and workflow catalog endpoints.

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.
Blocks that create durable effects should be treated carefully by agents. Request confirmation before publishing, sending email, changing assignments, creating records, moving documents, submitting to integrations, or triggering a workflow with business side effects.

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.
Last modified on June 25, 2026