{
  "name": "Automated Faceless AI Videos | Sabrina Ramonov",
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/media",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $('Get Video').item.json.item.mediaUrl }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        760,
        660
      ],
      "id": "1d8bdd97-2639-4d92-bf85-ad423b52d21e",
      "name": "Upload to Blotato"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "instagram"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_long.toJsonString() }},n      "platform": "instagram",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.instagram_id }}"n  }n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1000,
        -140
      ],
      "id": "2744a782-59c3-452f-85cc-60d066f47bbd",
      "name": "[Instagram] Publish via Blotato"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "facebook",n      "pageId": "{{ $('Prepare for Publish').item.json.facebook_page_id }}"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_long.toJsonString() }},n      "platform": "facebook",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.facebook_id }}"n  }n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1000,
        200
      ],
      "id": "1ce0d465-cbe1-43fa-9e6f-3fdfba84f8fe",
      "name": "[Facebook] Publish via Blotato"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "linkedin"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_long.toJsonString() }},n      "platform": "linkedin",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.linkedin_id }}"n  }n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1000,
        660
      ],
      "id": "7a83cf54-7db4-48d7-946e-148e900ae7b3",
      "name": "[Linkedin] Publish via Blotato"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "tiktok",n      "isYourBrand": false,n      "disabledDuet": false,n      "privacyLevel": "PUBLIC_TO_EVERYONE",n      "isAiGenerated": false,n      "disabledStitch": false,n      "disabledComments": false,n      "isBrandedContent": falsen    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_long.toJsonString() }},n      "platform": "tiktok",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.tiktok_id }}"n  }n}n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1000,
        1060
      ],
      "id": "b2dadb9d-b856-4d5f-8056-2536f3d0b504",
      "name": "[Tiktok] Publish via Blotato",
      "disabled": true
    },
    {
      "parameters": {
        "resource": "image",
        "prompt": "={{ $('Prepare for Publish').item.json.final_text_long }}",
        "options": {
          "returnImageUrls": true
        }
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1000,
        1460
      ],
      "id": "c116d8b4-bb6d-4b80-9adb-0a46ba45d345",
      "name": "OpenAI",
      "disabled": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/media",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.url }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1220,
        1460
      ],
      "id": "1baa0610-d8eb-4c5f-a206-94b51595e52e",
      "name": "Upload to Blotato - Image",
      "disabled": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "pinterest",n      "boardId": "{{ $('Prepare for Publish').item.json.pinterest_board_id }}",n      "link": "https://www.tiktok.com/@sabrina_ramonov"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_short.toJsonString() }},,n      "platform": "pinterest",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.pinterest_id }}"n  }n}n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1440,
        1460
      ],
      "id": "a9cdc57f-b419-4d8c-9e51-24cba2eb758c",
      "name": "[Pinterest] Publish via Blotato",
      "disabled": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "youtube",n      "title": "TEST VIDEO",n      "privacyStatus": "public",n      "shouldNotifySubscribers": truen    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_long.toJsonString() }},n      "platform": "youtube",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.youtube_id }}"n  }n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1360,
        -140
      ],
      "id": "2901ef86-83ad-4043-b4c5-3335fced5bb7",
      "name": "[Youtube] Publish via Blotato",
      "disabled": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "threads"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_short.toJsonString() }},n      "platform": "threads",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.threads_id }}"n  }n}n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1360,
        200
      ],
      "id": "b2854045-acb0-4772-8f3e-109c250c60a8",
      "name": "[Threads] Publish via Blotato"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "twitter"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_short.toJsonString() }},n      "platform": "twitter",n      "mediaUrls": ["{{ $json.url }}"]n    },n    "accountId": "{{ $('Prepare for Publish').item.json.twitter_id }}"n  }n}n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1360,
        660
      ],
      "id": "dd81190f-e67f-4170-9f2d-653a2b020f32",
      "name": "[Twitter] Publish via Blotato",
      "disabled": true
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/posts",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare for Publish').item.json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "post": {n    "target": {n      "targetType": "bluesky"n    },n    "content": {n      "text": {{ $('Prepare for Publish').item.json.final_text_short.toJsonString() }},n      "platform": "bluesky",n      "mediaUrls": []n    },n    "accountId": "{{ $('Prepare for Publish').item.json.bluesky_id }}"n  }n}n",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1360,
        1060
      ],
      "id": "6b0238f7-dc46-4953-bf3a-fdc7714d72be",
      "name": "[Bluesky] Publish via Blotato",
      "disabled": true
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 10
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        -1180,
        660
      ],
      "id": "4e2818aa-fcdb-423a-8279-d52b2470b171",
      "name": "Schedule Trigger"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "# INSTRUCTIONSnn1. Brainstorm 50 different viral faceless video ideas related to theme "Little known history facts about [famous person]".nn2. Randomly select 1 of the ideas. Research relevant statistics, dates, and figures related to the specific idea.nn3. Write a 15-second video script for a viral faceless video. Use 6th grade language, use active voice, and start with a hook that leaves viewers wanting to know the answer. Do NOT start with a greeting like "Hey there!".nn4. Write a 2-sentence video caption, use 6th grade language, no emojis, and append 3 relevant hashtags to the end of the caption, including "#ai".nn# OUTPUT FORMATnnIn JSON format:nn1. Output the script.n2. Output the caption.",
        "hasOutputParser": true,
        "options": {
          "returnIntermediateSteps": false
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.8,
      "position": [
        -940,
        660
      ],
      "id": "ec4ab681-1d68-48fd-be81-b64d287641dc",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "amount": 10,
        "unit": "minutes"
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        80,
        660
      ],
      "id": "6c194591-9aec-40f7-83fb-1444d932b737",
      "name": "Wait",
      "webhookId": "83991019-318c-46e2-85d2-6e4bdcd6b69e",
      "alwaysOutputData": false
    },
    {
      "parameters": {
        "content": "# Write Video Script",
        "height": 2100,
        "width": 780,
        "color": 2
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -1300,
        -300
      ],
      "id": "6f70b2e7-49ea-4fef-af6e-81b98f3a1f36",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "content": "# Create Faceless Videonn- Sign up for Blotato: https://www.blotato.comn- Here is the Blotato API documentation: https://help.blotato.com/api-reference/create-video",
        "height": 2100,
        "width": 800,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -380,
        -300
      ],
      "id": "7b6a555c-6d55-41da-b7a1-94690c6d24ff",
      "name": "Sticky Note1"
    },
    {
      "parameters": {
        "content": "# Publish to Social Mediann- Sign up for Blotato: https://www.blotato.comn- Blotato's API currently doesn't support uploading videos to Bluesky or Pinterest. n- This feature will be released in the future, so I've deactivated the nodes for now.",
        "height": 2100,
        "width": 1120,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        540,
        -300
      ],
      "id": "e8d42e7a-18a8-493d-93f9-8f32ce6cea8e",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "={n  "blotato_api_key": "",n  "instagram_id": "",n  "youtube_id": "",n  "tiktok_id": "",n  "facebook_id": "",n  "facebook_page_id": "",n  "threads_id": "",n  "twitter_id": "",n  "linkedin_id": "",n  "pinterest_id": "",n  "pinterest_board_id": "",n  "bluesky_id": "",n  "final_text_long": {{ $('Prepare Video').item.json.script.caption.toJsonString() }},n  "final_text_short": {{ $('Prepare Video').item.json.script.caption.toJsonString() }}n}",
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        600,
        660
      ],
      "id": "8709d9c6-6667-481d-befb-d6755a417d11",
      "name": "Prepare for Publish"
    },
    {
      "parameters": {
        "content": "## Make sure you fill out "Prepare Video"",
        "height": 180,
        "width": 150,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -340,
        840
      ],
      "id": "03dc2b9e-eafc-4e21-96c8-c8e75c01ff64",
      "name": "Sticky Note3"
    },
    {
      "parameters": {
        "content": "## Make sure you fill out "Prepare for Publish"",
        "height": 180,
        "width": 160,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        580,
        840
      ],
      "id": "5b09b4ce-7ab3-48c3-acba-c946ae782af9",
      "name": "Sticky Note4"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://backend.blotato.com/v2/videos/creations",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $json.blotato_api_key }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={n  "template": {n    "id": "{{ $json.template }}",n    "voiceId": "{{ $json.voiceId }}",n    "captionPosition": "{{ $json.captionPosition }}"n  },n  "script": {{ $json.script.script.toJsonString() }},n  "style": "{{ $json.style }}",n  "animateFirstImage": {{ $json.animate_first_image }},n  "animateAll": {{ $json.animate_all }},n  "textToImageModel": "{{ $json.text_to_image_model }}",n  "imageToVideoModel": "{{ $json.image_to_video_model }}"n}",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -120,
        660
      ],
      "id": "a19edd51-cca0-4e1c-b9ed-8e6d6b875c3e",
      "name": "Create Video"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-4o",
          "mode": "list",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        -940,
        840
      ],
      "id": "cdf6ed98-bf32-4670-a521-e4890ebcd73d",
      "name": "Brainstorm Idea",
      "credentials": {
        "openAiApi": {
          "id": "zogKTflbcCFR4HyZ",
          "name": "OpenAI"
        }
      }
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "={n  "blotato_api_key": "",n  "template": "empty",n  "voiceId": "elevenlabs/eleven_multilingual_v2/JBFqnCBsd6RMkjVDRZzb",n  "captionPosition": "bottom",n  "script": {{ $('AI Agent').item.json.output.toJsonString() }},n  "style": "cinematic",n  "animate_first_image": true,n  "animate_all": false,n  "text_to_image_model": "replicate/recraft-ai/recraft-v3",n  "image_to_video_model": "fal-ai/framepack"n}",
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        -320,
        660
      ],
      "id": "8917e2bd-f6cb-4727-a7df-a0bb27dd1348",
      "name": "Prepare Video"
    },
    {
      "parameters": {
        "url": "=https://backend.blotato.com/v2/videos/creations/{{ $json.item.id }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "blotato-api-key",
              "value": "={{ $('Prepare Video').item.json.blotato_api_key }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        280,
        660
      ],
      "id": "b5d6b58f-0ca8-494e-b393-89be3accf1b4",
      "name": "Get Video"
    },
    {
      "parameters": {
        "jsonSchemaExample": "{nt"script": "your video script",nt"caption": "short video caption"n}"
      },
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "typeVersion": 1.2,
      "position": [
        -780,
        840
      ],
      "id": "e05d8a11-6394-4bec-987c-7ed8d23c6916",
      "name": "Structured Output Parser"
    }
  ],
  "pinData": {},
  "connections": {
    "Upload to Blotato": {
      "main": [
        [
          {
            "node": "[Instagram] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Facebook] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Linkedin] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Tiktok] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Youtube] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Threads] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Twitter] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Bluesky] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Upload to Blotato - Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Blotato - Image": {
      "main": [
        [
          {
            "node": "[Pinterest] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Prepare Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare for Publish": {
      "main": [
        [
          {
            "node": "Upload to Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Brainstorm Idea": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Video": {
      "main": [
        [
          {
            "node": "Create Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Prepare for Publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e6e3021d-df29-47b3-9086-fe58773c2f1e",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "549c75b884f60826462aba44926da2b62a58c76fa3ad0b40e11aceb92998328c"
  },
  "id": "FDT3Mu9tXXV7OwAt",
  "tags": []
}