Developer & DevOps

Get comments from the Facebook page

11 nodes 195 118 Automatic trigger
Download

Workflow Description

Automation template that retrieves comments from a Facebook page, processes them through filters and custom code, enabling efficient analysis and management of audience interactions without manual intervention.

How it works

  1. 1.Activate the manual trigger to initiate comment collection from your Facebook page
  2. 2.Call Facebook Graph API to fetch all comments with their complete metadata
  3. 3.Apply conditional filters to categorize comments by type, sentiment, or priority
  4. 4.Execute custom code logic to transform and format the comment data
  5. 5.Merge and consolidate the processed comment results
  6. 6.Split data streams for parallel processing when needed

Use cases

  • Monitor and extract page comments periodically for detailed audience analysis
  • Automatically identify and alert on negative comments for quick response
  • Store important comments in databases or spreadsheets for future reference

Requirements

  • Facebook account with page administrator permissions
  • Graph API access token with appropriate scopes
  • Your Facebook page ID
  • Basic knowledge of data filtering and conditional logic

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Facebook

Details

Trigger Automatic trigger
Nodes 11
Apps 1
Views 195
Downloads 118

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (11)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Split Out Comments

Split Out

#2

Filter Out Null Comments

Filter

#3

Select Result Field

Set

#4

Split Out Posts

Split Out

#5

Facebook Graph API : Get Post from Page

Facebook Graph Api

#6

Facebook : Get Each Post Comments

Facebook Graph Api

#7

Merge Post & Comments

Merge

#8

Reverse Item to Match another Branch

Code

#9

Set PageID & Number of Latest Posts

Set

#10

Sticky Note

Sticky Note

#11