Collecte quotidienne de créations vers Telegram

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme If, Code, Html, Telegram, HttpRequest. Idées business quotidiennes du Creative Browser vers Telegram

Prérequis
  • Token Bot Telegram
  • 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
{
  "name": "Daily Idea Scraper to Telegram",
  "tags": [],
  "nodes": [
    {
      "id": "3d4b43f5-1337-413e-8db4-7541d2e14e0a",
      "name": "Planification Quotidienne",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        272,
        512
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "fa88370d-42a8-4ee7-bc32-1d84fa55ef1f",
      "name": "Déclencheur Manuel de Test",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        272,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3212e88a-9486-4805-8d56-05f85390393a",
      "name": "Récupération de l'Idée du Jour",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        496,
        416
      ],
      "parameters": {
        "url": "https://www.ideabrowser.com/idea-of-the-day",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "da48c32b-ad35-4df6-acad-d83f8f7885ab",
      "name": "Extraction du Contenu",
      "type": "n8n-nodes-base.html",
      "position": [
        720,
        416
      ],
      "parameters": {
        "options": {
          "trimValues": true
        },
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "title",
              "cssSelector": "h1, .idea-title, .main-title"
            },
            {
              "key": "description",
              "cssSelector": ".idea-description, .main-content, p"
            },
            {
              "key": "pricing",
              "cssSelector": ".pricing, .offer, .price"
            },
            {
              "key": "market",
              "cssSelector": ".market, .target, .analysis"
            },
            {
              "key": "features",
              "cssSelector": ".features, .benefits, ul li"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "97da4819-dd3a-4ef8-862a-db29d684a402",
      "name": "Mise en Forme du Message",
      "type": "n8n-nodes-base.code",
      "position": [
        944,
        416
      ],
      "parameters": {
        "jsCode": "const today = new Date().toLocaleDateString('en-US', {\n  weekday: 'long',\n  year: 'numeric',\n  month: 'long',\n  day: 'numeric'\n});\n\nconst title = $json.title || 'Business Idea';\nconst description = $json.description || 'No description available';\nconst pricing = $json.pricing || 'Pricing not specified';\nconst market = $json.market || 'Market analysis not available';\nconst features = $json.features || 'Features not listed';\n\nconst message = `🚀 Daily Business Idea - ${today}\\n\\n📋 ${title}\\n\\n💡 Description:\\n${description.substring(0, 500)}${description.length > 500 ? '...' : ''}\\n\\n💰 Revenue Model:\\n${pricing.substring(0, 300)}${pricing.length > 300 ? '...' : ''}\\n\\n🎯 Target Market:\\n${market.substring(0, 300)}${market.length > 300 ? '...' : ''}\\n\\n⚡ Key Features:\\n${features.substring(0, 300)}${features.length > 300 ? '...' : ''}\\n\\n🔗 View Details: https://www.ideabrowser.com/idea-of-the-day`;\n\nreturn {\n  json: {\n    formattedMessage: message,\n    originalUrl: 'https://www.ideabrowser.com/idea-of-the-day',\n    scrapedDate: new Date().toISOString()\n  }\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "e7da6ef2-b49b-45aa-b854-cc76e0c31623",
      "name": "Vérification de la Longueur du Message",
      "type": "n8n-nodes-base.if",
      "position": [
        1168,
        416
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "f397b0f0-7b90-470b-bebd-fa49d4d41ffb",
              "operator": {
                "type": "number",
                "operation": "lte"
              },
              "leftValue": "={{ $json.formattedMessage.length }}",
              "rightValue": 4096
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "9fa23b57-f3f4-4d85-8a06-4b6cc8758415",
      "name": "Envoyer vers Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1392,
        320
      ],
      "parameters": {
        "text": "={{ $json.formattedMessage }}",
        "chatId": "{{ $credentials.telegramChatId }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "{{ $credentials.telegramBotToken }}",
          "name": "Telegram Bot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e39552d3-7394-46dc-bb66-7ac0367825d2",
      "name": "Tronquer le Message",
      "type": "n8n-nodes-base.code",
      "position": [
        1392,
        512
      ],
      "parameters": {
        "jsCode": "const originalMessage = $json.formattedMessage;\nconst maxLength = 4000;\n\nlet truncatedMessage = originalMessage;\nif (originalMessage.length > maxLength) {\n  truncatedMessage = originalMessage.substring(0, maxLength - 100) + '\\n\\n...\\n\\n🔗 Read more: https://www.ideabrowser.com/idea-of-the-day';\n}\n\nreturn {\n  json: {\n    ...input.json,\n    formattedMessage: truncatedMessage\n  }\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "3966ac84-5b18-4b87-b4c8-20974077d01f",
      "name": "Envoyer le Message Tronqué",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1616,
        512
      ],
      "parameters": {
        "text": "={{ $json.formattedMessage }}",
        "chatId": "{{ $credentials.telegramChatId }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "{{ $credentials.telegramBotToken }}",
          "name": "Telegram Bot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "b8278b32-cfe4-48a0-ab93-2051da451213",
      "name": "Contexte du Workflow",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        144
      ],
      "parameters": {
        "color": 7,
        "width": 600,
        "height": 120,
        "content": "# Daily Idea Scraper to Telegram\n\nScrapes https://www.ideabrowser.com/idea-of-the-day daily at 9 AM and sends formatted content to Telegram."
      },
      "typeVersion": 1
    },
    {
      "id": "00ced4bd-2b4e-40f9-a004-409b907e2fb0",
      "name": "Instructions de Configuration",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        128
      ],
      "parameters": {
        "color": 4,
        "width": 500,
        "height": 200,
        "content": "## Setup Required:\n\n1. **Telegram Bot Token**: Create bot via @BotFather\n2. **Chat ID**: Get your chat ID (use @userinfobot)\n3. **Credentials**: Add Telegram credentials in n8n\n4. **Test**: Use manual trigger to test before scheduling\n\n**Daily Schedule**: Runs at 9:00 AM"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "3d4b43f5-1337-413e-8db4-7541d2e14e0a": {
      "main": [
        [
          {
            "node": "3212e88a-9486-4805-8d56-05f85390393a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "97da4819-dd3a-4ef8-862a-db29d684a402": {
      "main": [
        [
          {
            "node": "e7da6ef2-b49b-45aa-b854-cc76e0c31623",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "da48c32b-ad35-4df6-acad-d83f8f7885ab": {
      "main": [
        [
          {
            "node": "97da4819-dd3a-4ef8-862a-db29d684a402",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e39552d3-7394-46dc-bb66-7ac0367825d2": {
      "main": [
        [
          {
            "node": "3966ac84-5b18-4b87-b4c8-20974077d01f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa88370d-42a8-4ee7-bc32-1d84fa55ef1f": {
      "main": [
        [
          {
            "node": "3212e88a-9486-4805-8d56-05f85390393a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e7da6ef2-b49b-45aa-b854-cc76e0c31623": {
      "main": [
        [
          {
            "node": "9fa23b57-f3f4-4d85-8a06-4b6cc8758415",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e39552d3-7394-46dc-bb66-7ac0367825d2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3212e88a-9486-4805-8d56-05f85390393a": {
      "main": [
        [
          {
            "node": "da48c32b-ad35-4df6-acad-d83f8f7885ab",
            "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é ?

Intermédiaire - 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é
Intermédiaire
Nombre de nœuds11
Catégorie2
Types de nœuds8
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Femi Ad

Femi Ad

@hgray

AI automation specialist with over 1 year of experience empowering entrepreneurs and business owners to scale their operations through intelligent workflow solutions. Leveraging my background in project management and IT, I help transform manual processes into streamlined automated systems. Book a discovery call to explore how custom AI solutions can accelerate your business growth

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34