每日创意采集到Telegram
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 If, Code, Html, Telegram, HttpRequest 等节点。 从创意浏览器到Telegram的每日商业创意
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"name": "每日创意采集到 Telegram",
"tags": [],
"nodes": [
{
"id": "3d4b43f5-1337-413e-8db4-7541d2e14e0a",
"name": "每日计划",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
272,
512
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 9
}
]
}
},
"typeVersion": 1.2
},
{
"id": "fa88370d-42a8-4ee7-bc32-1d84fa55ef1f",
"name": "手动测试触发器",
"type": "n8n-nodes-base.manualTrigger",
"position": [
272,
320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3212e88a-9486-4805-8d56-05f85390393a",
"name": "采集每日创意",
"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": "提取内容",
"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": "格式化消息",
"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": "检查消息长度",
"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": "发送到 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": "截断消息",
"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": "发送截断消息",
"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": "工作流程上下文",
"type": "n8n-nodes-base.stickyNote",
"position": [
48,
144
],
"parameters": {
"color": 7,
"width": 600,
"height": 120,
"content": "# 每日创意采集到 Telegram"
},
"typeVersion": 1
},
{
"id": "00ced4bd-2b4e-40f9-a004-409b907e2fb0",
"name": "设置说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
1856,
128
],
"parameters": {
"color": 4,
"width": 500,
"height": 200,
"content": "## 所需设置:"
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"connections": {
"Daily Schedule": {
"main": [
[
{
"node": "Scrape Idea of the Day",
"type": "main",
"index": 0
}
]
]
},
"Format Message": {
"main": [
[
{
"node": "Check Message Length",
"type": "main",
"index": 0
}
]
]
},
"Extract Content": {
"main": [
[
{
"node": "Format Message",
"type": "main",
"index": 0
}
]
]
},
"Truncate Message": {
"main": [
[
{
"node": "Send Truncated Message",
"type": "main",
"index": 0
}
]
]
},
"Manual Test Trigger": {
"main": [
[
{
"node": "Scrape Idea of the Day",
"type": "main",
"index": 0
}
]
]
},
"Check Message Length": {
"main": [
[
{
"node": "Send to Telegram",
"type": "main",
"index": 0
}
],
[
{
"node": "Truncate Message",
"type": "main",
"index": 0
}
]
]
},
"Scrape Idea of the Day": {
"main": [
[
{
"node": "Extract Content",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
内容聚合
使用Gemini AI从网站文章自动化社交媒体帖子发布到LinkedIn和X/Twitter
If
Set
Xml
+16
34 节点Vadim
内容创作
使用AI和RSS的多平台YouTube内容生成器
使用AI和RSS从YouTube生成多平台内容
If
Set
Code
+10
37 节点Budi SJ
内容创作
AI驱动视频创作与上传至Instagram、TikTok和YouTube
从云端硬盘进行AI驱动视频创作并上传至Instagram、TikTok和YouTube
If
Set
Code
+14
53 节点DevCode Journey
内容创作
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
内容创作
将社交媒体内容聚合自动化到Telegram频道
使用Google Gemini AI将Twitter/X内容聚合到Telegram频道
If
Code
Wait
+7
30 节点Madame AI Team | Kai
内容创作
blog_workflow_template_n8n
使用Claude AI从新闻自动生成WordPress文章并分享到LinkedIn
If
Code
Wait
+10
23 节点Marco Venturi
内容创作
工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
作者
Femi Ad
@hgrayAI 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
外部链接
在 n8n.io 查看 →
分享此工作流