{
  "name": "Orshot — Auto-promote new tours (image + video → socials)",
  "nodes": [
    {
      "parameters": {},
      "id": "a1f0e000-0000-4000-8000-000000000001",
      "name": "Run on a new tour",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [-180, 300]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            { "id": "f01", "name": "category", "value": "NEW TOUR", "type": "string" },
            { "id": "f02", "name": "headline_top", "value": "Aegean", "type": "string" },
            { "id": "f03", "name": "headline_bottom", "value": "Sailing", "type": "string" },
            { "id": "f04", "name": "subheadline", "value": "5 days island-hopping Santorini, Paros & Naxos — sunsets included", "type": "string" },
            { "id": "f05", "name": "hero_image", "value": "https://images.unsplash.com/photo-1533105079780-92b9be482077?w=1400&q=80", "type": "string" },
            { "id": "f06", "name": "photo_two", "value": "https://images.unsplash.com/photo-1505228395891-9a51e7e86bf6?w=900&q=80", "type": "string" },
            { "id": "f07", "name": "photo_three", "value": "https://images.unsplash.com/photo-1468413253725-0d5181091126?w=900&q=80", "type": "string" },
            { "id": "f08", "name": "location_text", "value": "SANTORINI, GREECE", "type": "string" },
            { "id": "f09", "name": "brand_handle", "value": "@aegean.escapes", "type": "string" },
            { "id": "f10", "name": "footer_note", "value": "From $1,299 · Book now", "type": "string" },
            { "id": "f11", "name": "booking_url", "value": "https://aegean.escapes/tours/aegean-sailing", "type": "string" },
            { "id": "f12", "name": "caption", "value": "🌊 New tour just dropped — Aegean Sailing. 5 days island-hopping Santorini, Paros & Naxos, sunsets included. From $1,299. Link in bio to book. #travel #greece #sailing #santorini #tourpackage", "type": "string" }
          ]
        },
        "options": {}
      },
      "id": "a1f0e000-0000-4000-8000-000000000002",
      "name": "New Tour Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [40, 300]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.orshot.com/v1/studio/render",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            { "name": "Authorization", "value": "Bearer YOUR_ORSHOT_API_KEY" }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"templateId\": 12278,\n  \"modifications\": {\n    \"kicker_text\": \"{{ $json.category }}\",\n    \"headline_top\": \"{{ $json.headline_top }}\",\n    \"headline_bottom\": \"{{ $json.headline_bottom }}\",\n    \"subheadline\": \"{{ $json.subheadline }}\",\n    \"hero_image\": \"{{ $json.hero_image }}\",\n    \"photo_two\": \"{{ $json.photo_two }}\",\n    \"photo_three\": \"{{ $json.photo_three }}\",\n    \"location_text\": \"{{ $json.location_text }}\",\n    \"brand_handle\": \"{{ $json.brand_handle }}\",\n    \"footer_note\": \"{{ $json.footer_note }}\"\n  },\n  \"response\": { \"type\": \"url\", \"format\": \"png\" }\n}",
        "options": {}
      },
      "id": "a1f0e000-0000-4000-8000-000000000003",
      "name": "Render Post Image (PNG)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [260, 180]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.orshot.com/v1/studio/render",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            { "name": "Authorization", "value": "Bearer YOUR_ORSHOT_API_KEY" }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"templateId\": 12278,\n  \"modifications\": {\n    \"kicker_text\": \"{{ $json.category }}\",\n    \"headline_top\": \"{{ $json.headline_top }}\",\n    \"headline_bottom\": \"{{ $json.headline_bottom }}\",\n    \"subheadline\": \"{{ $json.subheadline }}\",\n    \"hero_image\": \"{{ $json.hero_image }}\",\n    \"photo_two\": \"{{ $json.photo_two }}\",\n    \"photo_three\": \"{{ $json.photo_three }}\",\n    \"location_text\": \"{{ $json.location_text }}\",\n    \"brand_handle\": \"{{ $json.brand_handle }}\",\n    \"footer_note\": \"{{ $json.footer_note }}\"\n  },\n  \"response\": { \"type\": \"url\", \"format\": \"mp4\" }\n}",
        "options": {}
      },
      "id": "a1f0e000-0000-4000-8000-000000000004",
      "name": "Render Reel Video (MP4)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [260, 420]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.orshot.com/v1/studio/render",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            { "name": "Authorization", "value": "Bearer YOUR_ORSHOT_API_KEY" }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"templateId\": 12278,\n  \"modifications\": {\n    \"kicker_text\": \"{{ $json.category }}\",\n    \"headline_top\": \"{{ $json.headline_top }}\",\n    \"headline_bottom\": \"{{ $json.headline_bottom }}\",\n    \"subheadline\": \"{{ $json.subheadline }}\",\n    \"hero_image\": \"{{ $json.hero_image }}\",\n    \"photo_two\": \"{{ $json.photo_two }}\",\n    \"photo_three\": \"{{ $json.photo_three }}\",\n    \"location_text\": \"{{ $json.location_text }}\",\n    \"brand_handle\": \"{{ $json.brand_handle }}\",\n    \"footer_note\": \"{{ $json.footer_note }}\"\n  },\n  \"response\": { \"type\": \"url\", \"format\": \"png\" },\n  \"publish\": {\n    \"accounts\": [19, 15],\n    \"content\": \"{{ $json.caption }}\",\n    \"platformOptions\": {\n      \"15\": { \"firstComment\": \"Book this tour 👉 {{ $json.booking_url }}\" }\n    }\n  }\n}",
        "options": {}
      },
      "id": "a1f0e000-0000-4000-8000-000000000005",
      "name": "Publish to Instagram + LinkedIn",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [480, 300],
      "disabled": true
    }
  ],
  "connections": {
    "Run on a new tour": {
      "main": [[{ "node": "New Tour Data", "type": "main", "index": 0 }]]
    },
    "New Tour Data": {
      "main": [[{ "node": "Render Post Image (PNG)", "type": "main", "index": 0 }]]
    },
    "Render Post Image (PNG)": {
      "main": [[{ "node": "Render Reel Video (MP4)", "type": "main", "index": 0 }]]
    },
    "Render Reel Video (MP4)": {
      "main": [[{ "node": "Publish to Instagram + LinkedIn", "type": "main", "index": 0 }]]
    }
  },
  "settings": { "executionOrder": "v1" },
  "pinData": {}
}
