Weekly
Get a weekly email on how people feel about your posts
Every week you get an email summarising the comments on your recent Facebook posts: overall mood, common themes and anything to follow up.
- Runs
- Weekly
- Apps
- Facebook Pages, Gmail
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_read_engagement, pages_read_user_content; gmail.send
Send this to your assistant
Create a ClickRuntime automation: every Friday at 4, read the comments on my Facebook Page posts from the last week and email me a summary of the sentiment, the main themes and any comments that need a reply.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A council-run leisure centre posts timetable changes and news on Facebook. Comments pile up under each post: praise, complaints about parking, questions about prices. Nobody has time to read them all, so patterns go unnoticed.
Every Friday a short email sums up the week's comments: how people feel overall, the themes that keep coming up and the specific comments that still need an answer.
What you get out of it
Hear what people are saying
Recurring themes stand out, like parking or class sizes.
Don't miss questions
Unanswered questions and complaints are listed for follow-up.
Track mood over time
Weekly emails show whether things are getting better or worse.
No scrolling through comments
A five-minute read replaces an hour of scrolling.
How it works
What happens, step by step
Every Friday, ClickRuntime lists the posts on your Page from the last week.
It reads the comments on each post.
AI sums up the overall mood, the common themes and the comments that need a reply.
The summary is emailed to you from Gmail.
Before it runs live
- Connect Facebook Pages
- Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
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 Facebook Pages and Gmail steps into one automation
Under the hood
The code that runs this automation
import base64
from datetime import datetime, timedelta, timezone
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, ai
PAGE_ID = "1234567890"
@on_trigger
def run(event):
t = {"access_token": credentials.connection("facebook", "work")}
since = int((datetime.now(timezone.utc) - timedelta(days=7)).timestamp())
posts = http.get(f"https://graph.facebook.com/v21.0/{PAGE_ID}/posts", params={**t, "since": since}).json()["data"]
comments = [c["message"][:300] for p in posts
for c in http.get(f"https://graph.facebook.com/v21.0/{p['id']}/comments", params={**t, "limit": 100}).json()["data"]]
if not comments:
return {"comments": 0}
summary = ai.generate("Summarise sentiment, main themes and comments needing a reply:\n" + "\n".join(comments[:300]),
max_output_tokens=600).text
gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
raw = f"To: me\r\nSubject: Comment summary: {len(comments)} comments this week\r\n\r\n{summary}"
gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(raw.encode()).decode()}).execute()
return {"comments": len(comments)}FAQ
Common questions
Which posts are included?
Does it reply to anyone?
Does it include commenters' names?
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
Publish AI posts to your Page with an email record
AI writes and publishes a Facebook post from your topic list, and you get an email with the text and link of what went out.
See how it worksApprove trend-based Facebook posts from your inbox
AI drafts posts about trending topics in your field and emails them to you; the ones you approve are published to your Page.
See how it worksGet a Meta Ads report with commentary by email
Each Monday you get an email with last week's Meta ad results by campaign and a few lines on what they mean.
See how it worksKeep exploring
Set up “Get a weekly email on how people feel about your posts” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.