{
  "name": "Post long-form threads to X / Twitter, Threads, and Bluesky",
  "nodes": [
    {
      "id": "e9dedaa0-bdb0-4af4-b406-aea281223332",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        192
      ],
      "parameters": {
        "width": 1008,
        "height": 1104,
        "content": "# Email to Long-Form Thread\nYou can post text, images, and videos, embedded within your long-form thread. \nThis simple template shows text-only long-form threads, but it's easy to add images/videos.\nS"
      }
    },
    {
      "id": "5b192c80-77ed-40ab-8ffb-0a867af411d2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        960
      ],
      "parameters": {
        "width": 224,
        "height": 112,
        "content": "# Setup 1\nSelect your Gmail credential"
      }
    },
    {
      "id": "d891b0a9-e71c-4928-9488-a338e360069a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        1088
      ],
      "parameters": {
        "width": 224,
        "height": 112,
        "content": "# Setup 2\nSelect your OpenAI credential"
      }
    },
    {
      "id": "97b75259-0519-4b1f-87ce-db3b8d3a7b0d",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2192,
        352
      ],
      "parameters": {
        "width": 608,
        "height": 624,
        "content": "# Platform Specific Notes\n\n## Twitter\nYou can post text, images, and videos. You can post a long-form thread by clicking \"Show Advanced Settings\". Check out best practices and troubleshooting FAQs:\nht"
      }
    },
    {
      "id": "21af5f13-9d5c-40e1-ace5-e630c4886683",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        1072
      ],
      "parameters": {
        "width": 150,
        "height": 112,
        "content": "# Don't Touch"
      }
    },
    {
      "id": "63f02f26-0b3b-46dc-8995-1a5bfd222844",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        704,
        960
      ]
    },
    {
      "id": "290566ee-24ce-4dca-9993-1822ec6f8305",
      "name": "OpenAI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        352,
        944
      ]
    },
    {
      "id": "865c6017-5092-46a3-8302-627868d24fe7",
      "name": "OpenAI Backup",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        496,
        944
      ]
    },
    {
      "id": "972d51b1-9ccf-47fa-a4a3-1d3b2a408169",
      "name": "Mark email as read",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1392,
        1232
      ]
    },
    {
      "id": "02653ad7-2cef-49bd-b8ac-6ce5c1378e66",
      "name": "OpenAI Fixer",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        576,
        1104
      ]
    },
    {
      "id": "c5e119bd-43de-4d6b-9d82-81d40eb0dd53",
      "name": "New Email Subject \"Thread\"",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        96,
        768
      ]
    },
    {
      "id": "902edcae-fe4a-471f-8fd7-af6f658dd81e",
      "name": "AI Writes Thread",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        528,
        768
      ]
    },
    {
      "id": "1f728f4c-4326-4c4b-aaa7-885aad1840da",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1712,
        864
      ],
      "parameters": {
        "width": 288,
        "height": 192,
        "content": "# Error Report\n\n👉 View run logs and results.\n\n👉 API Dashboard:\n https://my.blotato.com/api-dashboard"
      }
    },
    {
      "id": "47eef70b-5bd4-4360-8e0e-d00661a82970",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        -16
      ],
      "parameters": {
        "width": 928,
        "height": 1472,
        "content": "# Post Long-Form Threads\n\n## IMPORTANT\nDo not post the same image/video over and over again, otherwise it will be flagged as spam. Make sure to disclose AI generated content if you're using avatars.\n\n"
      }
    },
    {
      "id": "dc28620b-a359-4600-8632-158f035fe974",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        304
      ],
      "parameters": {
        "width": 320,
        "height": 176,
        "content": "# Setup 3\n1. Open each node\n2. Select your social account\n3. Deactivate platforms you don't need\n3. 👉 **You don't need to do anything else!**"
      }
    },
    {
      "id": "cc2e26e1-5326-492f-9a7d-ed868b9da94f",
      "name": "Twitter [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1392,
        560
      ]
    },
    {
      "id": "3b67d34c-61c1-47d8-8eed-40b397691afd",
      "name": "Threads [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1392,
        768
      ]
    },
    {
      "id": "a9184370-d24e-4d33-8e64-1a881d25013d",
      "name": "Bluesky [BLOTATO]",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        1392,
        976
      ]
    },
    {
      "id": "762b3c16-16a7-4ebc-aa48-8ca162c9a3f5",
      "name": "Error Report",
      "type": "n8n-nodes-base.merge",
      "position": [
        1808,
        624
      ]
    }
  ],
  "connections": {
    "OpenAI Fixer": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Writes Thread",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Backup": {
      "ai_languageModel": [
        [
          {
            "node": "AI Writes Thread",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "AI Writes Thread": {
      "main": [
        [
          {
            "node": "Mark email as read",
            "type": "main",
            "index": 0
          },
          {
            "node": "Twitter [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Threads [BLOTATO]",
            "type": "main",
            "index": 0
          },
          {
            "node": "Bluesky [BLOTATO]",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bluesky [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Threads [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Twitter [BLOTATO]": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark email as read": {
      "main": [
        [],
        [
          {
            "node": "Error Report",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Writes Thread",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "New Email Subject \"Thread\"": {
      "main": [
        [
          {
            "node": "AI Writes Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}