Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every Monday, ClickRuntime gathers the latest posts from public trend sources in your field.

  2. AI reads them and writes a short report on what's trending and why it matters.

  3. 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

RunsWeekly
Save a weekly trend report to SharePointtoday, 9:00Succeeded
SharePoint · Marketing / ResearchPM-trends-2026-10-19.md: "1. Teams are dropping story points in favour of cycle time…"

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
save_a_weekly_ai_trend_report_to_a_sharepoint_folder.pyexample
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?
Public pages and feeds you name, such as industry news sites, RSS feeds and open data sources. Sources behind a login or with terms against automated reading should be left out. A short list of five to ten sources usually gives a sharper report than fifty loosely related ones.
What file format is the report saved in?
A document your team can open, such as a Word-compatible file or a PDF, named with the date so versions are easy to tell apart. The format is chosen when the automation is set up.
Can I choose which SharePoint folder it is saved to?
Yes. You give the site and folder path, and the file is uploaded there; the connected Microsoft account needs permission to add files in that library. If the folder does not exist yet, create it first, since the upload expects the path to be there.
What permissions does it need?
read+write (Sites.ReadWrite.All or Sites.Selected). Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.