Facebook Group Post Data Extraction with Airtop - n8n Workflow

Automate Facebook group scraping using this powerful n8n workflow. Extract post text, engagement metrics, and timestamps using the Airtop n8n node for structured data extraction.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Community Managers needing structured data for engagement reporting.
Marketing Analysts who monitor competitor or niche group discussions.
Researchers requiring large datasets of social media interactions.
Users looking for powerful web scraping n8n templates that handle dynamic content.

Overview

Extracting valuable data from high-traffic platforms like Facebook requires robust web scraping tools that can handle login states and dynamic content. This n8n workflow provides a seamless solution by integrating the specialized capabilities of the Airtop platform.

The core problem solved by this n8n automation is the manual, time-consuming process of scrolling through a Facebook group feed and recording post details, URLs, and engagement metrics (likes, shares, comments). By deploying this specific n8n workflow, you gain access to structured JSON data containing up to five non-sponsored posts from any given Facebook Group URL. The entire process is initiated via a simple form using the n8n trigger node, making this one of the most accessible n8n templates for advanced scraping tasks.

How it Works

This powerful n8n workflow operates in three primary stages:


  1. Initiation (The n8n trigger): The process begins with the On form submission n8n trigger. Users provide two key inputs: the target Facebook Group URL and the name of the pre-authenticated Airtop Profile required to access the content.

  2. Browser Automation: The flow passes these inputs to the Airtop n8n node. This node initializes a new, authenticated browser session, navigates to the provided Facebook URL, and uses an advanced AI extraction prompt tailored to locate and collect data from up to five non-sponsored posts.

  3. Structured Output: The Airtop n8n node is configured with a strict JSON schema. It extracts specific fields—including post text, post URL, profile details, timestamp, number of likes, shares, and comments—and returns the resulting data set directly back into the n8n workflow, ready for further processing or storage. This efficient n8n node configuration ensures reliable, structured data output every time the n8n workflow runs.

Installation Guide

To set up and utilize this n8n workflow, follow these steps:


  1. Import the n8n workflow: Copy the provided JSON data and paste it directly into your n8n instance using the 'New' -> 'Import from JSON' function.

  2. Airtop Credentials: You must configure credentials for the Airtop n8n node. Obtain your Airtop API Key and add it as a new credential within n8n.

  3. Airtop Profile Setup: Crucially, this n8n template requires a designated Airtop Profile that is logged into Facebook. The profile name provided in the initial form submission must match this profile.

  4. Activate the n8n trigger: Activate the On form submission n8n trigger node. You can access the public form URL to run manual tests or integrate the trigger URL into a wider application.

  5. Test the n8n workflow: Execute the automation by submitting a valid Facebook Group URL and your Airtop Profile name through the generated form.

Node Details

This compact but powerful n8n workflow relies on two key components:

On form submission (n8n trigger)
Function: Acts as the starting n8n trigger for the automation, collecting required input from the user.
Key Configuration: Collects Facebook Group URL and Airtop Profile name. The form title is set to 'Facebook Group Scraper'.

Airtop (n8n node)
Function: Performs authenticated browser automation and AI-assisted data extraction from the live Facebook Group feed.
Key Configuration:
Resource: extraction.
URL: Dynamically set using ={{ $json['Facebook Group URL'] }}.
Profile Name: Dynamically set using ={{ $json['Airtop Profile'] }}.
Prompt: Detailed instructions to extract up to 5 non-sponsored posts and all corresponding metadata (likes, comments, text, URLs).
* Output Schema: A predefined JSON schema ensures the extracted data is clean and structured, making the output of this n8n node highly predictable for downstream integration.

Related n8n Workflows

Free

Nodes: 3 Nodes
Updated: December 26 2025
View all
Created by

Airtop provides an intelligent browser automation API for AI agents, enabling seamless web interaction, including login, navigation, and data extraction from any site, even those with complex authentication - all with natural language instructions.In simple terms, we allow you to automate anything humans can do online, on any site with just words

Featured*