On a schedule
Export Asana project tasks to Google Sheets
Every weekday morning a tab is rewritten with all tasks in an Asana project: section, assignee, due date, completed and link.
- Runs
- On a schedule
- Apps
- Asana, Google Sheets
- AI
- Not needed
- Access
- Asana personal access token; Google Sheets read+write
Send this to your assistant
Create a ClickRuntime automation: every weekday at 7am, copy all tasks from my Website Relaunch project in Asana into the Tasks tab of my status sheet with section, assignee, due date, completed and a link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Asana is where the work happens, but status reports, client updates and capacity charts usually live in a spreadsheet. Copying tasks across by hand is slow and the copy goes stale by lunchtime.
This automation rewrites a Tasks tab from an Asana project every weekday morning, with the section, assignee, due date, completion and a link back to each task.
Project managers, agency account leads and operations teams use it to feed weekly reports and dashboards from Asana data without exporting CSVs.
What you get out of it
Reports start from fresh data
The tab matches Asana as of that morning, so reports reflect real progress.
Share with people outside Asana
Clients or managers without an Asana seat can read the sheet.
Build your own charts
Count open tasks per assignee or overdue tasks per section with ordinary formulas.
Links back to each task
Every row opens the task in Asana for comments or updates.
No manual CSV exports
Nobody has to remember to export and paste each week.
How it works
What happens, step by step
Every weekday at 7am ClickRuntime reads all tasks in the Asana project you choose.
For each task it takes the section, assignee, due date and whether it is done.
The Tasks tab is cleared and rewritten, so the sheet always matches Asana that morning.
Charts and summaries you build on top of the tab update on their own.
Before it runs live
- Connect Asana
- Connect your Google Sheets account and pick the spreadsheets it may use
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
- 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 Asana and Google Sheets steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, report_fetched
PROJECT_GID = "1200000000000000"
SHEET_ID = "your-spreadsheet-id"
FIELDS = "name,completed,due_on,assignee.name,memberships.section.name,permalink_url"
def asana(path, **params):
r = http.get(f"https://app.asana.com/api/1.0/{path}", params=params,
headers={"Authorization": f"Bearer {credentials.secret('ASANA_TOKEN')}"})
r.raise_for_status()
return r.json()
@on_trigger
def run(event):
tasks, offset = [], None
while True:
page = asana(f"projects/{PROJECT_GID}/tasks", opt_fields=FIELDS, limit=100, **({"offset": offset} if offset else {}))
tasks += page["data"]
offset = (page.get("next_page") or {}).get("offset")
if not offset:
break
report_fetched(len(tasks))
rows = [["Section", "Task", "Assignee", "Due", "Done", "Link"]]
for t in tasks:
section = next((m["section"]["name"] for m in t.get("memberships", []) if m.get("section")), "")
rows.append([section, t["name"], (t.get("assignee") or {}).get("name", ""), t.get("due_on") or "",
"Yes" if t["completed"] else "No", t["permalink_url"]])
tab = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets().values()
tab.clear(spreadsheetId=SHEET_ID, range="Tasks!A:F").execute()
tab.update(spreadsheetId=SHEET_ID, range="Tasks!A1", valueInputOption="RAW", body={"values": rows}).execute()
return {"tasks": len(tasks)}FAQ
Common questions
Can I export several projects?
Are custom fields included?
Will my notes in the sheet be lost?
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
Log new SEO issues to a sheet and create Asana tasks to fix them
Every Monday new broken backlinks are added to your Google Sheet and each one gets an Asana task, so nothing found is forgotten.
See how it worksTurn your weekly sales sheet into Asana tasks
Every Monday the top five actions from your sales or stock sheet are created as Asana tasks assigned to you, with a summary email.
See how it worksCreate Asana onboarding projects from new sheet rows
Add a client to your sheet and an Asana project is created from your onboarding template, with the link written back to the row.
See how it worksKeep exploring
Set up “Export Asana project tasks to Google Sheets” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.