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.
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
Every weekday morning ClickRuntime fetches the last day's posts from the competitor accounts you listed.
It skips posts it has already included in an earlier digest.
AI summarises the posts, putting launches, pricing changes and campaigns first.
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
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 Gmail and X steps into one automation
Under the hood
The code that runs this automation
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?
Does it need a paid X plan?
What if a competitor posts nothing?
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
Post an hourly price update to X and your inbox
Every hour a short price update for the assets you follow is posted on X and emailed to you.
See how it worksApprove X posts by replying to an email
Send a topic, get an X post draft by email, and reply "approve" to publish it.
See how it worksPost new articles to X and get an email copy
New articles from your blog or news feeds are summarised into X posts, and you get an email with what was posted.
See how it worksKeep exploring
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.