Weekly
Save a weekly trend report to SharePoint
Each Monday a report on what's trending in your field is waiting in your team's SharePoint folder.
- Runs
- Weekly
- Apps
- SharePoint
- AI
- Yes, uses the built-in AI allowance
- Access
- read+write (Sites.ReadWrite.All or Sites.Selected)
Send this to your assistant
Create a ClickRuntime automation: every Monday at 8am, read the top posts of the week in r/projectmanagement and r/agile, write a one-page report on the main trends, and save it to the Research folder on our Marketing SharePoint site.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Knowing what is trending in your industry is useful for planning content, products and sales conversations, but producing a trend report takes a person several hours of reading each week. So it happens irregularly, circulates by email attachment, and ends up in someone's downloads folder. Colleagues cannot find last month's version, newcomers have no history to read, and the people who would benefit from a consistent record of how topics evolved never get one.
Every week the automation gathers items from the public sources you specify, has ClickRuntime's built-in AI write a report on the trending topics, and uploads it as a file to a folder on your SharePoint site. The file lands in the shared location where your team already looks for documents. Marketing, strategy and product teams use it to keep a dated archive of what was happening in their field.
What you get out of it
A reliable weekly habit
The report appears in the same place every week without anyone writing it. Teams plan around it, and the strategy discussion starts from a shared view of what is going on.
History is searchable and shared
Because reports are stored in SharePoint, anyone with access can open earlier weeks. Spotting how a topic grew over a quarter is possible only when the past reports are kept together.
Fits where documents already live
Staff do not need a new tool or another email to read. The report sits beside other team documents, with the permissions and retention SharePoint already applies. The report lands beside the strategy deck, under the same permissions and retention rules the team already trusts.
Hours of reading condensed
The AI reads many sources and writes a concise report, so a person need only review it. A task that took a morning each week becomes a ten-minute read. A Monday morning of reading forty articles becomes a ten-minute review of one report.
Supports planning with evidence
Editorial calendars, product ideas and sales messaging can reference dated trend reports. Decisions rest on documented observations, not on whoever spoke loudest in the meeting. A product roadmap meeting can cite last quarter's trend reports instead of whoever spoke loudest.
How it works
What happens, step by step
Every Monday, ClickRuntime gathers the latest posts from public trend sources in your field.
AI reads them and writes a short report on what's trending and why it matters.
The report is saved as a dated file in your team's SharePoint folder, ready when everyone logs on.
Before it runs live
- Connect SharePoint
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 SharePoint steps into one automation
Under the hood
The code that runs this automation
from datetime import date
from clickruntime import on_trigger, credentials, http, ai
SITE_ID = "contoso.sharepoint.com,1111-aaaa,2222-bbbb" # Marketing site
SUBS = ["projectmanagement", "agile"]
@on_trigger
def run(event):
posts = []
for sub in SUBS:
listing = http.get(f"https://www.reddit.com/r/{sub}/top.json", params={"t": "week", "limit": 15},
headers={"User-Agent": "clickruntime-trend-report/1.0"}).json()
posts += [f"[r/{sub}] {p['data']['title']} ({p['data']['score']} pts): {p['data']['selftext'][:300]}"
for p in listing["data"]["children"]]
report = ai.generate("\n".join(posts), max_output_tokens=1200,
system="Write a one-page Markdown report on the main trends in these posts: a short intro, "
"4-6 trends with a line of evidence each, and what it means for a marketing team.").text
name = f"PM-trends-{date.today()}.md"
resp = http.put(f"https://graph.microsoft.com/v1.0/sites/{SITE_ID}/drive/root:/Research/{name}:/content",
headers={"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}",
"Content-Type": "text/markdown"}, data=report.encode())
resp.raise_for_status()
return {"file": resp.json()["webUrl"]}FAQ
Common questions
Which sources does it read?
What file format is the report saved in?
Can I choose which SharePoint folder it is saved to?
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
Get reminders about SharePoint list items due soon
Each Friday you see the list items due next week, so timesheets and reviews don't slip.
See how it worksGet told when a file is added to a SharePoint library
Your team hears about each new document in the library within about 15 minutes, with its name and a link.
See how it worksGet a daily news digest in Slack
Each morning your team gets a short summary of what's new on the sites and blogs you follow.
See how it worksKeep exploring
Set up “Save a weekly trend report to SharePoint” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.