The Pivot Table block for Nodestly workflows turns row values into columns.
Use it when
Pivot distinct safe text values into bounded columns using Sum, Count, or First aggregation.
Inputs and outputs
- Table —
table, required. - Row columns —
list, required. - Column field —
text, required. - Value field —
text, required. - Table — output
table.
Controls
- Aggregation — default
sum; choices:sum,count,first.
Rules
Row columns, Column field, and Value field must be distinct. Pivot values must be safe text column IDs and may create at most 256 total columns. Sum requires finite numbers, Count counts rows, and First keeps the first value per group and pivot.
Example
Rows grouped by region, column values from quarter, and numeric sales create one sales column per quarter.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
aggregation | Aggregation | toggle | sum | options: Sum (sum), Count (count), First (first) |
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | table — Table | table | yes |
| Input | rowColumns — Row columns | list | yes |
| Input | columnField — Column field | text | yes |
| Input | valueField — Value field | text | yes |
| Output | result — Table | table | on success |
