{
  "name": "Repurpose viral content into AI visuals and post to Instagram and Facebook with Blotato",
  "nodes": [
    {
      "id": "e9838941-9a06-4464-9c4d-6de639cd8b9f",
      "name": "Create visual",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -544,
        224
      ]
    },
    {
      "id": "f4e4f186-bed8-49af-990f-9154960291d3",
      "name": "Get visual",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -128,
        224
      ]
    },
    {
      "id": "efb9fc09-17ed-4b97-9eb4-e3fcf74828ba",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -176
      ],
      "parameters": {
        "width": 304,
        "height": 304,
        "content": "## URL Input\nSubmit the content source link (Blog, YouTube, TikTok, etc.)"
      }
    },
    {
      "id": "f180b05d-2041-4e4a-913e-b1bc236c9ffd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -176
      ],
      "parameters": {
        "width": 992,
        "height": 304,
        "content": "## Source Processing\nCreate and retrieve structured content from the provided URL."
      }
    },
    {
      "id": "89e06047-57b2-4221-88bf-e21bd831537a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        128
      ],
      "parameters": {
        "width": 992,
        "height": 304,
        "content": "## Visual Generation\nGenerate and retrieve AI visual/video based on processed content."
      }
    },
    {
      "id": "46b62eb9-4ca7-4a28-b954-f15326337ebb",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        432
      ],
      "parameters": {
        "width": 992,
        "height": 304,
        "content": "## Social Media Distribution\nAutomatically publish generated content to social platforms"
      }
    },
    {
      "id": "04bedcfa-2de6-4bdf-acd5-aeb0b4757e48",
      "name": "Get source",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -64,
        -80
      ]
    },
    {
      "id": "e58d7cb1-369c-40fe-8ce0-36b3534e1d3f",
      "name": "Submit Content URL",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -832,
        -64
      ]
    },
    {
      "id": "77b06d5b-5d31-4a8f-a32c-144dacfc61c2",
      "name": "Create Source",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -512,
        -80
      ]
    },
    {
      "id": "84d16aca-de08-4142-957f-cc59955e10df",
      "name": "Wait for Source Processing",
      "type": "n8n-nodes-base.wait",
      "position": [
        -304,
        -80
      ]
    },
    {
      "id": "78dad121-48e6-4fd1-8969-e14756ee4129",
      "name": "Source Status Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        176,
        -112
      ]
    },
    {
      "id": "208fb674-cbc6-46e8-ae24-b021993f4ec1",
      "name": "Wait for Visual Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        -320,
        224
      ]
    },
    {
      "id": "3bcceaab-9d19-4011-b6c4-16c6d8246c07",
      "name": "Visual Status Check",
      "type": "n8n-nodes-base.if",
      "position": [
        80,
        224
      ]
    },
    {
      "id": "3f32e971-6b92-4c60-8300-8f0a0bd50bcb",
      "name": "Publish to Instagram",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -544,
        576
      ]
    },
    {
      "id": "d13f41d7-b515-4c5e-b2dc-9981f529bc58",
      "name": "Publish to Facebook",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        -224,
        576
      ]
    },
    {
      "id": "8b69c878-001c-401f-8169-4c0619aaf767",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1408,
        -176
      ],
      "parameters": {
        "width": 512,
        "height": 1040,
        "content": "# 🛠️ Workflow Setup Guide  \n\nAuthor: [GiangxAI](https://www.youtube.com/@giangxai.official)\n\n## How it works\n\n- A public content URL (Blog, YouTube, TikTok, etc.) is submitted to trigger the workflow "
      }
    }
  ],
  "connections": {
    "Get source": {
      "main": [
        [
          {
            "node": "Source Status Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get visual": {
      "main": [
        [
          {
            "node": "Visual Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Source": {
      "main": [
        [
          {
            "node": "Wait for Source Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create visual": {
      "main": [
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Content URL": {
      "main": [
        [
          {
            "node": "Create Source",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Visual Status Check": {
      "main": [
        [
          {
            "node": "Publish to Instagram",
            "type": "main",
            "index": 0
          },
          {
            "node": "Publish to Facebook",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Source Status Switch": {
      "main": [
        [],
        [
          {
            "node": "Create visual",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Source Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Visual Rendering": {
      "main": [
        [
          {
            "node": "Get visual",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Source Processing": {
      "main": [
        [
          {
            "node": "Get source",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}