Extraction et filtrage de publications et commentaires Reddit via recherche par mots-clés et formatage Markdown

Avancé

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 28 nœuds.Utilise principalement des nœuds comme If, Set, Code, Sort, Limit. Extraire et filtrer les publications et commentaires Reddit par recherche de mots-clés et formatage Markdown

Prérequis
  • Point de terminaison HTTP Webhook (généré automatiquement par n8n)
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "b6be3264d10563f53f60f119665bef14019561878be2f73c07ebd4200e9255cf"
  },
  "nodes": [
    {
      "id": "5496b8fe-32be-493c-a2ae-fad6d361014f",
      "name": "Boucle sur les Éléments1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1504,
        448
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "59247686-2eda-4469-9d68-0b1f8d52a12e",
      "name": "Définir Publications Reddit",
      "type": "n8n-nodes-base.set",
      "position": [
        -1696,
        80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "63275ce4-a50f-4e00-91d4-bb51e3df36cb",
      "name": "Limite",
      "type": "n8n-nodes-base.limit",
      "position": [
        -1824,
        448
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "33804ada-8577-4b83-83a0-b74f91104aee",
      "name": "Note Adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3392,
        -288
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "684a2d18-25a9-4f34-bb29-b9d46c4b28a5",
      "name": "Outil reddit",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -2752,
        896
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "cb8d6327-88e7-4cb9-acfb-84605f13a821",
      "name": "Outil reddit webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2448,
        80
      ],
      "webhookId": "c09463b8-3516-4923-b9aa-0b066f129113",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4ec37d5e-ef00-44ef-8c6b-6d6fd5e2cbd8",
      "name": "Définir mots-clés",
      "type": "n8n-nodes-base.set",
      "position": [
        -2256,
        80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "9175f95b-f5e2-489a-861c-7949d2db285c",
      "name": "Publié ces Derniers x Jours",
      "type": "n8n-nodes-base.code",
      "position": [
        -1472,
        80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6b7470b4-65aa-4f2c-a008-ed6eef7ba397",
      "name": "Note Adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "263183fe-7b02-4ff1-956d-28bfa15f6d6f",
      "name": "Note Adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        -48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0c45491f-4b76-40f0-8410-d551d2621587",
      "name": "Filtrage par Exigence de Upvotes",
      "type": "n8n-nodes-base.if",
      "position": [
        -1200,
        80
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "e1d390d1-29e3-4d31-acae-c4c9bc91e38c",
      "name": "Supprimer les Doublons",
      "type": "n8n-nodes-base.code",
      "position": [
        -944,
        64
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "13b76f3c-e990-4fbf-886c-a0b2005a8b86",
      "name": "Note Adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b777993a-f03e-4ba4-a813-43802abc1715",
      "name": "Trier par upvotes (décroissant)",
      "type": "n8n-nodes-base.sort",
      "position": [
        -752,
        64
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a46e9767-a252-4e39-8310-856656f5934f",
      "name": "Définir publication pour Boucle",
      "type": "n8n-nodes-base.set",
      "position": [
        -1280,
        432
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3a50e4ad-90c6-4612-a9d5-ee826eaa68c7",
      "name": "Obtenir les Commentaires",
      "type": "n8n-nodes-base.reddit",
      "onError": "continueRegularOutput",
      "position": [
        -1104,
        432
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "5bc159c0-bcd8-4d4c-ba1a-17483eaf7585",
      "name": "Formater les Commentaires",
      "type": "n8n-nodes-base.code",
      "position": [
        -752,
        432
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d7c820da-8e61-4237-8efb-96990900b4fe",
      "name": "Répondre à Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -832,
        768
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "36aa471a-8f26-4b89-b372-3ba090616a64",
      "name": "Définir Rapport Final",
      "type": "n8n-nodes-base.set",
      "position": [
        -528,
        432
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "734f851c-f2ff-49f9-9ea0-0999eb0ebe68",
      "name": "Combiner les Publications",
      "type": "n8n-nodes-base.code",
      "position": [
        -1072,
        768
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "dc9b994c-58cc-4280-8afb-9196d57005a4",
      "name": "Agréger",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1264,
        768
      ],
      "parameters": {},
      "executeOnce": false,
      "typeVersion": 1
    },
    {
      "id": "187745d9-4901-44a3-825d-ccf46a4bd62f",
      "name": "Outil reddit subreddit webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2448,
        -128
      ],
      "webhookId": "c09463b8-3516-4923-b9aa-0b066f129113",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "2ac6a250-45cc-45ac-8ac0-a2fcb80f79aa",
      "name": "Définir subreddit",
      "type": "n8n-nodes-base.set",
      "position": [
        -2256,
        -128
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ef67aa90-01e2-4ff4-a8ef-f2ebd1803be7",
      "name": "Obtenir publications du subreddit",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -1984,
        -128
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8aea3692-5840-4aeb-a89c-5c466c1f4b4d",
      "name": "Rechercher publications par mots-clés",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -1984,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "932c4490-dfa4-493e-b0c2-dc7bc089d3c8",
      "name": "Requête outil reddit http (pour subreddit)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -3312,
        880
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5f9f3c5b-8632-40bd-94cf-5275f1664145",
      "name": "Requête outil reddit http",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -3040,
        896
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b3ee3ffa-9392-45d6-8e84-dd2b1e5f0184",
      "name": "Extraire les 20 Meilleurs Commentaires",
      "type": "n8n-nodes-base.code",
      "position": [
        -944,
        432
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2
    }
  ],
  "pinData": {},
  "connections": {
    "63275ce4-a50f-4e00-91d4-bb51e3df36cb": {
      "main": [
        [
          {
            "node": "5496b8fe-32be-493c-a2ae-fad6d361014f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc9b994c-58cc-4280-8afb-9196d57005a4": {
      "main": [
        [
          {
            "node": "734f851c-f2ff-49f9-9ea0-0999eb0ebe68",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3a50e4ad-90c6-4612-a9d5-ee826eaa68c7": {
      "main": [
        [
          {
            "node": "b3ee3ffa-9392-45d6-8e84-dd2b1e5f0184",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4ec37d5e-ef00-44ef-8c6b-6d6fd5e2cbd8": {
      "main": [
        [
          {
            "node": "8aea3692-5840-4aeb-a89c-5c466c1f4b4d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "734f851c-f2ff-49f9-9ea0-0999eb0ebe68": {
      "main": [
        [
          {
            "node": "d7c820da-8e61-4237-8efb-96990900b4fe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2ac6a250-45cc-45ac-8ac0-a2fcb80f79aa": {
      "main": [
        [
          {
            "node": "ef67aa90-01e2-4ff4-a8ef-f2ebd1803be7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5bc159c0-bcd8-4d4c-ba1a-17483eaf7585": {
      "main": [
        [
          {
            "node": "36aa471a-8f26-4b89-b372-3ba090616a64",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5496b8fe-32be-493c-a2ae-fad6d361014f": {
      "main": [
        [
          {
            "node": "dc9b994c-58cc-4280-8afb-9196d57005a4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "a46e9767-a252-4e39-8310-856656f5934f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "36aa471a-8f26-4b89-b372-3ba090616a64": {
      "main": [
        [
          {
            "node": "5496b8fe-32be-493c-a2ae-fad6d361014f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "59247686-2eda-4469-9d68-0b1f8d52a12e": {
      "main": [
        [
          {
            "node": "9175f95b-f5e2-489a-861c-7949d2db285c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e1d390d1-29e3-4d31-acae-c4c9bc91e38c": {
      "main": [
        [
          {
            "node": "b777993a-f03e-4ba4-a813-43802abc1715",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a46e9767-a252-4e39-8310-856656f5934f": {
      "main": [
        [
          {
            "node": "3a50e4ad-90c6-4612-a9d5-ee826eaa68c7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cb8d6327-88e7-4cb9-acfb-84605f13a821": {
      "main": [
        [
          {
            "node": "4ec37d5e-ef00-44ef-8c6b-6d6fd5e2cbd8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9175f95b-f5e2-489a-861c-7949d2db285c": {
      "main": [
        [
          {
            "node": "0c45491f-4b76-40f0-8410-d551d2621587",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b3ee3ffa-9392-45d6-8e84-dd2b1e5f0184": {
      "main": [
        [
          {
            "node": "5bc159c0-bcd8-4d4c-ba1a-17483eaf7585",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ef67aa90-01e2-4ff4-a8ef-f2ebd1803be7": {
      "main": [
        [
          {
            "node": "59247686-2eda-4469-9d68-0b1f8d52a12e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8aea3692-5840-4aeb-a89c-5c466c1f4b4d": {
      "main": [
        [
          {
            "node": "59247686-2eda-4469-9d68-0b1f8d52a12e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b777993a-f03e-4ba4-a813-43802abc1715": {
      "main": [
        [
          {
            "node": "63275ce4-a50f-4e00-91d4-bb51e3df36cb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0c45491f-4b76-40f0-8410-d551d2621587": {
      "main": [
        [
          {
            "node": "e1d390d1-29e3-4d31-acae-c4c9bc91e38c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "187745d9-4901-44a3-825d-ccf46a4bd62f": {
      "main": [
        [
          {
            "node": "2ac6a250-45cc-45ac-8ac0-a2fcb80f79aa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

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é ?

Avancé - Création de contenu, IA Multimodale

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.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds28
Catégorie2
Types de nœuds13
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
Muhammad Asadullah

Muhammad Asadullah

@asadtech

I am a Data Scientist, and Generative AI Developer with expertise in building AI applications, chatbots, and automation systems. Skilled in Python, R, and no-code/low-code platforms like n8n and Make, I combine strong technical knowledge in machine learning and NLP with hands-on experience in power systems, transformers, and solar design.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34