Skip to content

Daily

Post about a trending topic in your niche each day

Each day the most talked-about topic in your niche becomes a post on your Facebook Page and X.

Runs
Daily
Apps
Facebook Pages, X
AI
Yes, uses the built-in AI allowance
Access
pages_manage_posts; tweet.write

Send this to your assistant

Create a ClickRuntime automation: every day at 10, find the top trending topic in my niche from my chosen feeds, write a Facebook post and an X post about it, and publish both.

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

A travel agency wants to be part of the conversation when something big happens in travel, such as a new route or a rule change, but by the time anyone writes a post the moment has passed.

Each morning the most-discussed travel story from the agency's chosen feeds becomes a short post on Facebook and X, so followers hear about it from the agency while it's still news.

What you get out of it

  • Timely posts

    Posting while a topic is hot gets far more attention than posting a week later.

  • Positions you as the expert

    Followers learn to look to you for news in your field.

  • Two networks, one step

    Facebook and X both get a version that fits.

  • Sources you choose

    Only feeds you trust are used, so posts stay on topic.

How it works

What happens, step by step

  1. Every morning, ClickRuntime reads your chosen news feeds.

  2. It picks the top story from the last day, skipping subjects you've ruled out.

  3. AI writes a Facebook post and a short X post about it, with the source link.

  4. Both are published to your Facebook Page and X account.

Before it runs live

  • Connect Facebook Pages
  • Connect X

What you get

RunsDaily
Post about a trending topic in your niche each daytoday, 9:00Succeeded
Facebook · Northwind TravelNew direct flights to Porto start in March. Here's what that means for spring city breaks.

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 Facebook Pages and X 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.
trending_topics_turned_into_posts.pyexample
import feedparser
from clickruntime import on_trigger, credentials, http, ai

PAGE_ID = "1234567890"
FEEDS = ["https://www.reddit.com/r/travel/top/.rss?t=day"]
SKIP = ("crash", "election")

@on_trigger
def run(event):
    items = [e for f in FEEDS for e in feedparser.parse(f).entries if not any(w in e.title.lower() for w in SKIP)]
    if not items:
        return {"posted": False}
    top = items[0]
    posts = ai.generate(f"Story: {top.title}. Facebook post (under 500 chars) and X post (under 230 chars) for a travel agency.",
                        max_output_tokens=400, json_schema={"type": "object",
                        "properties": {"facebook": {"type": "string"}, "x": {"type": "string"}}}).json
    http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
              data={"message": posts["facebook"], "link": top.link, "access_token": credentials.connection("facebook", "work")})
    http.post("https://api.twitter.com/2/tweets", json={"text": f"{posts['x']} {top.link}"},
              headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"})
    return {"topic": top.title}

FAQ

Common questions

Where do trends come from?
From the news feeds, blogs or forums you name. The top story from the last day that hasn't been used is picked.
Can it avoid certain subjects?
Yes. List subjects to skip in the prompt, such as politics or accidents, and stories about them are passed over.
Does it link to the source?
Yes. Each post includes a link to the original story.
What permissions does it need?
pages_manage_posts; tweet.write. 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 (daily). 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 “Post about a trending topic in your niche each day” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.