SheetIntegration
run: dataset items of each succeeded matching run; listening: new mentions of a project (+ a daily KPI row)
Possible values: [run, listening]
Tab; created when missing. No [ ] * ? / \ :
condition object
run only
listening only, required
Columns (item paths, a.b for nested). Empty: run = the items' keys; listening = the default mention columns
Overwrite the row whose cell in this column matches (listening defaults to id). Empty: append
Rows one delivery may write
listening: yesterday's KPI row (date, new_mentions, views, likes, comments, shares, engagement, sentiment counts) once a day, upserted by date
Default: '⟨sheet_name⟩ KPI'
lantfly-⟨code⟩: the customer adds a tab with this name once (POST …/test checks it) to prove the spreadsheet is theirs; nothing is written before. A spreadsheet can be connected to one account only (422 otherwise).
Reset when spreadsheet_id changes
last_delivery object
- SheetDelivery
- null
Possible values: [run, mentions, kpi, test]
Possible values: [ACTIVE, SUCCEEDED, FAILED]
Items past the row limit, not written
{
"id": "string",
"name": "string",
"kind": "run",
"spreadsheet_id": "string",
"spreadsheet_url": "string",
"sheet_name": "string",
"condition": {
"actor_id": "string",
"task_id": "string"
},
"project_id": "string",
"fields": [
"string"
],
"upsert_key": "string",
"max_rows": 0,
"row_limit": 0,
"include_kpis": true,
"kpi_sheet_name": "string",
"is_enabled": true,
"verification_tab": "string",
"verified_at": "2024-07-29T15:51:28.071Z",
"last_delivery_at": "2024-07-29T15:51:28.071Z",
"last_error": "string",
"last_delivery": {
"id": "string",
"trigger": "run",
"run_id": "string",
"status": "ACTIVE",
"attempts": 0,
"rows_appended": 0,
"rows_updated": 0,
"rows_skipped": 0,
"error": "string",
"next_attempt_at": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z"
}
}