Coda
App · Documents · 5 actions · 1 trigger
Access Coda docs, tables, and rows.
Triggers
Start a workflow when something happens in Coda. See how triggers work.
Coda New Row
Triggers when a new row is added to a Coda table
Filters
Narrow which events start a run.
doc_idRequiredtable_idRequired
Event fields
What a run starts with. Later steps read each field with an @ reference.
idtextnametextdoc_idtexttable_idtext
Actions
| Action | What it does |
|---|---|
| Add row | Add a new row to a Coda table. |
| List docs | Retrieve all accessible Coda docs for the connected account. |
| List rows | Retrieve rows from a Coda table, with an optional limit on how many to return. |
| List tables in a doc | Fetch all tables for a specific Coda doc. |
| Update row | Update an existing row in a Coda table. |
Add row
Add a new row to a Coda table.
Inputs
- Doc ID
doc_idtextRequired - The ID of the Coda doc. Use the List docs action to find it.
- Table ID
table_idtextRequired - The ID of the table. Use the List tables in a doc action to find it.
- Row values
row_valuesobjectRequired - Column values for the new row
Outputs
Response confirming the row was queued for insertion.
addedRowCountnumber- Number of rows added (typically 1)
requestIdtext- Coda request ID for tracking the mutation status
Example output
{
"addedRowCount": 1,
"requestId": "abc-123-def"
}List docs
Retrieve all accessible Coda docs for the connected account.
Inputs
None.
Outputs
Response object. Access items via the 'docs' property.
docslist- Array of doc objects. Access with response.docs[index]
Example output
[
{
"id": "AbCdEfGhIj",
"name": "My Project Doc",
"owner": "user@example.com",
"type": "doc"
}
]List rows
Retrieve rows from a Coda table, with an optional limit on how many to return.
Inputs
- Doc ID
doc_idtextRequired - The ID of the Coda doc. Use the List docs action to find it.
- Table ID
table_idtextRequired - The ID of the table. Use the List tables in a doc action to find it.
- Limit
limitnumber - Maximum number of rows to return
Outputs
Response object. Access items via the 'rows' property.
rowslist- Array of row objects. Access with response.rows[index]
Example output
[
{
"id": "i-abc123",
"name": "Task 1",
"type": "row",
"values": {
"Assignee": "John",
"Status": "In Progress"
}
}
]List tables in a doc
Fetch all tables for a specific Coda doc.
Inputs
- Doc ID
doc_idtextRequired - The ID of the Coda doc. Use the List docs action to find it.
Outputs
Response object. Access items via the 'tables' property.
tableslist- Array of table objects. Access with response.tables[index]
Example output
[
{
"id": "grid-abc123",
"name": "Tasks",
"parent": {
"id": "AbCdEfGhIj",
"type": "doc"
},
"type": "table"
}
]Update row
Update an existing row in a Coda table.
Inputs
- Doc ID
doc_idtextRequired - The ID of the Coda doc. Use the List docs action to find it.
- Table ID
table_idtextRequired - The ID of the table. Use the List tables in a doc action to find it.
- Row ID
row_idtextRequired - The ID of the row to update. Use the List rows action to find it.
- Row values
row_valuesobjectRequired - Column values to update on the row
Outputs
Response confirming the row update was queued.
idtext- The row ID that was updated
requestIdtext- Coda request ID for tracking the mutation status
Example output
{
"id": "i-abc123",
"requestId": "abc-123-def"
}