使用免费Twitter API将RSS转换为带文本和图像的推文
高级
这是一个AI, Marketing领域的自动化工作流,包含 20 个节点。主要使用 If, Html, Twitter, HttpRequest, Agent 等节点,结合人工智能技术实现智能自动化。 使用免费Twitter API将RSS转换为带文本和图像的推文
前置要求
- •Twitter API 凭证
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "52efb5c95939622e0bef7c414e9f65e86e4ff467cf4ef0180bb464783eb83fb9",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "1a2da981-f15b-4c70-992a-ee50689a2e97",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
40,
-280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7615b62f-7def-4a7d-8787-28a458543471",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1080,
-260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cd1d56ba-aa0f-4e24-80d4-bcbcfab9b6b2",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
-580
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3acef7ea-98cf-4230-bfca-5f1fb74430a8",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1980,
-260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e34ef2f9-f242-4cc3-9be2-7901f4975953",
"name": "获取订阅源中的最新文章",
"type": "n8n-nodes-base.rssFeedReadTrigger",
"position": [
-1880,
120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2cfa7258-1850-4d1f-8731-4ccbcb79066a",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1480,
-260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e2726f1c-9a30-41c6-8bda-a7979ecd65a1",
"name": "获取文章的 HTML 内容",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1400,
-140
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "801b42cd-f239-4097-8ddc-afc370f1105c",
"name": "提取主图像",
"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": "验证推文约束",
"type": "n8n-nodes-base.if",
"position": [
860,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "271742fb-6a11-423a-b345-b8915cc62f5e",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
-300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e542fdcb-a1c0-4f4f-bcb8-6282cd48f5d0",
"name": "下载图像",
"type": "n8n-nodes-base.httpRequest",
"position": [
1480,
-180
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "982bb726-9c9f-43fc-bc6a-31b7e7c8d103",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
-260
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e4bc1673-4d3f-4afd-88a6-0ed93068c629",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
700,
-280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "18cd98a5-897b-4ff5-8440-4e51a361f7d6",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
-320
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2d3e5275-0df7-4a8b-9c98-8f74ba8e7dd3",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2400,
-200
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82485954-5cb1-4f6e-a139-509cf301472e",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
120,
-100
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "036166d5-8250-409c-b019-fdbbe73cdb22",
"name": "使用 Perplexity 总结网站 API",
"type": "n8n-nodes-base.httpRequest",
"position": [
-480,
200
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "2e9765db-46da-49b1-b782-e195fbae6203",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
120,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8d4f23a8-0c60-4b67-a5ac-fbb32e8cfb5d",
"name": "使用 Twitter API v1 上传图像到 X 服务器",
"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
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
自动博客推广器 - 社交媒体帖子发布器
基于GPT的AI驱动博客文章推广器,用于Instagram、Facebook和X平台
If
Set
Code
+
If
Set
Code
44 节点LukaszB
人工智能
使用关键词在 X 和其他社交媒体平台发布最新新闻
使用关键词和 Bright Data 通过 AI 内容生成自动发布最新新闻到 X
If
Code
Wait
+
If
Code
Wait
16 节点Dvir Sharon
设计
使用AI、ElevenLabs和多平台发布创建和审批POV视频
使用AI、ElevenLabs和多平台发布创建和审批POV视频(TikTok/IG/YT)
If
Set
Code
+
If
Set
Code
60 节点Immanuel
设计
✨🤖 自动化AI驱动的社交媒体内容工厂,适用于X + Facebook + Instagram + LinkedIn
✨🤖 使用AI自动化多平台社交媒体内容创建
If
Set
Code
+
If
Set
Code
57 节点Joseph LePage
人工智能
🗞️ AI驱动的可持续性营销简报(使用Gmail、GPT-4o)
🗞️ AI驱动的可持续性营销简报(使用Gmail、GPT-4o)
If
Set
Code
+
If
Set
Code
21 节点Samir Saci
人工智能
🤖 汽车服务 AI 内容生成 🚘 自动化您的社交媒体📲!
🤖 汽车服务 AI 内容生成 🚘 自动化您的社交媒体📲!
Twitter
Linked In
Split Out
+
Twitter
Linked In
Split Out
50 节点N8ner
人工智能