Google Workspace: Write values to a range

Write values to a range.

Help Centre › Functions & Formulas

Write values to a range.

Add it to a process

In the process designer, open the Add step tab. Find Write values to a range under Google Workspace › Sheets, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
ValuesYesData to write as a JSON list of lists (e.g. '[["A","B"],["1","2"]]')
RangeYesCell range to write to in A1 notation (e.g. 'Sheet1!A1:B2')
Value inputNoHow input values should be interpreted Choices: USER_ENTERED, RAW. Default: USER_ENTERED.
ConnectionNoPick an "environment-aware" alias to resolve the connection per the run's environment (with a shared fallback), or a specific connection to always use that one. Configure connections and aliases in Settings > Connectors.
Spreadsheet IDNoSupports variables and formulas, e.g. {rate} or =ROUND({rate}, 6).
RangeNoSupports variables and formulas, e.g. {rate} or =ROUND({rate}, 6).
Values (2D JSON array)No
VariableNoName of the variable where the result will be stored
Repeat for each (list)NoOptional, Cloud processes only. A list expression like {{steps.previousStep.output.items}}. The step runs once per item, with {{item}} available in the fields above.
Idempotency keyNoOptional, Cloud processes only. An expression that uniquely identifies each item, e.g. {{item.id}}. The step skips any item it already processed in a prior run, so it is safe for recurring syncs.
Watermark fieldNoOptional, Cloud processes only. A field in each record to track as the sync cursor, e.g. modifiedDate. Reference the stored value in this step's inputs as {{vars.watermark}} to pull only newer records each run.
Watermark list pathNoOptional, Cloud processes only. Dotted path to the array of records in the response, e.g. data. Leave blank if the response is itself the list.
Secure inputsNoCloud processes. Redact this step's request inputs in the run trace. The call still runs; HTTP status and errors stay visible.
Secure outputsNoCloud processes. Redact this step's response body and headers in the run trace. HTTP status and errors stay visible.

See all Google Workspace steps.

Tips

  • Use USER_ENTERED to have Google parse formulas, dates, and numbers automatically
  • Use RAW to write values exactly as provided without parsing
  • Write formulas by starting cell values with = (e.g. =SUM(A1:A10))

Related functions

  • Read sheet range – Read values from a range
  • Append rows – Add rows to the bottom
  • Batch write ranges – Write to multiple ranges at once

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.