When to use it
A running log for the people who live in a spreadsheet: every treasury outflow with its amount, who sent it and a link, in a sheet the finance team already opens.
At a glance
| Integration | Google Sheets |
|---|---|
| Credits | 1 |
| Connection | Google Sheets, by signing in |
Settings
spreadsheetRequired- The spreadsheet's link, or its id.
sheet- The tab to append to, chosen from the spreadsheet's tabs. Empty means the first sheet.
A field per headerOptionalAccepts event fields- One value for each header in the sheet's first row. A field left empty leaves that column empty.
columnsOptionalAccepts event fields- Shown when the sheet has no headers: one template per line; each line is one cell, left to right.
Pick a sheet
On the action, paste the spreadsheet's link, then choose the tab from the list. With no tab chosen, the row goes to the first one.
Fill the row
Put a header in the first row of the sheet for each column you want filled. The action reads those headers and shows one field for each, named as in the sheet. Type a value or insert a variable under each header; a field left empty leaves that column empty.
Added or renamed a header? Use Reload headers on the action. If you later insert, remove or reorder columns in the sheet, open the step again: it tells you the columns have changed and moves each value to its header in one click. Until you do, new rows are written in the old column order.
Each row is appended under the last filled row. A value that is a plain number is stored as a number; everything else is stored as text and never read as a formula, whatever the event carries.
A sheet with no headers still works. The action then shows Columns, which takes one value per line; each line becomes one cell, left to right, like this:
{{ event.block_time }}
{{ event.token_symbol }}
{{ event.value_decimal }}
{{ event.from_address }}
{{ event.explorer_tx_url }}Check the result
A run records where the row landed. A spreadsheet the account cannot edit, a tab name that does not exist, or a spreadsheet that is gone is recorded with that reason and the flow stops until it is fixed.
Google allows about sixty writes a minute per account. A flow that fires faster should use Batch per block or a cooldown in the trigger's Noise section.
What it hands on
Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.google_sheets_1.range }} — the action’s key, then which one it is if you use more than one of the same kind.
range- Where the row landed, like Alerts!A12:D12.
Numbers are numbers, nothing is a formula
A cell whose value is a plain number is stored as a number so totals add up. Everything else is stored as text exactly as rendered — a value beginning with = is never read as a formula, whatever the event carries.
Good to know
- The connected account needs edit access to the spreadsheet; a view-only share is refused on the first run with that reason.
- Google allows sixty writes a minute per account; a busier flow should batch per block or set a cooldown.