Every 15 minutes
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.
- Runs
- Every 15 minutes
- Apps
- Facebook Pages
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_read_engagement, pages_read_user_content
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, sort new comments on my Facebook Page into question, complaint, praise or spam, and email me the questions and complaints with links.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
On a busy Facebook Page, the comments that matter most are buried among likes, tags and emoji. A customer asking whether an item ships to Canada, or complaining that an order never arrived, waits as long as a friend saying nice photo. Unanswered questions look like neglect to everyone who scrolls past, and complaints left public can grow into a thread of agreement. The cost shows up as lost sales and a Page that looks unattended.
Every 15 minutes, ClickRuntime pulls the new comments on your Page's posts and has its built-in AI sort them into questions, complaints and everything else. Only the first two reach you, with the comment text, the author and a link to the post.
It is especially useful when one person handles social media alongside other duties.
What you get out of it
Answer questions while they matter
A buyer asking about sizing is deciding whether to purchase right now. A flagged question reaches you within fifteen minutes, so the answer arrives before they move to a competitor's page.
Contain complaints before they spread
A public complaint attracts others with the same experience. Seeing it quickly lets you reply with an apology and a fix, which limits the thread and shows other readers that someone is listening.
Ignore the noise safely
Praise, emoji and tags do not need action. Filtering them out removes most of the volume, so a notification means something specific and does not train you to ignore the feed.
Spot recurring product issues
When three flagged comments in a week mention the same late delivery or broken part, the pattern is visible in your notifications. That evidence helps you take the problem to operations.
Share social workload fairly
Because flagged items come with links, you can forward a complaint to support or a question to sales. Each team handles what belongs to them without everyone reading every comment.
How it works
What happens, step by step
Every 15 minutes ClickRuntime collects new comments on your 10 most recent Facebook Page posts, so none is checked twice.
AI labels each comment as a question, a complaint, praise or spam.
Questions and complaints are emailed to you with a link to each comment, while praise and spam are left alone.
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, report_fetched
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):
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,permalink_url", "access_token": token}).json()["data"]]
report_fetched(len(comments))
if not comments:
return {"summary": "Nothing new"}
numbered = "\n".join(f"{i}. {c['message'][:300]}" for i, c in enumerate(comments))
labels = ai.generate("Label each comment question, complaint, praise or spam. One label per line, same order.\n" + numbered,
max_output_tokens=10 * len(comments)).text.lower().split()
flagged = [f"[{l}] {c['message']}\n{c['permalink_url']}" for c, l in zip(comments, labels) if l in ("question", "complaint")]
if flagged:
notify.email_me(f"{len(flagged)} Facebook comment(s) need you", "\n\n".join(flagged))
state.set("since", int(datetime.now(timezone.utc).timestamp()))
return {"comments": len(comments), "flagged": len(flagged)}FAQ
Common questions
Does it reply to the comments?
How does it tell a question from a complaint?
Will it read comments on old posts?
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
Hide spam and abusive comments on your Page
Spam and abuse are hidden within 15 minutes, and a daily email shows what was hidden.
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 “Sort Page comments and flag complaints” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.