⚡ Only 300 spots remaining • Closes in 2d 14h 32m
Keep your community clean and professional. This workflow listens for new comments on your Facebook Page posts. It checks the comment text against a list of banned words. If a match is found, the workflow instantly hides the comment via the Graph API to prevent spam or abuse.
This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.
This is an exclusive blueprint. Copy the JSON below to use it.
PRO TIP
Always test your workflow in a development environment before pushing to production.
{
"nodes": [
{
"parameters": {
"pageId": "YOUR_PAGE_ID"
},
"name": "FB Comment Trigger",
"type": "n8n-nodes-base.facebookPageTrigger",
"typeVersion": 1,
"position": [250, 300]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"message\"]}}",
"operation": "contains",
"value2": "scam"
}
]
}
},
"name": "Is Spam?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [450, 300]
},
{
"parameters": {
"resource": "comment",
"operation": "update",
"commentId": "={{$node[\"FB Comment Trigger\"].json[\"id\"]}}",
"additionalFields": {
"is_hidden": true
}
},
"name": "Hide Comment",
"type": "n8n-nodes-base.facebookPage",
"typeVersion": 1,
"position": [650, 250]
}
],
"connections": {
"FB Comment Trigger": {
"main": [[{"node": "Is Spam?", "type": "main", "index": 0}]]
},
"Is Spam?": {
"main": [[{"node": "Hide Comment", "type": "main", "index": 0}]]
}
}
}To use this, copy the JSON above and paste it directly onto your n8n canvas.
Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.