Facebook Page comment or mention → AI-sorted Slack alert
Comments and mentions on the Page reach Slack sorted by what they need.
A comment or a mention on your Facebook Page lands in Slack within a minute, with the commenter's name, the text and a link to the post. A model reads each one first and labels it question, complaint, praise or spam, so complaints and questions go to the support channel and praise goes to marketing. The buyer is whoever refreshes the Page notifications tab between other jobs. Spam is logged and stays out of Slack.
How it works
- f
Trigger
n8n's Facebook Trigger receives the Page webhook for the feed and mention fields: a new comment on a Page post, or a post or comment that mentions the Page
Facebook Pages
- if
Step 1
Ignore the Page's own activity
Events from the Page itself, edits, deletions and anything that is not a comment or a mention are filtered out before any further call is made.
- f
Step 2
Fetch the comment and its permalink
One Graph API call on the comment ID returns the message, the commenter's name, the created time and permalink_url.
- AI
Step 3
Label the comment
The comment text goes to a GPT model with a fixed prompt that returns one label (question, complaint, praise, spam, other) and a one-line summary; only the label drives the routing.
- if
Step 4
Route by label
A Switch node sends questions and complaints to support, praise and other to marketing, and spam to the execution log only.
- S
Step 5
Post the alert in Slack
Slack gets the label, the name, the comment, the one-line summary and the permalink.
What changes once it runs
- A new comment or mention shows in Slack within a minute of appearing on Facebook, with a link straight to the reply box.
- Complaints and questions reach the support channel; praise reaches marketing; spam reaches neither.
- Each alert carries a one-line summary, so a 300-word comment can be judged without opening Facebook.
- Your Page's own replies are filtered out, so the channel is not filled with your own activity.
What you get
- Workflow export for n8n with the Facebook Trigger, the Graph API lookup, the OpenAI step and both Slack branches wired
- Setup guide for the Meta app, including the one-time subscribed_apps call that Page webhooks need
- Classification prompt as a separate file, with notes on adding your own labels
- Slack message layouts for the support and marketing channels, editable in the workflow
- Recorded walkthrough of the first live comment arriving in Slack
Before you start
- Meta developer app with the Webhooks product added and the Page subscribed to the feed and mention fields
- Page access token with pages_manage_metadata, pages_read_engagement and pages_read_user_content for a Page you administer
- OpenAI API key with billing enabled; each comment is one short completion
- Slack workspace where you can create a bot token with chat:write, plus the two target channels
- Public HTTPS URL for n8n (n8n Cloud, or a self-hosted instance behind a domain) so Meta can deliver the webhook
Built for
Questions before you buy
- Do I need Meta App Review to run this?
- Not for a Page you administer. In Development mode, anyone with a role on the app can grant the Page permissions, and webhooks are delivered. App Review is only needed if the app is to serve Pages owned by people without a role on it, such as clients.
- What if the model labels a comment wrongly?
- The label only decides which Slack channel the alert goes to; the comment text and the link are always included, so a misrouted alert is still read and answered. The prompt file has a section for adding examples from your own comments, which is the usual fix.
- Can it reply automatically?
- No, and on purpose. The Graph API can post replies, but an automated reply to a complaint is the kind of thing that ends up screenshotted. The alert puts a person one click from the reply box. Drafted replies to approve in Slack are a separate build in the AI category.
- Does it cover Instagram comments too?
- This package is Facebook Page only. The same Meta app can subscribe to the Instagram object (comments and mentions fields) for a professional account linked to the Page, and the guide notes what to add, but the Instagram path is untested in this version.
- Will it run on Make or Zapier?
- Only on n8n for now. It depends on a Page webhook subscription that the n8n Facebook Trigger node manages, and we have not built or tested a Make or Zapier version.
Nearby on the shelf
Whole catalog- YTinfDcMade to order
YouTube upload → LinkedIn post + Facebook Page post + Discord announcement
Every new video announced on three channels within one polling interval.
Social media & community$199 - GAIPSMade to order
Gmail enquiry → AI-extracted Pipedrive person + lead, Slack alert to the owner
Enquiry emails turn into Pipedrive leads with the details already filled in.
Lead capture & routing$199 - IcAIGHSMade to order
Intercom conversation tagged 'bug' → GitHub issue + note back + Slack
Tagging a conversation in Intercom opens a written-up GitHub issue and links it back.
Customer support & tickets$199
