The moment it happens
Log completed monday.com items to Google Sheets
Each time an item is set to Done on a monday.com board, a row with the owner, created date, finish time and days open is added to a Google Sheet.
- Runs
- The moment it happens
- Apps
- Google Sheets, monday.com
- AI
- Not needed
- Access
- boards:read, webhooks:write; Google Sheets (spreadsheets)
Send this to your assistant
Create a ClickRuntime automation: when an item on my Projects board in monday.com changes to Done, append a row to the Completed tab of my Google Sheet with the finish time, item name, owner, group, created date, days open and link. Log each item once.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
monday.com shows what is done today, but once items are archived it is hard to answer simple questions like how much the team finished last month or how long work usually takes.
Writing a row the moment an item is finished builds that history in a sheet you control, with the exact completion time.
The days-open column turns the log into a cycle-time report without anyone tracking dates by hand.
What you get out of it
Permanent record
Rows stay in the sheet even after items are archived or deleted in monday.com.
Exact finish time
Each row is stamped when the status changed, not when someone ran an export.
Cycle time included
Days open is worked out from the item's creation date.
Logged once
Items are not duplicated if someone toggles the status.
Simple reporting
Count completions per person or per month with a pivot table.
How it works
What happens, step by step
A monday.com webhook tells ClickRuntime when a status changes on your board.
Changes to anything other than Done are ignored.
It looks up the item's owner, group and creation date and works out how many days it was open.
One row is added to your Completed tab, and each item is logged only once.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect monday.com
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Google Sheets and monday.com steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timezone
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_event, credentials, http, state
SHEET_ID = "your-spreadsheet-id"
ITEM = """query ($id: [ID!]) { items(ids: $id) { name url created_at group { title }
column_values(ids: ["person"]) { text } } }"""
def monday(query, **variables):
resp = http.post("https://api.monday.com/v2", json={"query": query, "variables": variables},
headers={"Authorization": credentials.secret("MONDAY_API_TOKEN"), "API-Version": "2024-10"})
resp.raise_for_status()
return resp.json()["data"]
@on_event
def handle(event):
body = event.json or {}
if "challenge" in body:
return {"challenge": body["challenge"]}
ev = body.get("event", {})
if ((ev.get("value") or {}).get("label") or {}).get("text") != "Done":
return {"skipped": "not Done"}
item_id = str(ev["pulseId"])
logged = state.get("logged") or []
if item_id in logged:
return {"skipped": "already logged"}
i = monday(ITEM, id=[item_id])["items"][0]
now = datetime.now(timezone.utc)
created = datetime.fromisoformat(i["created_at"].replace("Z", "+00:00"))
row = [now.strftime("%Y-%m-%d %H:%M"), i["name"], i["column_values"][0]["text"] or "",
i["group"]["title"], created.date().isoformat(), (now - created).days, i["url"]]
sheet = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
sheet.spreadsheets().values().append(spreadsheetId=SHEET_ID, range="Completed!A:G",
valueInputOption="USER_ENTERED", body={"values": [row]}).execute()
state.set("logged", (logged + [item_id])[-5000:])
return {"logged": item_id, "days_open": row[5]}FAQ
Common questions
Why not just filter the board for Done items?
Can I chart how long work takes?
What if an item is reopened and finished again?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Keep an audit log of monday.com approvals in Sheets
Every approval or status change on your monday.com board is recorded in a Google Sheet, and rejections are flagged in Slack.
See how it worksCreate monday.com items from new sheet rows
Tasks you add to a Google Sheet show up on your monday.com board within 15 minutes.
See how it worksLog a daily snapshot of your monday.com board
Every evening each item's status on your monday.com board is saved to a sheet, building a history for reporting.
See how it worksKeep exploring
Set up “Log completed monday.com items to Google Sheets” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.