
Parameters:
Infinite generator
If enabled, the action generates an infinite stream of rows and keeps incrementing the key.
In typical ETL pipelines this is disabled.
Add a key column
If enabled, the output includes a numeric key column that increments by +1 for each row.
The meta-type of the new columns is "Key"
If enabled, the generated key column is tagged with the meta-type Key.
Name of the column containing the new key
Sets the name of the generated key column (example: Key, RowId, Index).
Value of the first key
Defines the starting value of the sequence (commonly 0 or 1).
Constant
Lets you define one or more constant columns (name/value pairs).
Each constant becomes a column added to the output, and every row receives the same value.
The InsertKey action enriches your data by adding:
This is helpful when you want to:
Behavior notes:
InsertKey.InsertKey right after it.Key (or your preferred name)0 (or 1)Load any dataset (example: CSV input).

Adds a sequential Key column, and (optionally) extra constant columns.

pipelineThis example shows how to attach a constant column that stores a pipeline reference (meta-type: pipeline).
This is useful when another action expects a pipeline identifier/name provided as a column value.
Key0idPipelinepipeline1 (or any existing pipeline name from your project)pipelineAfter running, the output contains:
Key column (0, 1, 2, 3, …)idPipeline column where each row contains the same value (example: pipeline1) and is tagged with meta-type pipeline.
This example demonstrates how to use InsertKey to generate a table containing a pipeline reference column, and then execute those pipelines using loopPipelines.
Configure InsertKey like this:
Key0In the Constant section add:
idPipelinepipelinepipeline1)Expected output (Data tab) contains:
Key: 0, 1, 2, 3, …idPipeline: the same pipeline reference on every row (example: pipeline1)The execution log shows one iteration per row (0:, 1:, 2:, …).
With the setup above, the same pipeline is executed repeatedly:
0: Opening pipeline 'pipeline1'1: Opening pipeline 'pipeline1'2: Opening pipeline 'pipeline1'
Note: With a constant
idPipeline, the same pipeline will be executed once per generated row.
For running different pipelines, build an input table with multiple rows and different pipeline references.
After execution, the output dataset contains:
env="prod", source="import", tag="daily".Notes:
InsertKeyis the simplest and fastest way to generate a sequential row key.
- Use Infinite generator only for testing/demo scenarios, because it does not stop by itself.
