Gratteur de groupes Facebook
Ceci est unAIworkflow d'automatisation du domainecontenant 3 nœuds.Utilise principalement des nœuds comme Airtop, FormTrigger, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Extraire des publications de groupes Facebook avec Airtop
- •Clé API de service IA (comme OpenAI, Anthropic, etc.)
Nœuds utilisés (3)
Catégorie
{
"id": "1LBhz8JFWZgT5cui",
"meta": {
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
"templateCredsSetupCompleted": true
},
"name": "Facebook Group Scraper",
"tags": [],
"nodes": [
{
"id": "22789f80-781f-42c4-89c4-ebbf32745a05",
"name": "À la soumission du formulaire",
"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": "Note autocollante",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Intelligence Artificielle
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
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
Partager ce workflow