Skip to content

Weekly

Get the top posts for your hashtags each week

Every Monday you see what's performing in your niche, with links.

Runs
Weekly
Apps
Instagram
AI
Not needed
Access
instagram_basic (FB Login), Instagram Public Content Access feature

Send this to your assistant

Create a ClickRuntime automation: every Monday, email me the top 10 Instagram posts for #plantbasedrecipes and #mealprep with links and captions.

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 fitness coach wants to know what content works in her niche, so she opens Instagram, searches #homeworkout, and scrolls for twenty minutes looking at what is performing. She does this on days when she remembers, which is not often, and she misses the format that took over the hashtag last month. Her own posts keep following last quarter's style while the niche moved.

Once a week, ClickRuntime looks up each hashtag you follow, such as #homeworkout and #mobilitytraining, retrieves the top media for them from Instagram, and emails you the list with the captions and links. You can review a week of what is winning in your niche in a few minutes.

Creators, social media managers and agencies tracking several client niches use this kind of digest for content research.

What you get out of it

  • Content ideas come from real winners

    Seeing the posts people engage with most in your niche gives you proven formats to borrow from. You plan next week's posts from evidence, not from a blank page. Each digest hands you a few formats to test, which is cheaper than inventing a content plan from nothing.

  • Trends are spotted early

    A new style, sound or caption pattern shows up in top posts before it becomes obvious. Noticing it in week one lets you use it while it still stands out.

  • Competitor-style research without effort

    You see who is posting top content in your space without monitoring individual accounts. That identifies potential collaborators and competitors you did not know about. Being aware of those accounts early helps you plan collaborations before everyone else in the niche does.

  • Several niches in one email

    Agencies can follow the hashtags of different clients and receive one tidy list. It replaces separate manual searches for each account that tend to get skipped when deadlines arrive. Planning content for several clients stops depending on one person remembering to run the same searches.

  • Better hashtag decisions

    If top posts under a tag are all from huge accounts, it may not be worth using. Reviewing results regularly helps you pick tags where a smaller account has a real chance of being seen.

How it works

What happens, step by step

  1. Once a week, ClickRuntime looks up each hashtag on your list on Instagram.

  2. It collects the top posts currently showing for each hashtag.

  3. You get one email grouped by hashtag, with a short caption and a link for each top post.

Before it runs live

  • Connect Instagram

What you get

RunsWeekly
Get the top posts for your hashtags each weektoday, 9:00Succeeded
Email · Top Instagram posts this week#plantbasedrecipes - 15-minute chickpea curry, one pan, no fuss https://www.instagram.com/p/C9xAcme01/

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
  • 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 Instagram 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.
hashtag_top_posts_digest.pyexample
from clickruntime import on_trigger, notify, http, credentials

GRAPH = "https://graph.facebook.com/v21.0"
IG_ID = "17841400000000000"  # your Instagram business account id
HASHTAGS = ["plantbasedrecipes", "mealprep"]

@on_trigger
def run(event):
    token = credentials.connection("instagram", "main")
    lines = []
    for tag in HASHTAGS:
        found = http.get(f"{GRAPH}/ig_hashtag_search", params={"user_id": IG_ID, "q": tag, "access_token": token}).json()["data"]
        top = http.get(f"{GRAPH}/{found[0]['id']}/top_media", params={
            "user_id": IG_ID, "fields": "caption,permalink,like_count", "limit": 10, "access_token": token,
        }).json()["data"][:10]
        lines.append(f"#{tag}")
        lines += [f"- {(p.get('caption') or '')[:100]}\n  {p['permalink']}" for p in top]
        lines.append("")
    notify.email_me("Top Instagram posts this week", "\n".join(lines))
    return {"hashtags": len(HASHTAGS)}

FAQ

Common questions

How many hashtags can I follow this way?
Instagram's hashtag search has a limit on how many distinct hashtags an account may query within a rolling week, currently set at a few dozen. Keep the list focused on the tags that matter and you will stay within that limit.
Does it show top posts or the most recent ones?
The digest uses the top media for each hashtag, which Instagram ranks by engagement. If you would rather see recent posts, ask for that instead, though recent media is less useful for judging what works because it has had little time to collect likes.
Do I need a business account to look up hashtags?
Yes. Hashtag search is part of Instagram's API for professional accounts connected to a Facebook Page. Private accounts and personal profiles cannot use it, so confirm yours is a Business or Creator account before you start.
What permissions does it need?
instagram_basic (FB Login), Instagram Public Content Access feature. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's 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 “Get the top posts for your hashtags each week” from your assistant

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