Skip to content

On a schedule

Get a morning digest of competitors' X posts

Every morning one email sums up what your competitors posted on X in the last day.

Runs
On a schedule
Apps
Gmail, X
AI
Yes, uses the built-in AI allowance
Access
X tweet.read, users.read; Gmail gmail.send

Send this to your assistant

Create a ClickRuntime automation: every weekday at 8am, read yesterday's posts from these competitor X accounts, summarise the announcements and themes, and email me the digest.

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

Product marketers and founders need to know when a competitor launches a feature, changes pricing or starts a campaign. Competitors announce these on X first, but following a dozen accounts in a busy feed means the important post is buried under everything else.

A short morning email covering only those accounts gives you the competitive picture in two minutes. Launches and pricing changes stand out, and nothing slips past because you were busy.

What you get out of it

  • No more missed launches

    Feature launches and pricing changes are pulled out of the noise and put at the top of the email.

  • Two minutes instead of scrolling

    One summary replaces checking each account, so competitive tracking takes almost no time.

  • Easy to share

    The email can be forwarded to sales or product, so the whole team hears about changes the same day.

  • Only new posts

    Posts already covered are remembered, so each digest only includes what is new since yesterday.

How it works

What happens, step by step

  1. Every weekday morning ClickRuntime fetches the last day's posts from the competitor accounts you listed.

  2. It skips posts it has already included in an earlier digest.

  3. AI summarises the posts, putting launches, pricing changes and campaigns first.

  4. The digest is emailed to you from your Gmail.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect X

What you get

RunsOn a schedule
Get a morning digest of competitors' X poststoday, 9:00Succeeded
Email · Competitor posts on XNorthwind: launched a free tier for teams under 5 and announced a webinar on Thursday. Acme: three posts promoting their new Slack integration.

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 Gmail 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.
daily_email_digest_of_competitor_tweets.pyexample
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, credentials, http, state, ai

ACCOUNTS, ME = ["northwindapp", "acmehq"], "me@example.com"

def send_email(subject, text):
    msg = EmailMessage()
    msg["To"], msg["Subject"] = ME, subject
    msg.set_content(text)
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()

@on_trigger
def run(event):
    x = {"Authorization": "Bearer " + credentials.connection("x", "main")}
    since = (datetime.now(timezone.utc) - timedelta(days=1)).strftime("%Y-%m-%dT%H:%M:%SZ")
    seen, lines = set(state.get("seen") or []), []
    for handle in ACCOUNTS:
        uid = http.get(f"https://api.x.com/2/users/by/username/{handle}", headers=x).json()["data"]["id"]
        for p in http.get(f"https://api.x.com/2/users/{uid}/tweets", headers=x, params={"start_time": since, "max_results": 20}).json().get("data", []):
            if p["id"] not in seen:
                lines.append(f"@{handle}: {p['text']}")
                seen.add(p["id"])
    digest = ai.generate("\n".join(lines), system="Summarise competitors' posts by company. Put launches and pricing changes first.",
                         max_output_tokens=600).text if lines else "No new posts from your competitors yesterday."
    send_email("Competitor posts on X", digest)
    state.set("seen", list(seen)[-1000:])
    return {"posts": len(lines)}

FAQ

Common questions

How many accounts can I follow?
Around ten to twenty works well. More accounts make the digest longer and use more of your X API read allowance.
Does it need a paid X plan?
Yes. Reading other accounts' posts needs a paid API access level from X.
What if a competitor posts nothing?
They are left out of the digest. If nobody posted, you get a one-line email saying so.
What permissions does it need?
X tweet.read, users.read; Gmail gmail.send. 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 (on a schedule). 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 a morning digest of competitors' X posts” from your assistant

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