Overview
ctx.thisRow provides convenient methods to read and write data on the currently executing row. This is the most common way to interact with your data within column formulas.
ctx.thisRow is not available in webhook columns, as there is no “current
row” context during webhook execution.
Methods
get()
Get a value from the current row by column name.
Parameters:
columnName - The name of the column to read from
Returns: The value stored in that column for the current row
Example:
Foreign Key Navigation
For foreign key columns, use the referenced sheet name instead of the column name, and use dot notation to access fields on the related record:
cell()
Get a Cell object for a specific column on the current row. This is useful when you need the cell’s value + execution status + error message.
Parameters:
columnName - The column name (or FK dot path) to read from
Returns: A Cell object with:
value — The cell’s value
status — Execution status (for example: "success", "error", "pending", "running") or null
error — Error message if execution failed, otherwise null
Example:
thisCell (current executing cell)
If you specifically want the currently executing cell (the one this formula is running in), use ctx.thisCell: