Daily
Turn the top items in your task sheet into today's Google Tasks
Each morning the most important open items from your sheet are added to Google Tasks, and the rows are marked as added.
- Runs
- Daily
- Apps
- Google Sheets, Google Tasks
- AI
- Yes, uses the built-in AI allowance
- Access
- Sheets read+write; tasks
Send this to your assistant
Create a ClickRuntime automation: every weekday at 7, pick the five most important open tasks from my Backlog sheet, add them to Google Tasks due today and mark those rows as added.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A shared sheet is a good place to collect everything that might need doing, but it is a poor place to decide what to do today. Long lists invite skimming, and the urgent item at row 84 is easy to miss.
Team leads, freelancers and operations staff use it to keep the full backlog in a sheet the whole team can edit, while their own day starts with a short, ranked list in Google Tasks.
What you get out of it
A short list to start the day
Five tasks are easier to act on than eighty rows. You begin with a decision already made about what matters most.
The sheet stays the master list
Teammates keep adding and editing rows as usual. Nothing has to move out of the sheet for the ranking to work.
Ranking that reads the details
AI weighs the notes, deadlines and priority columns together, so a task with a close deadline is picked even when nobody marked it urgent.
No task added twice
Rows that have been added are marked in the sheet, so they are not picked again the next day.
How it works
What happens, step by step
Every weekday morning, ClickRuntime reads the open rows in your sheet that have not been added yet.
AI ranks them using the description, due date and priority, and picks the most important few.
Each chosen item is created as a Google Task due today, with the row's notes attached.
The matching rows are marked as added in the sheet, so they are not picked again.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect Google Tasks
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
- Run it at a different time, more or less often, or only on weekdays
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Google Sheets and Google Tasks steps into one automation
Under the hood
The code that runs this automation
from datetime import date
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, ai
SHEET_ID = "your-spreadsheet-id"
PICK = 5
@on_trigger
def run(event):
creds = Credentials(credentials.connection("google", "work"))
sheets = build("sheets", "v4", credentials=creds, cache_discovery=False).spreadsheets()
rows = sheets.values().get(spreadsheetId=SHEET_ID, range="Backlog!A2:E").execute().get("values", [])
open_rows = [(i + 2, (r + [""] * 5)[:5]) for i, r in enumerate(rows) if r and (r + [""] * 5)[4] == ""]
if not open_rows:
return {"added": 0}
listing = "\n".join(f"{n}. {r[0]} | due {r[1] or '-'} | priority {r[2] or '-'} | {r[3][:200]}" for n, r in open_rows)
picked = ai.generate(f"Today is {date.today()}. Rank these tasks by urgency and impact and return the {PICK} most "
f"important row numbers.\n{listing}", max_output_tokens=60,
json_schema={"type": "object", "properties": {"rows": {"type": "array", "items": {"type": "integer"}}}}).json["rows"]
tasks = build("tasks", "v1", credentials=creds, cache_discovery=False).tasks()
chosen = [(n, r) for n, r in open_rows if n in picked][:PICK]
for n, r in chosen:
tasks.insert(tasklist="@default", body={"title": r[0], "notes": r[3],
"due": f"{date.today()}T00:00:00.000Z"}).execute()
sheets.values().update(spreadsheetId=SHEET_ID, range=f"Backlog!E{n}", valueInputOption="RAW",
body={"values": [[f"Added {date.today()}"]]}).execute()
return {"added": len(chosen)}FAQ
Common questions
How does it decide what is most important?
Can I change how many tasks it adds?
What happens to tasks I don't finish?
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
Track a web page for new items and get a task to review each
New items on a page you follow are summarised into your sheet, and each one gets a Google Task so you review it.
See how it worksLog new emails in a sheet and turn action items into tasks
Every new email is sorted and logged in your sheet, and the ones that need you become Google Tasks.
See how it worksCreate a task with an explanation when a sheet row is marked failed
When a row in your sheet changes to Failed, a Google Task appears with a likely cause, and you get an email.
See how it worksKeep exploring
Set up “Turn the top items in your task sheet into today's Google Tasks” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.