Skip to main content
Table column types reuse PromptLayer’s evaluation and workflow building blocks, plus the Tables-specific Composition type.

How sources work

Computed columns read from source columns in the sheet. For example, a Prompt output column can map a prompt variable to Customer message, and a Quality score column can read from Prompt output. If a source changes, dependent computed cells can become stale.
Prompt Template column configuration showing input variables mapped to source columns

Column type overview

UI labelType valueCategoryUse when
TextTEXTTextYou need editable input data, expected answers, labels, metadata, or notes.
Prompt TemplatePROMPT_TEMPLATEData source / executionYou want to run a Prompt Registry template or inline prompt for each row.
WorkflowWORKFLOWData source / executionYou want a row to execute a PromptLayer workflow.
Code ExecutionCODE_EXECUTIONData source / executionYou need Python or JavaScript logic per row.
EndpointENDPOINTData source / executionYou want to send row data to an external URL endpoint.
MCPMCPData source / executionYou want to call Model Context Protocol server functions.
Conversation SimulatorCONVERSATION_SIMULATORData source / executionYou want to simulate a multi-turn user and assistant conversation.
HumanHUMANData source / executionYou need a human to fill in or approve data.
While LoopWHILE_LOOPData source / executionYou need repeated execution while a condition remains true.
For LoopFOR_LOOPData source / executionYou need to iterate over a collection or array.
CompositionCOMPOSITIONData source / executionYou want to reference data from another sheet or table.
CompareCOMPARESimple evalYou want to compare values and generate a diff or comparison result.
ContainsCONTAINSSimple evalYou want to check whether text contains a substring.
RegexREGEXSimple evalYou want to validate text against a regular expression.
Absolute Numeric DistanceABSOLUTE_NUMERIC_DISTANCESimple evalYou want the absolute distance between numeric values.
Assert ValidASSERT_VALIDSimple evalYou want to validate data types or formats.
Math OperatorMATH_OPERATORSimple evalYou want mathematical comparisons such as greater than or less than.
LLM AssertionLLM_ASSERTIONLLM evalYou want an LLM to judge whether an assertion is true.
AI Data ExtractionAI_DATA_EXTRACTIONLLM evalYou want an LLM to extract specific information from text.
Cosine SimilarityCOSINE_SIMILARITYLLM evalYou want semantic similarity between vectors or text embeddings.
JSON ExtractionJSON_PATHHelperYou want to extract values from JSON with JSONPath.
XML PathXML_PATHHelperYou want to extract values from XML with XPath.
Regex ExtractionREGEX_EXTRACTIONHelperYou want to extract capture groups from text.
Parse ValuePARSE_VALUEHelperYou want to parse a specific value from structured or unstructured data.
CountCOUNTHelperYou want counts of elements, characters, or occurrences.
Min MaxMIN_MAXHelperYou want the minimum or maximum value from numeric inputs.
CoalesceCOALESCEHelperYou want the first non-null value from several sources.
Combine ColumnsCOMBINE_COLUMNSHelperYou want to merge values from multiple sources into one output.
Apply DiffAPPLY_DIFFHelperYou want to apply a unified diff patch to text.
Condition appears in Workflow node selectors, but it is not a Table column type. Use Table-supported comparison, assertion, or helper columns for row-level checks.

Composition

Composition references a source table, sheet, and column, then pulls that value into the current sheet. Use it when multiple sheets should share a reusable intermediate result instead of copying logic.
Composition column configuration that references a source column from another sheet

API references

Use the generated API reference for exact request schemas when creating or updating columns programmatically.

Create column

Create text or computed columns.

Update column

Update title, config, and dependencies.