Every 15 minutes
Hide spam and abusive comments on your Page
Spam and abuse are hidden within 15 minutes, and a daily email shows what was hidden.
- Runs
- Every 15 minutes
- Apps
- Facebook Pages
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_manage_engagement, pages_read_user_content
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, check new comments on my Facebook Page, hide spam, scam links and abusive ones, and send me a daily summary at 6pm of what was hidden.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A Facebook Page that runs ads or posts regularly attracts comments from bots selling followers, crypto links and phishing pages, plus the occasional abusive reply under a post about pricing. Left in place, they push real customers away and give scammers a free audience. Moderating by hand means opening each post's comments throughout the day, which community managers and shop owners rarely have time for. Even a handful of scam comments can damage trust that took years to build.
Every 15 minutes, ClickRuntime fetches the new comments on your Page, has ClickRuntime's built-in AI classify each as spam, abusive or fine, and hides the first two. Every action is logged, and a daily email lists what was hidden so you can restore a comment that was wrongly caught.
It suits brands running ads, where comments pour in unattended.
What you get out of it
Keep scam links off your posts
Phishing and fake giveaway links under an ad can trick your own customers. Hiding them within fifteen minutes limits the number of people who see them and reduces the chance of a customer being scammed in your name.
Protect the tone of your Page
One abusive comment left in place invites more, and visitors judge the brand by what they see. Hiding it quickly keeps the conversation civil without deleting anything permanently. Customers also notice when a Page is cared for.
Free up the community manager
Skimming for spam eats an hour a day on active Pages. Automatic classification leaves staff to answer real questions and handle sales conversations that need a human touch. That time goes back into replies.
Hide instead of delete
Hidden comments stay visible to the commenter and their friends, so spammers see nothing wrong and do not escalate. You can still review and unhide, which a deletion would not allow.
Keep an audit trail
The daily email lists each hidden comment with the reason given. It lets you spot false positives, show a client what was removed, and tune the rules over time. A written record settles disputes quickly.
How it works
What happens, step by step
Every 15 minutes ClickRuntime collects new comments on your 10 most recent Facebook Page posts.
AI labels each comment as fine, spam, a scam or abuse.
Spam, scams and abuse are hidden on your Page straight away, and everything else is left as it is.
Once a day, in the evening, you get an email listing the comments it hid and why.
Before it runs live
- Connect Facebook Pages
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
- Act only on the items that match your own rules, and skip the rest
- 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 steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timezone
from clickruntime import on_trigger, credentials, http, state, ai, notify
G = "https://graph.facebook.com/v21.0"
PAGE_ID = "104857600000000"
def page_token():
user = credentials.connection("facebook", "work")
return http.get(f"{G}/{PAGE_ID}", params={"fields": "access_token", "access_token": user}).json()["access_token"]
@on_trigger
def run(event):
hidden = state.get("hidden_today") or []
if event.get("scheduled_time", "")[11:13] == "18" and hidden:
notify.email_me(f"Hidden {len(hidden)} Facebook comment(s) today", "\n".join(hidden))
state.set("hidden_today", [])
token = page_token()
since = state.get("since") or int(datetime.now(timezone.utc).timestamp()) - 900
posts = http.get(f"{G}/{PAGE_ID}/posts", params={"limit": 10, "access_token": token}).json()["data"]
comments = [c for p in posts for c in http.get(f"{G}/{p['id']}/comments",
params={"since": since, "fields": "message", "access_token": token}).json()["data"]]
if comments:
numbered = "\n".join(f"{i}. {c['message'][:300]}" for i, c in enumerate(comments))
labels = ai.generate("Label each comment ok, spam, scam or abuse. One label per line, same order.\n" + numbered,
max_output_tokens=8 * len(comments)).text.lower().split()
for c, label in zip(comments, labels):
if label in ("spam", "scam", "abuse"):
http.post(f"{G}/{c['id']}", data={"is_hidden": "true", "access_token": token}).raise_for_status()
hidden.append(f"[{label}] {c['message'][:120]}")
state.set("hidden_today", hidden)
state.set("since", int(datetime.now(timezone.utc).timestamp()))
return {"checked": len(comments)}FAQ
Common questions
Can the AI hide a comment by mistake?
What counts as spam or abuse here?
Which permission does the Page connection need?
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
Sort Page comments and flag complaints
Questions and complaints on your posts reach you within 15 minutes, while praise and spam stay out of your way.
See how it worksDraft replies to Page questions for your approval
Questions in your comments get a drafted answer by email, and it's posted once you approve.
See how it worksGet new Page comments in one email
Every hour you get the new comments on your recent posts, each with a link to reply.
See how it worksKeep exploring
Set up “Hide spam and abusive comments on your Page” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.