8
n8n 中文网amn8n.com

5 使用AI聊天自动化Instagram轮播图

高级

这是一个Miscellaneous, AI Chatbot, Multimodal AI领域的自动化工作流,包含 29 个节点。主要使用 If, Wait, Merge, Chat, Agent 等节点。 使用AI和Blotato在5个平台创建和发布社交媒体轮播图

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "IZnFEZhIiDvI9rKg",
  "meta": {
    "instanceId": "e232d38e020fdf3e4c5aac7fdf84cd849e91ffb2c1ad80af1a4b16753ff64418",
    "templateCredsSetupCompleted": true
  },
  "name": "5 使用AI聊天自动化Instagram轮播图",
  "tags": [],
  "nodes": [
    {
      "id": "9dd8d850-49db-4c1a-91f4-6b074be00992",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1696,
        -160
      ],
      "parameters": {
        "color": 6,
        "width": 864,
        "height": 720,
        "content": "# 完整教程"
      },
      "typeVersion": 1
    },
    {
      "id": "cddce017-9294-4e86-81db-f0ade8faad28",
      "name": "便签 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        1184
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 192,
        "content": "# 错误报告"
      },
      "typeVersion": 1
    },
    {
      "id": "b4448822-1a9c-4fdb-8488-461f194ae4a5",
      "name": "错误报告",
      "type": "n8n-nodes-base.merge",
      "position": [
        1008,
        896
      ],
      "parameters": {
        "numberInputs": 5
      },
      "notesInFlow": false,
      "typeVersion": 3.2
    },
    {
      "id": "65ff96f7-61dd-453e-ae62-2da65694275b",
      "name": "## 为什么选择 4o 模型?👆",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -32
      ],
      "parameters": {
        "color": 7,
        "width": 608,
        "height": 1632,
        "content": "# 平台特定说明"
      },
      "typeVersion": 1
    },
    {
      "id": "a650da92-1f9d-4dc9-b3ca-68dec241e2c0",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        304
      ],
      "parameters": {
        "color": 2,
        "width": 320,
        "height": 176,
        "content": "# 设置2"
      },
      "typeVersion": 1
    },
    {
      "id": "d957246a-ae48-4475-9026-4a73b62dd73b",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        -32
      ],
      "parameters": {
        "color": 4,
        "width": 912,
        "height": 1632,
        "content": "# 通过Blotato发布到所有平台"
      },
      "typeVersion": 1
    },
    {
      "id": "284371c7-191a-4287-bc5e-ef7974e06771",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1696,
        608
      ],
      "parameters": {
        "color": 5,
        "width": 1168,
        "height": 1076,
        "content": "# 通过ChatGPT和Blotato创建Instagram轮播图"
      },
      "typeVersion": 1
    },
    {
      "id": "f0f826e9-aff8-4cc4-ade8-29508cdf87f6",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1264,
        1440
      ],
      "parameters": {
        "color": 7,
        "width": 662,
        "height": 212,
        "content": "## Blotato模板故障排除"
      },
      "typeVersion": 1
    },
    {
      "id": "fa052877-db65-4af0-9152-06259841ccdc",
      "name": "便签 14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -160
      ],
      "parameters": {
        "color": 6,
        "width": 896,
        "height": 720,
        "content": "# 设置"
      },
      "typeVersion": 1
    },
    {
      "id": "ec20b1c6-87b5-41a4-99d4-07a08e85a49f",
      "name": "Tiktok [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "maxTries": 2,
      "position": [
        576,
        544
      ],
      "parameters": {
        "options": {},
        "platform": "tiktok",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "199",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/199",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().caption }}",
        "postContentMediaUrls": "={{ $('Get carousel').item.json.item.imageUrls }}",
        "postCreateTiktokOptionTitle": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().title }}"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "retryOnFail": false,
      "typeVersion": 2,
      "waitBetweenTries": 3000
    },
    {
      "id": "cbd3819d-b7c2-43d5-b48e-371e497b85d5",
      "name": "Facebook [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        576,
        752
      ],
      "parameters": {
        "options": {},
        "platform": "facebook",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "369",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/369",
          "cachedResultName": "Sabrina Ramonov"
        },
        "facebookPageId": {
          "__rl": true,
          "mode": "list",
          "value": "161711670360847",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/369/subaccounts/161711670360847",
          "cachedResultName": "Blotato"
        },
        "postContentText": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().caption }}",
        "postContentMediaUrls": "={{ $('Get carousel').item.json.item.imageUrls }}"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "247b2fd5-bd56-45e7-a9f4-e8bc4b5a8704",
      "name": "Instagram [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "maxTries": 2,
      "position": [
        576,
        960
      ],
      "parameters": {
        "options": {},
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "28",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/28",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().caption }}",
        "postContentMediaUrls": "={{ $('Get carousel').item.json.item.imageUrls }}"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2,
      "waitBetweenTries": 5000
    },
    {
      "id": "f2e6ca67-0c23-42b9-9cc2-d9e7bc0e8fb6",
      "name": "Twitter [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        576,
        1168
      ],
      "parameters": {
        "options": {},
        "platform": "twitter",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "38",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/38",
          "cachedResultName": "Sabrina_Ramonov"
        },
        "postContentText": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().caption }}",
        "postContentMediaUrls": "={{ $('Get carousel').item.json.item.imageUrls }}"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "66f42867-3b79-41f2-8665-b0f7fc58620b",
      "name": "获取轮播图",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -144,
        976
      ],
      "parameters": {
        "videoId": "={{ $('If quotes ready').item.json.output.parseJson().id }}",
        "resource": "video",
        "operation": "get"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "61833e96-598f-40ff-9f7e-e65f835dd821",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1616,
        976
      ],
      "webhookId": "cc24bc37-7fd1-41ee-88b8-b7194b555ba3",
      "parameters": {
        "options": {
          "responseMode": "responseNodes"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "f320b7f9-1ac4-4893-9a0f-011dee07f81b",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1456,
        1216
      ],
      "parameters": {
        "contextWindowLength": 20
      },
      "typeVersion": 1.3
    },
    {
      "id": "8e228748-3124-494e-920a-6cd7922380be",
      "name": "响应聊天",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        -752,
        1056
      ],
      "parameters": {
        "message": "={{ $json.output }}",
        "options": {},
        "waitUserReply": false
      },
      "typeVersion": 1
    },
    {
      "id": "323c3f87-16e3-41c6-91a0-1f2ba7cb2469",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        -320,
        976
      ],
      "webhookId": "cc59ec13-c7ae-49b5-b7ad-711079e3121e",
      "parameters": {
        "amount": 10
      },
      "typeVersion": 1.1,
      "alwaysOutputData": false
    },
    {
      "id": "cfd4de69-9874-4616-9331-050737304b72",
      "name": "如果名言准备就绪",
      "type": "n8n-nodes-base.if",
      "position": [
        -1008,
        976
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1be77713-67d6-46a2-8e95-9284aaea62f1",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ (() => { try { const o = JSON.parse($('AI Agent Carousel Maker').item.json.output); return typeof o === 'object' && o !== null && 'id' in o; } catch { return false; } })() }}",
              "rightValue": "id"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "aa89e6b3-2e6d-4a0b-a9e6-a64d4c2ec257",
      "name": "AI智能体轮播制作器",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1408,
        976
      ],
      "parameters": {
        "options": {
          "systemMessage": "# TASK\n\nYour task is to analyze the user's request, research the topic, and write a list of Instagram carousel containing quotes related to the user's request. \n\n# TOOLS\n\nYou have access to tools that allow you to make Instagram carousels, simply by specific a few parameters. Each tool corresponds to a different Instagram carousel template. Select the appropriate tool, then you SHOULD call it EXACTLY ONCE.\n\nWhen you call a tool, `quotes` must be an array of strings, delimited by newlines or |.\n```\n\nImportant: BEFORE making the tool call to generate the Instagram carousel, you SHOULD always confirm with the user:\n- list of quotes\n- carousel template\n\n# OUTPUT\n\nYou SHOULD always output the following format, where `id` contains the video id returned by the tool call. Leave `id` as an empty string \"\" if you did not make a carousel:\n\n{\n\t\"output\": \"Output from AI\",\n        \"caption\": \"Long carousel caption, 300 characters max\",\n        \"title\": \"Short carousel title, 8 words max\"\n\t\"id\": 1234\n}"
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "03ab0521-b209-4796-a903-dc5c369b9258",
      "name": "简单推文卡片单色",
      "type": "@blotato/n8n-nodes-blotato.blotatoTool",
      "position": [
        -1248,
        1264
      ],
      "parameters": {
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/tweet-card/ba413be6-a840-4e60-8fd6-0066d3b427df/v1",
          "cachedResultName": "Twitter/X style quote cards with minimal style"
        },
        "templateInputs": {
          "value": {
            "theme": "dark",
            "handle": "sabrina_ramonov",
            "quotes": "={{ $fromAI('Quotes__e_g____item_1____item_2___', ``, 'string').split(/\\n|\\|/).map(s => s.trim()).filter(Boolean) }}",
            "verified": true,
            "authorName": "Sabrina Ramonov",
            "aspectRatio": "4:5",
            "profileImage": "https://media.licdn.com/dms/image/v2/D5603AQEm4F3RHWnZ8w/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1713795109052?e=2147483647&v=beta&t=dIuWBN1_U-vy1lccFxB65cRFWBOojkOghbKGmqZXXnc"
          },
          "schema": [
            {
              "id": "quotes",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Quotes (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "authorName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Name",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "handle",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Social Media Handle",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "profileImage",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Profile Photo URL (publicly accessible URL)",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "verified",
              "type": "boolean",
              "display": true,
              "required": false,
              "displayName": "Show Verified Badge",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "theme",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Dark",
                  "value": "dark"
                },
                {
                  "name": "Light",
                  "value": "light"
                }
              ],
              "removed": false,
              "required": false,
              "displayName": "Theme",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "aspectRatio",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "4:5",
                  "value": "4:5"
                },
                {
                  "name": "1:1",
                  "value": "1:1"
                },
                {
                  "name": "9:16",
                  "value": "9:16"
                }
              ],
              "required": false,
              "displayName": "Aspect Ratio",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "44c0f2a8-6d46-4b03-ac61-487bcf8ac7f7",
      "name": "名言卡片单色纸张",
      "type": "@blotato/n8n-nodes-blotato.blotatoTool",
      "position": [
        -1072,
        1264
      ],
      "parameters": {
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/quote-card/77f65d2b-48cc-4adb-bfbb-5bc86f8c01bd/v1",
          "cachedResultName": "Quote Card Carousel with Monocolor Paper Background"
        },
        "templateInputs": {
          "value": {
            "font": "Philosopher",
            "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', `String that will appear on 1st slide of carousel`, 'string') }}",
            "quotes": "={{ $fromAI('Quotes__e_g____item_1____item_2___', ``, 'string').split(/\\n|\\|/).map(s => s.trim()).filter(Boolean) }}"
          },
          "schema": [
            {
              "id": "font",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Inter",
                  "value": "Inter"
                },
                {
                  "name": "Merriweather",
                  "value": "Merriweather"
                },
                {
                  "name": "Roboto Mono",
                  "value": "Roboto Mono"
                },
                {
                  "name": "VT323",
                  "value": "VT323"
                },
                {
                  "name": "Montserrat",
                  "value": "Montserrat"
                },
                {
                  "name": "Quicksand",
                  "value": "Quicksand"
                },
                {
                  "name": "Philosopher",
                  "value": "Philosopher"
                },
                {
                  "name": "Poppins",
                  "value": "Poppins"
                },
                {
                  "name": "Raleway",
                  "value": "Raleway"
                },
                {
                  "name": "Open Sans",
                  "value": "Open Sans"
                },
                {
                  "name": "Lato",
                  "value": "Lato"
                },
                {
                  "name": "Oswald",
                  "value": "Oswald"
                },
                {
                  "name": "Playfair Display",
                  "value": "Playfair Display"
                },
                {
                  "name": "Roboto",
                  "value": "Roboto"
                },
                {
                  "name": "PT Sans",
                  "value": "PT Sans"
                },
                {
                  "name": "DM Sans",
                  "value": "DM Sans"
                },
                {
                  "name": "Nunito",
                  "value": "Nunito"
                },
                {
                  "name": "Comfortaa",
                  "value": "Comfortaa"
                },
                {
                  "name": "Work Sans",
                  "value": "Work Sans"
                },
                {
                  "name": "Fjalla One",
                  "value": "Fjalla One"
                },
                {
                  "name": "Rubik",
                  "value": "Rubik"
                },
                {
                  "name": "Barlow",
                  "value": "Barlow"
                },
                {
                  "name": "Bebas Neue",
                  "value": "Bebas Neue"
                },
                {
                  "name": "Caveat",
                  "value": "Caveat"
                },
                {
                  "name": "Pacifico",
                  "value": "Pacifico"
                }
              ],
              "required": false,
              "displayName": "Font",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "title",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "quotes",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Quotes (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "f9de6c67-de20-479a-b941-bb4de4ec19ed",
      "name": "带照片背景的推文卡片",
      "type": "@blotato/n8n-nodes-blotato.blotatoTool",
      "position": [
        -896,
        1264
      ],
      "parameters": {
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/tweet-card/9714ae5c-7e6b-4878-be4a-4b1ba5d0cd66/v1",
          "cachedResultName": "Twitter/X style quote cards with photo/video background"
        },
        "templateInputs": {
          "value": {
            "handle": "sabrina_ramonov",
            "quotes": "={{ $fromAI('Quotes__e_g____item_1____item_2___', ``, 'string').split(/\\n|\\|/).map(s => s.trim()).filter(Boolean) }}",
            "verified": true,
            "authorName": "Sabrina Ramonov",
            "cardPosition": "bottom",
            "profileImage": "https://media.licdn.com/dms/image/v2/D5603AQEm4F3RHWnZ8w/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1713795109052?e=2147483647&v=beta&t=dIuWBN1_U-vy1lccFxB65cRFWBOojkOghbKGmqZXXnc",
            "backgroundMedia": "https://www.google.com/url?sa=i&url=https%3A%2F%2Ftheworldtravelguy.com%2Fbest-utah-hiking-trails%2F&psig=AOvVaw3HfzPBC0uTaDlnIl5ErYMJ&ust=1757862025078000&source=images&cd=vfe&opi=89978449&ved=0CBYQjRxqFwoTCIDLlL-A1o8DFQAAAAAdAAAAABAE"
          },
          "schema": [
            {
              "id": "backgroundMedia",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Background Media (publicly accessible URL)",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "quotes",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Quotes (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "authorName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Name",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "handle",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Social Media Handle",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "profileImage",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Profile Photo URL (publicly accessible URL)",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "theme",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Light",
                  "value": "light"
                },
                {
                  "name": "Dark",
                  "value": "dark"
                }
              ],
              "removed": true,
              "required": false,
              "displayName": "Theme",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "cardPosition",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Top",
                  "value": "top"
                },
                {
                  "name": "Middle",
                  "value": "middle"
                },
                {
                  "name": "Bottom",
                  "value": "bottom"
                }
              ],
              "required": false,
              "displayName": "Card Position",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "verified",
              "type": "boolean",
              "display": true,
              "required": false,
              "displayName": "Show Verified Badge",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "enableBackdropBlur",
              "type": "boolean",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Enable Backdrop Blur",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "accentColor",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Accent Background Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "cardBackgroundColor",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Card Background Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "textColor",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Text Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "72e1afa3-7c0a-41da-b8fb-e2d83f24399e",
      "name": "带高亮的名言卡片纸张",
      "type": "@blotato/n8n-nodes-blotato.blotatoTool",
      "position": [
        -704,
        1264
      ],
      "parameters": {
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/quote-card/f941e306-76f7-45da-b3d9-7463af630e91/v1",
          "cachedResultName": "Quote Card Carousel with Paper Background and Highlight"
        },
        "templateInputs": {
          "value": {
            "font": "Philosopher",
            "title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
            "quotes": "={{ $fromAI('Quotes__e_g____item_1____item_2___', ``, 'string').split(/\\n|\\|/).map(s => s.trim()).filter(Boolean) }}",
            "paperBackground": "Light paper"
          },
          "schema": [
            {
              "id": "font",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Inter",
                  "value": "Inter"
                },
                {
                  "name": "Merriweather",
                  "value": "Merriweather"
                },
                {
                  "name": "Roboto Mono",
                  "value": "Roboto Mono"
                },
                {
                  "name": "VT323",
                  "value": "VT323"
                },
                {
                  "name": "Montserrat",
                  "value": "Montserrat"
                },
                {
                  "name": "Quicksand",
                  "value": "Quicksand"
                },
                {
                  "name": "Philosopher",
                  "value": "Philosopher"
                },
                {
                  "name": "Poppins",
                  "value": "Poppins"
                },
                {
                  "name": "Raleway",
                  "value": "Raleway"
                },
                {
                  "name": "Open Sans",
                  "value": "Open Sans"
                },
                {
                  "name": "Lato",
                  "value": "Lato"
                },
                {
                  "name": "Oswald",
                  "value": "Oswald"
                },
                {
                  "name": "Playfair Display",
                  "value": "Playfair Display"
                },
                {
                  "name": "Roboto",
                  "value": "Roboto"
                },
                {
                  "name": "PT Sans",
                  "value": "PT Sans"
                },
                {
                  "name": "DM Sans",
                  "value": "DM Sans"
                },
                {
                  "name": "Nunito",
                  "value": "Nunito"
                },
                {
                  "name": "Comfortaa",
                  "value": "Comfortaa"
                },
                {
                  "name": "Work Sans",
                  "value": "Work Sans"
                },
                {
                  "name": "Fjalla One",
                  "value": "Fjalla One"
                },
                {
                  "name": "Rubik",
                  "value": "Rubik"
                },
                {
                  "name": "Barlow",
                  "value": "Barlow"
                },
                {
                  "name": "Bebas Neue",
                  "value": "Bebas Neue"
                },
                {
                  "name": "Caveat",
                  "value": "Caveat"
                },
                {
                  "name": "Pacifico",
                  "value": "Pacifico"
                }
              ],
              "required": false,
              "displayName": "Font",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "title",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "quotes",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Quotes (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "highlighterColor",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Highlighter Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "paperBackground",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "White paper",
                  "value": "White paper"
                },
                {
                  "name": "Yellow paper",
                  "value": "Yellow paper"
                },
                {
                  "name": "Light paper",
                  "value": "Light paper"
                }
              ],
              "required": false,
              "displayName": "Paper Background",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "4891e954-0bf4-47b7-b059-7cf8137f4ce2",
      "name": "ChatGPT",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1584,
        1216
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "nN3d2hW6JDmQL1j8",
          "name": "[S BRAND] OpenAI"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "bc3f7cf1-b63f-450e-aef8-60a705efb726",
      "name": "Pinterest [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        576,
        1376
      ],
      "parameters": {
        "options": {},
        "platform": "pinterest",
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "358",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/358",
          "cachedResultName": "sabrina_ramonov"
        },
        "postContentText": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().caption }}",
        "pinterestBoardId": {
          "__rl": true,
          "mode": "id",
          "value": "1234"
        },
        "postContentMediaUrls": "={{ $('Get carousel').item.json.item.imageUrls }}",
        "postCreatePinterestOptionTitle": "={{ $('AI Agent Carousel Maker').item.json.output.parseJson().title }}"
      },
      "credentials": {
        "blotatoApi": {
          "id": "zI14DNda55rFeyY8",
          "name": "[S BRAND] Blotato"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "123171dc-a0e0-45f1-90fa-ca9439c7c1c2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        800
      ],
      "parameters": {
        "color": 3,
        "width": 624,
        "height": 468,
        "content": "# 获取Instagram轮播图"
      },
      "typeVersion": 1
    },
    {
      "id": "3e37eda2-27a2-4b6d-820f-a87bf9d264ea",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        784
      ],
      "parameters": {
        "color": 2,
        "width": 224,
        "height": 144,
        "content": "# 设置1"
      },
      "typeVersion": 1
    },
    {
      "id": "3be9803e-5f30-4469-a310-8b009ea00074",
      "name": "如果轮播图准备就绪",
      "type": "n8n-nodes-base.if",
      "position": [
        48,
        976
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "e511deb8-8e4c-45db-aa35-18f43a0552b6",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $('Get carousel').item.json.item.status }}",
              "rightValue": "done"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cbbbae9d-6822-46c8-ac93-2a8a9e471bda",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get carousel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get carousel": {
      "main": [
        [
          {
            "node": "If carousel ready",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "If quotes ready": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Chat",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tiktok [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If carousel ready": {
      "main": [
        [
          {
            "node": "Tiktok [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Facebook [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Instagram [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Pinterest [BLOTATO]",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Twitter [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Facebook [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Instagram [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "AI Agent Carousel Maker": {
      "main": [
        [
          {
            "node": "If quotes ready",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Quote cards monocolor paper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple tweet cards monocolor": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Tweet cards with photo background": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Quote cards with highlight on paper": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Carousel Maker",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 杂项, AI 聊天机器人, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量29
分类3
节点类型11
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Sabrina Ramonov 🍄

Sabrina Ramonov 🍄

@sabrina-ramonov

- Teach 10M people AI - Sold AI startup for $10M+ - 0 to 1.3M+ followers in 1 year - Solo Founder, Blotato.com - social media API - Learn AI for free: www.sabrina.dev

外部链接
在 n8n.io 查看

分享此工作流