Facebook-Group-Scraper
Dies ist ein AI-Bereich Automatisierungsworkflow mit 3 Nodes. Hauptsächlich werden Airtop, FormTrigger und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. Extrahieren Sie Facebook-Gruppenbeiträge mit Airtop
- •KI-Service API Key (z.B. OpenAI, Anthropic)
Verwendete Nodes (3)
Kategorie
{
"id": "1LBhz8JFWZgT5cui",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "Facebook Group Scraper",
"tags": [],
"nodes": [
{
"id": "22789f80-781f-42c4-89c4-ebbf32745a05",
"name": "Bei Formularübermittlung",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "bf8d7e5f-f886-4586-affa-03c839ce3d70",
"parameters": {
"options": {},
"formTitle": "Facebook Group Scraper",
"formFields": {
"values": [
{
"fieldLabel": "Facebook Group URL",
"placeholder": "The URL of the Facebook Group feed you want to scrape",
"requiredField": true
},
{
"fieldLabel": "Airtop Profile",
"placeholder": "Airtop Profile authenticated to Facebook",
"requiredField": true
}
]
},
"formDescription": "This automation will extract information from a Facebook group"
},
"typeVersion": 2.2
},
{
"id": "31c32d54-5fe3-4125-9e29-029a1c955822",
"name": "Airtop",
"type": "n8n-nodes-base.airtop",
"position": [
220,
0
],
"parameters": {
"url": "={{ $json['Facebook Group URL'] }}",
"prompt": "This is a Facebook group feed. \nExtract up to 5 non-sponsored posts, for each post extract:\n - Post text\n- Post URL\n- Page/profile URL\n- Timestamp\t\n- Number of likes \n- Number if shares\n- Number of comments\n- Page or profile details\t\n- Post thumbnail",
"resource": "extraction",
"profileName": "={{ $json['Airtop Profile'] }}",
"sessionMode": "new",
"additionalFields": {
"outputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"posts\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"post_text\": {\n \"type\": \"string\",\n \"description\": \"The text content of the post.\"\n },\n \"post_url\": {\n \"type\": \"string\",\n \"description\": \"The URL of the post.\"\n },\n \"page_profile_url\": {\n \"type\": \"string\",\n \"description\": \"The URL of the page or profile that made the post.\"\n },\n \"timestamp\": {\n \"type\": \"string\",\n \"description\": \"The timestamp of when the post was made.\"\n },\n \"number_of_likes\": {\n \"type\": \"integer\",\n \"description\": \"The number of likes the post has received.\"\n },\n \"number_of_shares\": {\n \"type\": \"integer\",\n \"description\": \"The number of times the post has been shared.\"\n },\n \"number_of_comments\": {\n \"type\": \"integer\",\n \"description\": \"The number of comments on the post.\"\n },\n \"page_profile_details\": {\n \"type\": \"string\",\n \"description\": \"Details about the page or profile that made the post.\"\n },\n \"post_thumbnail\": {\n \"type\": \"string\",\n \"description\": \"The URL of the post's thumbnail image.\"\n }\n },\n \"required\": [\n \"post_text\",\n \"post_url\",\n \"page_profile_url\",\n \"timestamp\",\n \"number_of_likes\",\n \"number_of_shares\",\n \"number_of_comments\",\n \"page_profile_details\",\n \"post_thumbnail\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"posts\"\n ],\n \"additionalProperties\": false,\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}",
"paginationMode": "infinite-scroll",
"parseJsonOutput": true
}
},
"credentials": {
"airtopApi": {
"id": "Yi4YPNnovLVUjFn5",
"name": "Airtop Official Org"
}
},
"typeVersion": 1
},
{
"id": "8ada5770-7a77-4e75-8342-f0cad8146e4d",
"name": "Haftnotiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
-980,
-680
],
"parameters": {
"color": 5,
"width": 820,
"height": 1380,
"content": "README\n\n# Facebook Group Scraper\n\n## Use Case\n\nExtracting content from Facebook Groups allows community managers, marketers, and researchers to gather insights, monitor discussions, and collect engagement metrics efficiently. This automation streamlines the process of retrieving non-sponsored post data from group feeds.\n\n## What This Automation Does\n\nThis automation extracts key post details from a Facebook Group feed using the following input parameters:\n\n* **Facebook Group URL**: The URL of the Facebook Group feed you want to scrape.\n* **Airtop Profile**: The name of your [Airtop Profile](https://portal.airtop.ai/browser-profiles) authenticated to Facebook.\n\nIt returns up to 5 non-sponsored posts with the following attributes for each:\n\n* Post text\n* Post URL\n* Page/profile URL\n* Timestamp\n* Number of likes\n* Number of shares\n* Number of comments\n* Page or profile details\n* Post thumbnail\n\n## How It Works\n\n1. **Form Trigger**: Collects the Facebook Group URL and Airtop Profile via a form.\n2. **Browser Automation**:\n\n * Initiates a new browser session using Airtop.\n * Navigates to the provided Facebook Group feed.\n * Uses an AI prompt to extract post data, including interaction metrics and profile information.\n3. **Structured Output**: The results are returned in a defined JSON schema, ready for downstream use.\n\n## Setup Requirements\n\n1. [Airtop API Key](https://portal.airtop.ai/api-keys) — Free to generate.\n2. An [Airtop Profile](https://portal.airtop.ai/browser-profiles) logged into Facebook.\n3. An [n8n instance](https://n8n.io/) with the Airtop integration enabled.\n\n## Next Steps\n\n* **Integrate With Analytics Tools**: Feed the output into dashboards or analytics platforms to monitor community engagement.\n* **Automate Alerts**: Trigger notifications for posts matching certain criteria (e.g., high engagement, keywords).\n* **Combine With Comment Automation**: Extend this to reply to posts or engage with users using other Airtop automations.\n\nLet me know if you’d like this saved as a `.md` file or included in your Airtop automation library.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "33402a6d-082e-4fb9-8ad0-90275049a366",
"connections": {
"22789f80-781f-42c4-89c4-ebbf32745a05": {
"main": [
[
{
"node": "31c32d54-5fe3-4125-9e29-029a1c955822",
"type": "main",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Anfänger - Künstliche Intelligenz
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Airtop
@cesar-at-airtopAirtop 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
Diesen Workflow teilen