Convertir un flux RSS en tweets avec texte et images en utilisant l'API gratuite de Twitter

Avancé

Ceci est unAI, Marketingworkflow d'automatisation du domainecontenant 20 nœuds.Utilise principalement des nœuds comme If, Html, Twitter, HttpRequest, Agent, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Utiliser l'API Twitter gratuite pour convertir des RSS en tweets avec texte et images

Prérequis
  • Informations d'identification Twitter API
  • 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": "52efb5c95939622e0bef7c414e9f65e86e4ff467cf4ef0180bb464783eb83fb9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1a2da981-f15b-4c70-992a-ee50689a2e97",
      "name": "Note adhésive 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7615b62f-7def-4a7d-8787-28a458543471",
      "name": "Note adhésive 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cd1d56ba-aa0f-4e24-80d4-bcbcfab9b6b2",
      "name": "Note adhésive 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3acef7ea-98cf-4230-bfca-5f1fb74430a8",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e34ef2f9-f242-4cc3-9be2-7901f4975953",
      "name": "Récupérer le dernier article du flux",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -1880,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2cfa7258-1850-4d1f-8731-4ccbcb79066a",
      "name": "Note adhésive 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1480,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e2726f1c-9a30-41c6-8bda-a7979ecd65a1",
      "name": "Récupère le contenu HTML de l'article",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1400,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "801b42cd-f239-4097-8ddc-afc370f1105c",
      "name": "Extrait l'image principale",
      "type": "n8n-nodes-base.html",
      "position": [
        -1000,
        -140
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2a1c04f8-900d-43c9-9265-74e2bb5870b3",
      "name": "X",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2500,
        -80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d3c99f54-c3b9-42d1-90fd-32c253f4264a",
      "name": "Vérifier les contraintes de tweet",
      "type": "n8n-nodes-base.if",
      "position": [
        860,
        0
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "271742fb-6a11-423a-b345-b8915cc62f5e",
      "name": "Note adhésive 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        -300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e542fdcb-a1c0-4f4f-bcb8-6282cd48f5d0",
      "name": "Télécharge l'image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1480,
        -180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "982bb726-9c9f-43fc-bc6a-31b7e7c8d103",
      "name": "Note adhésive 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e4bc1673-4d3f-4afd-88a6-0ed93068c629",
      "name": "Note adhésive 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "18cd98a5-897b-4ff5-8440-4e51a361f7d6",
      "name": "Note adhésive 8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        -320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2d3e5275-0df7-4a8b-9c98-8f74ba8e7dd3",
      "name": "Note adhésive 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "82485954-5cb1-4f6e-a139-509cf301472e",
      "name": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        120,
        -100
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "036166d5-8250-409c-b019-fdbbe73cdb22",
      "name": "Résumer le site web API Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -480,
        200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2e9765db-46da-49b1-b782-e195fbae6203",
      "name": "Modèle de chat OpenRouter",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        120,
        160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8d4f23a8-0c60-4b67-a5ac-fbb32e8cfb5d",
      "name": "Téléverser l'image sur le serveur X avec Twitter API v1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1980,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    }
  ],
  "pinData": {},
  "connections": {
    "82485954-5cb1-4f6e-a139-509cf301472e": {
      "main": [
        [
          {
            "node": "d3c99f54-c3b9-42d1-90fd-32c253f4264a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e542fdcb-a1c0-4f4f-bcb8-6282cd48f5d0": {
      "main": [
        [
          {
            "node": "8d4f23a8-0c60-4b67-a5ac-fbb32e8cfb5d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2e9765db-46da-49b1-b782-e195fbae6203": {
      "ai_languageModel": [
        [
          {
            "node": "82485954-5cb1-4f6e-a139-509cf301472e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "801b42cd-f239-4097-8ddc-afc370f1105c": {
      "main": [
        [
          {
            "node": "036166d5-8250-409c-b019-fdbbe73cdb22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d3c99f54-c3b9-42d1-90fd-32c253f4264a": {
      "main": [
        [
          {
            "node": "82485954-5cb1-4f6e-a139-509cf301472e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e542fdcb-a1c0-4f4f-bcb8-6282cd48f5d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e2726f1c-9a30-41c6-8bda-a7979ecd65a1": {
      "main": [
        [
          {
            "node": "801b42cd-f239-4097-8ddc-afc370f1105c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e34ef2f9-f242-4cc3-9be2-7901f4975953": {
      "main": [
        [
          {
            "node": "e2726f1c-9a30-41c6-8bda-a7979ecd65a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "036166d5-8250-409c-b019-fdbbe73cdb22": {
      "main": [
        [
          {
            "node": "82485954-5cb1-4f6e-a139-509cf301472e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8d4f23a8-0c60-4b67-a5ac-fbb32e8cfb5d": {
      "main": [
        [
          {
            "node": "2a1c04f8-900d-43c9-9265-74e2bb5870b3",
            "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é - Intelligence Artificielle, Marketing

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œuds20
Catégorie2
Types de nœuds8
Description de la difficulté

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

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34