Daily or weekly
Turn feedback in a sheet into a Google Doc report
Each week, new feedback rows in your sheet are grouped into themes by AI and written up as a report in a Google Doc, with the link emailed to you.
- Runs
- Daily or weekly
- Apps
- Google Docs, Google Sheets
- AI
- Yes, uses the built-in AI allowance
- Access
- Sheet read; Docs create
Send this to your assistant
Create a ClickRuntime automation: every Monday, analyse the new feedback rows in my Feedback sheet and write a report with themes, sentiment and quotes into a Google Doc. Email me the link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
An events team runs a workshop series and collects feedback through a form that lands in a Google Sheet. After each event there are a hundred rows of free text. Reading them all, pulling out themes and picking quotes for the organiser takes an afternoon, so it often waits until the next event is already being planned.
This automation reads only the rows added since the last report, has AI sort the comments into themes with sentiment and representative quotes, and writes it up as a Google Doc. You get an email with the link, ready to share with speakers, sponsors or the team.
What you get out of it
Feedback acted on while it is fresh
A report arrives each week instead of whenever someone finds the time. Fixes for the venue, the agenda or the speakers can go into the next event.
Themes, not just a pile of comments
Comments are grouped into a few clear themes, each with a sense of how many people raised it. That makes it easy to see what matters most.
Real quotes, ready to share
Each theme comes with a couple of quotes taken from the rows. They are useful for sponsor recaps, speaker thank-yous and marketing.
A document people already know how to use
The report is a normal Google Doc, so colleagues can comment, edit and share it. Nothing new to learn or log into.
Only new feedback each time
Rows already covered in an earlier report are not analysed again. Each report covers just the period since the last one.
How it works
What happens, step by step
Every Monday, ClickRuntime reads your Feedback sheet and picks up only the rows added since the last report.
AI groups the comments into themes, notes whether each is positive or negative and picks quotes.
A new Google Doc is created with the summary, themes, quotes and suggested actions.
You get an email with the link to the report.
Before it runs live
- Connect Google Docs
- 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
- 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 Docs and Google Sheets 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, state, ai, notify, report_fetched
SHEET_ID = "your-spreadsheet-id"
@on_trigger
def run(event):
creds = Credentials(credentials.connection("google", "work"))
rows = build("sheets", "v4", credentials=creds, cache_discovery=False).spreadsheets().values().get(
spreadsheetId=SHEET_ID, range="Feedback!A2:C").execute().get("values", [])
done = state.get("rows_done") or 0
new = [r[-1] for r in rows[done:] if r]
report_fetched(len(new))
if not new:
return {"new": 0}
try:
text = ai.generate("Feedback comments:\n" + "\n".join(f"- {c[:400]}" for c in new[:300]),
system="Write a feedback report: summary, 4-6 themes with sentiment and 2 quotes each, then suggested actions. Plain text.",
max_output_tokens=1500).text
except ai.AIError as e:
notify.email_me("Feedback report not written", f"{len(new)} new rows; AI was unavailable ({e}).")
return {"new": len(new), "report": False}
docs = build("docs", "v1", credentials=creds, cache_discovery=False)
doc = docs.documents().create(body={"title": f"Feedback report {date.today()}"}).execute()
docs.documents().batchUpdate(documentId=doc["documentId"], body={"requests": [{"insertText": {"location": {"index": 1}, "text": text}}]}).execute()
state.set("rows_done", len(rows))
url = f"https://docs.google.com/document/d/{doc['documentId']}/edit"
notify.email_me(f"Feedback report: {len(new)} new responses", url)
return {"new": len(new), "doc": doc["documentId"]}FAQ
Common questions
What does the sheet need to look like?
Can it make one report per event instead of per week?
How long is the report?
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
Send personalised emails from a Google Doc template
Each person in your sheet gets an email written from your Google Doc template with their own name and company, and is marked as sent.
See how it worksSummarise new Google Docs into a sheet
Every new document in your folder gets a short summary added to a Google Sheet, with its title and link.
See how it worksTurn companies in a sheet into research briefs in Google Docs
Add a company to your sheet and a research brief appears in a Google Doc, with the link written back into the row.
See how it worksKeep exploring
Set up “Turn feedback in a sheet into a Google Doc report” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.