{
  "name": "Find viral TikToks, Reels and Shorts under a hashtag and turn their hooks into scripts with SocialTap and OpenAI",
  "nodes": [
    {
      "parameters": {
        "content": "## Turn viral short videos into scripts for your brand\n\nGive it a hashtag. It finds the most-viewed TikToks, Instagram Reels and YouTube Shorts under it, reads what each one says, and writes you a script that reuses the hook that made it work.\n\n### How it works\n1. The form takes a hashtag, a minimum view count, how recent and your brand.\n2. SocialTap gets the hashtag's videos from TikTok, Instagram and YouTube with their view counts.\n3. Videos above your minimum, posted in your window, are ranked by views per day, each platform's best in turn.\n4. SocialTap gets each one's transcript (speech-to-text when it has no captions).\n5. OpenAI names the hook, the format and why it worked, then writes your script.\n6. Rows are saved to the **Viral scripts** data table and shown when the form finishes.\n\nTikTok's hashtag page lists its all-time top videos, so a short window mostly returns Reels and Shorts.\n\n### Setup\n- Install the community node **n8n-nodes-socialtap** (Settings → Community nodes → Install). Tested with n8n 2.49.8 and n8n-nodes-socialtap 1.621.43. Until n8n verifies it, it runs on self-hosted n8n. [Install guide](https://socialtap.dev/docs/integrations/#n8n)\n- Add a **SocialTap API** credential: [create a free account](https://socialtap.dev/signup/?ref=n8n-viral-hooks) and paste its API key. Each operation shows its price, and failed requests are free.\n- Add an **OpenAI** credential to the model node.\n- Open the form's URL and submit.\n\n### Customization\n- Change the platforms by removing a SocialTap node.\n- Swap the data table for Google Sheets or Notion.\n- Edit the prompt in **Write the script** to match your voice.\n\n![The workflow](https://socialtap.dev/n8n/viral-video-scripts.svg)",
        "height": 880,
        "width": 600
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        0
      ],
      "id": "0fcd9d2a-221f-4605-afb5-b8e7d5985d19",
      "name": "Overview"
    },
    {
      "parameters": {
        "formTitle": "Find viral videos and write scripts",
        "formDescription": "The most-viewed TikToks, Reels and Shorts under a hashtag, each turned into a script for your brand.",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Hashtag",
              "placeholder": "skincare",
              "requiredField": true
            },
            {
              "fieldLabel": "Minimum views",
              "fieldType": "number",
              "placeholder": "100000"
            },
            {
              "fieldLabel": "Posted within (days)",
              "fieldType": "number",
              "placeholder": "90"
            },
            {
              "fieldLabel": "Videos to script",
              "fieldType": "number",
              "placeholder": "5"
            },
            {
              "fieldLabel": "Your brand or offer",
              "fieldType": "textarea",
              "placeholder": "A vitamin C serum for sensitive skin, sold online",
              "requiredField": true
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {
          "path": "viral-scripts",
          "appendAttribution": false
        }
      },
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.3,
      "position": [
        0,
        320
      ],
      "id": "67bb2e46-ea79-488e-ac87-13edcdc170a0",
      "name": "Pick a hashtag",
      "webhookId": "3ffccd26-6ada-45ef-a176-315004a2dc4c"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "a00d18c8-082e-4d6a-9688-b3254602b80a",
              "name": "hashtag",
              "value": "={{ $json['Hashtag'].trim().replace(/^#/, '') }}",
              "type": "string"
            },
            {
              "id": "20c4477f-3265-417b-9fca-af3d387335c0",
              "name": "minViews",
              "value": "={{ Number($json['Minimum views']) || 100000 }}",
              "type": "number"
            },
            {
              "id": "590130f4-73ab-4bb9-9937-e8547224d491",
              "name": "maxAgeDays",
              "value": "={{ Number($json['Posted within (days)']) || 90 }}",
              "type": "number"
            },
            {
              "id": "2ff457b0-c4bf-4f07-9fce-7ce23793202b",
              "name": "count",
              "value": "={{ Math.min(Number($json['Videos to script']) || 5, 10) }}",
              "type": "number"
            },
            {
              "id": "0a63a5d1-c09a-4c81-abb5-b8c06127fcd3",
              "name": "brand",
              "value": "={{ $json['Your brand or offer'] }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        240,
        320
      ],
      "id": "64509b70-56ff-4103-8362-a9f6c55fd440",
      "name": "Settings"
    },
    {
      "parameters": {
        "resource": "table",
        "operation": "create",
        "tableName": "Viral scripts",
        "columns": {
          "column": [
            {
              "name": "hashtag",
              "type": "string"
            },
            {
              "name": "platform",
              "type": "string"
            },
            {
              "name": "url",
              "type": "string"
            },
            {
              "name": "author",
              "type": "string"
            },
            {
              "name": "views",
              "type": "number"
            },
            {
              "name": "views_per_day",
              "type": "number"
            },
            {
              "name": "likes",
              "type": "number"
            },
            {
              "name": "posted_at",
              "type": "string"
            },
            {
              "name": "hook",
              "type": "string"
            },
            {
              "name": "format",
              "type": "string"
            },
            {
              "name": "why_it_worked",
              "type": "string"
            },
            {
              "name": "script",
              "type": "string"
            }
          ]
        },
        "options": {
          "createIfNotExists": true
        }
      },
      "type": "n8n-nodes-base.dataTable",
      "typeVersion": 1.1,
      "position": [
        480,
        320
      ],
      "id": "1374b52f-a52b-4068-a5bc-e62047ae81b6",
      "name": "Create table",
      "executeOnce": true
    },
    {
      "parameters": {
        "content": "## 1. Find the videos\nTikTok's and Instagram's top videos under the hashtag, and YouTube's most-viewed Shorts for it in your window. A platform that fails is skipped.",
        "height": 720,
        "width": 300,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        700,
        0
      ],
      "id": "f8b6ef4e-b026-4027-8fb7-a34d58bf24ed",
      "name": "Find"
    },
    {
      "parameters": {
        "resource": "tiktok",
        "operation": "tiktok.hashtag_posts",
        "url": "={{ $('Settings').first().json.hashtag }}",
        "limit": 30
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        780,
        140
      ],
      "id": "376db788-2c79-43ac-9e0e-0a84398a2ac9",
      "name": "TikTok videos",
      "onError": "continueRegularOutput",
      "alwaysOutputData": true
    },
    {
      "parameters": {
        "resource": "instagram",
        "operation": "instagram.hashtag_posts",
        "url": "={{ $('Settings').first().json.hashtag }}",
        "limit": 30
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        780,
        340
      ],
      "id": "e2010cac-70a3-4a03-b047-40361e50397f",
      "name": "Instagram Reels",
      "onError": "continueRegularOutput",
      "alwaysOutputData": true
    },
    {
      "parameters": {
        "resource": "youtube",
        "operation": "youtube.search_posts",
        "query": "={{ $('Settings').first().json.hashtag }}",
        "limit": 30,
        "additionalFields": {
          "kind": "short",
          "sort": "popular",
          "since": "={{ $now.minus({ days: $('Settings').first().json.maxAgeDays }).toISODate() }}"
        }
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        780,
        540
      ],
      "id": "64c14693-9b26-498f-9a11-befda2f1d042",
      "name": "YouTube Shorts",
      "onError": "continueRegularOutput",
      "alwaysOutputData": true
    },
    {
      "parameters": {
        "content": "## 2. Keep the biggest\nVideos above your minimum and inside your window, ranked by views per day.",
        "height": 340,
        "width": 680,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1040,
        160
      ],
      "id": "99f9481f-e562-4ed8-ad8b-37b0ae0f2271",
      "name": "Rank"
    },
    {
      "parameters": {
        "numberInputs": 3
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3.2,
      "position": [
        1100,
        340
      ],
      "id": "dc78ef8a-dd63-4046-b5d4-07e8d192b9bb",
      "name": "All videos"
    },
    {
      "parameters": {
        "jsCode": "// Videos above the minimum, ranked by views per day since posting and taken from each platform in turn (a video whose date the platform doesn't\n// show counts as posted at the window's start), up to the number asked for. None: one item that says so.\nconst s = $('Settings').first().json;\nconst now = Date.now();\nconst seen = new Set();\nconst videos = [];\nconst errors = [];\nfor (const { json: p } of $input.all()) {\n  if (p.error) errors.push(p.error);\n  const views = p.metrics?.view_count;\n  if (!p.url || views == null || views < s.minViews) continue;\n  const posted = p.published_at ? Date.parse(p.published_at) : NaN;\n  const ageDays = Number.isNaN(posted) ? s.maxAgeDays : Math.max((now - posted) / 86400000, 1);\n  if (ageDays > s.maxAgeDays) continue;\n  const key = p.platform + ':' + p.id;\n  if (seen.has(key)) continue;\n  seen.add(key);\n  videos.push({\n    platform: p.platform,\n    id: p.id,\n    url: p.url,\n    author: p.author?.username ?? '',\n    caption: (p.text || p.title || '').slice(0, 600),\n    views,\n    views_per_day: Math.round(views / ageDays),\n    likes: p.metrics.like_count ?? null,\n    posted_at: p.published_at ?? null,\n  });\n}\nif (videos.length === 0) return [{ json: { platform: 'none', errors } }];\n// Each platform's best first, taken in turns, so one platform's bigger numbers don't fill every slot.\nconst lanes = {};\nfor (const v of videos.sort((a, b) => b.views_per_day - a.views_per_day)) (lanes[v.platform] ??= []).push(v);\nconst picked = [];\nwhile (picked.length < s.count && Object.values(lanes).some((l) => l.length)) {\n  for (const l of Object.values(lanes)) if (l.length && picked.length < s.count) picked.push(l.shift());\n}\nreturn picked.map((json) => ({ json }));"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1320,
        340
      ],
      "id": "460add0a-b684-44e6-a8a0-2262c7b7e139",
      "name": "Rank by views"
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "2de26fd6-322b-4a78-9004-29f445d2e2f6",
                    "leftValue": "={{ $json.platform }}",
                    "rightValue": "tiktok",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "TikTok"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "53b9c737-8838-4420-9aa5-ab71c2ae1780",
                    "leftValue": "={{ $json.platform }}",
                    "rightValue": "instagram",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "Instagram"
            },
            {
              "conditions": {
                "options": {
                  "caseSensitive": true,
                  "leftValue": "",
                  "typeValidation": "strict",
                  "version": 2
                },
                "conditions": [
                  {
                    "id": "806f2465-8d2a-4d39-8311-4471bb3338fc",
                    "leftValue": "={{ $json.platform }}",
                    "rightValue": "youtube",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ],
                "combinator": "and"
              },
              "renameOutput": true,
              "outputKey": "YouTube"
            }
          ]
        },
        "options": {
          "fallbackOutput": "extra",
          "renameFallbackOutput": "None found"
        }
      },
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3.2,
      "position": [
        1540,
        340
      ],
      "id": "94160531-1d9b-4109-9100-327e5b8c4b11",
      "name": "By platform"
    },
    {
      "parameters": {
        "content": "## 3. Read what they say\nEach video's transcript. Videos without captions are transcribed from their audio.",
        "height": 720,
        "width": 300,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1760,
        0
      ],
      "id": "68a2c268-9744-4e2f-8996-28817ec9b6b0",
      "name": "Read"
    },
    {
      "parameters": {
        "resource": "tiktok",
        "operation": "tiktok.transcript",
        "url": "={{ $json.url }}"
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        1840,
        140
      ],
      "id": "991245ff-97a4-4629-813f-6106cde017f7",
      "name": "TikTok transcript",
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "resource": "instagram",
        "operation": "instagram.transcript",
        "url": "={{ $json.url }}"
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        1840,
        340
      ],
      "id": "c57cb55c-d26d-49b0-949c-a278d1d48589",
      "name": "Reels transcript",
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "resource": "youtube",
        "operation": "youtube.transcript",
        "url": "={{ $json.url }}"
      },
      "type": "n8n-nodes-socialtap.socialTap",
      "typeVersion": 1,
      "position": [
        1840,
        540
      ],
      "id": "ca8ccf49-52fd-4dc4-bc35-f720793041f9",
      "name": "Shorts transcript",
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "numberInputs": 3
      },
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3.2,
      "position": [
        2120,
        340
      ],
      "id": "af790bb5-e7a6-474c-b7fc-1e9a8d2a2e6b",
      "name": "All transcripts"
    },
    {
      "parameters": {
        "jsCode": "// Each ranked video with its transcript's text ('' when it has none).\nconst said = new Map();\nfor (const { json: t } of $input.all()) if (t.platform && t.id && t.text) said.set(t.platform + ':' + t.id, t.text);\nreturn $('Rank by views').all().map(({ json: v }) => ({\n  json: { ...v, transcript: (said.get(v.platform + ':' + v.id) || '').slice(0, 6000) },\n}));"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2340,
        340
      ],
      "id": "33211f95-b0fe-4330-a4be-0184ec7aec83",
      "name": "Pair with transcripts"
    },
    {
      "parameters": {
        "content": "## 4. Write the scripts\nOne call per video: the hook, the format, why it worked, and a script for your brand.",
        "height": 560,
        "width": 420,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        2560,
        160
      ],
      "id": "1b79c76c-e5b9-4971-b9c9-d25fd823995f",
      "name": "Write"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=Brand or offer: {{ $('Settings').first().json.brand }}\n\nPlatform: {{ $json.platform }}\nViews: {{ $json.views }}\nCaption: {{ $json.caption }}\nTranscript: {{ $json.transcript || '(no speech: the video works without words)' }}",
        "hasOutputParser": true,
        "messages": {
          "messageValues": [
            {
              "message": "You study short videos that went viral and adapt what made them work.\nFrom the caption and transcript, name:\n- hook: the opening line or moment that stops the scroll. Quote it only when the transcript has it; for a video without speech, describe the opening moment from the caption, and never invent spoken words\n- format: the video's format in a few words (talking head, before and after, list, skit, tutorial)\n- why_it_worked: one or two sentences\nThen write script: a 30 to 45 second script for the brand that reuses the hook's mechanism, not its words, with the opening line first. Never invent facts about the brand."
            }
          ]
        }
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.7,
      "position": [
        2640,
        340
      ],
      "id": "ebcf57d0-545f-436b-b8df-158d5d4da535",
      "name": "Write the script"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini",
          "cachedResultName": "gpt-4.1-mini"
        },
        "options": {
          "temperature": 0.4
        }
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        2620,
        560
      ],
      "id": "c8e27358-6176-4e62-8657-d097a7708107",
      "name": "OpenAI"
    },
    {
      "parameters": {
        "jsonSchemaExample": "{\n  \"hook\": \"Stop putting vitamin C on wet skin.\",\n  \"format\": \"talking head, myth busting\",\n  \"why_it_worked\": \"It opens with a correction viewers feel they need.\",\n  \"script\": \"Stop doing this with your serum…\"\n}"
      },
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "typeVersion": 1.3,
      "position": [
        2820,
        560
      ],
      "id": "f847f56a-57ef-4a9a-ac11-9b3e25d331c6",
      "name": "Script format"
    },
    {
      "parameters": {
        "content": "## 5. Save and show\nRows go to the Viral scripts data table; the form shows them when it finishes.",
        "height": 340,
        "width": 680,
        "color": 7
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        3020,
        160
      ],
      "id": "532c565f-7ab4-4d9f-acd8-fa3639d6f23c",
      "name": "Save"
    },
    {
      "parameters": {
        "jsCode": "// One row per video: its numbers and the model's answer.\nconst videos = $('Pair with transcripts').all();\nconst hashtag = $('Settings').first().json.hashtag;\nreturn $input.all().map((item, i) => {\n  const v = videos[i].json;\n  const o = item.json.output ?? {};\n  return { json: { hashtag, platform: v.platform, url: v.url, author: v.author, views: v.views, views_per_day: v.views_per_day, likes: v.likes, posted_at: v.posted_at ?? '',\n    hook: o.hook ?? '', format: o.format ?? '', why_it_worked: o.why_it_worked ?? '', script: o.script ?? '' } };\n});"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        3080,
        340
      ],
      "id": "bb66aec4-2ff8-43fb-83a6-89936200afce",
      "name": "Rows"
    },
    {
      "parameters": {
        "resource": "row",
        "operation": "insert",
        "dataTableId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Create table').first().json.id }}"
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {},
          "matchingColumns": [],
          "schema": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.dataTable",
      "typeVersion": 1.1,
      "position": [
        3300,
        340
      ],
      "id": "85e42ff0-1e4a-45cd-a3fa-40ffa58d3af4",
      "name": "Save to data table"
    },
    {
      "parameters": {
        "jsCode": "// The page the form shows when it finishes.\nconst esc = (s) => String(s ?? '').replace(/[&<>\"]/g, (c) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '\"': '&quot;' })[c]);\nconst s = $('Settings').first().json;\nconst none = $input.first().json.platform === 'none' ? $input.first().json : null;\nconst rows = none ? [] : $('Rows').all().map((i) => i.json);\nif (none?.errors?.length) {\n  return [{ json: { html: '<h2>SocialTap could not get the videos</h2><p>' + none.errors.map(esc).join('<br>') + '</p>' } }];\n}\nif (rows.length === 0) {\n  return [{ json: { html: '<h2>No videos found</h2><p>Nothing under #' + esc(s.hashtag) + ' has ' + s.minViews.toLocaleString('en-US') + ' views yet. Try a lower minimum or a bigger hashtag.</p>' } }];\n}\nconst cards = rows.map((r) => '<div style=\"text-align:left;border:1px solid #ddd;border-radius:8px;padding:12px;margin:12px 0\">'\n  + '<p><a href=\"' + esc(r.url) + '\">' + esc(r.platform) + ' · @' + esc(r.author) + '</a> · ' + Number(r.views).toLocaleString('en-US') + ' views</p>'\n  + '<p><b>Hook:</b> ' + esc(r.hook) + '</p><p><b>Format:</b> ' + esc(r.format) + '</p><p><b>Why it worked:</b> ' + esc(r.why_it_worked) + '</p>'\n  + '<p><b>Your script:</b><br>' + esc(r.script).replace(/\\n/g, '<br>') + '</p></div>').join('');\nreturn [{ json: { html: '<h2>' + rows.length + ' scripts from #' + esc(s.hashtag) + '</h2><p>Also saved to the Viral scripts data table.</p>' + cards } }];"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        3520,
        340
      ],
      "id": "980e9e1c-4b04-4f2e-956f-bf8f079cfe49",
      "name": "Results page",
      "executeOnce": true
    },
    {
      "parameters": {
        "operation": "completion",
        "respondWith": "showText",
        "responseText": "={{ $json.html }}"
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        3740,
        340
      ],
      "id": "2ddb32cf-6393-4da3-a06d-7866abd22466",
      "name": "Show the scripts",
      "webhookId": "6ae7f179-633c-4f6a-b8e6-ebbdfcc78a66"
    }
  ],
  "pinData": {},
  "connections": {
    "OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "Write the script",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Script format": {
      "ai_outputParser": [
        [
          {
            "node": "Write the script",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Pick a hashtag": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Create table",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create table": {
      "main": [
        [
          {
            "node": "TikTok videos",
            "type": "main",
            "index": 0
          },
          {
            "node": "Instagram Reels",
            "type": "main",
            "index": 0
          },
          {
            "node": "YouTube Shorts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TikTok videos": {
      "main": [
        [
          {
            "node": "All videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram Reels": {
      "main": [
        [
          {
            "node": "All videos",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "YouTube Shorts": {
      "main": [
        [
          {
            "node": "All videos",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "All videos": {
      "main": [
        [
          {
            "node": "Rank by views",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank by views": {
      "main": [
        [
          {
            "node": "By platform",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "By platform": {
      "main": [
        [
          {
            "node": "TikTok transcript",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reels transcript",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Shorts transcript",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Results page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TikTok transcript": {
      "main": [
        [
          {
            "node": "All transcripts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reels transcript": {
      "main": [
        [
          {
            "node": "All transcripts",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Shorts transcript": {
      "main": [
        [
          {
            "node": "All transcripts",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "All transcripts": {
      "main": [
        [
          {
            "node": "Pair with transcripts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pair with transcripts": {
      "main": [
        [
          {
            "node": "Write the script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write the script": {
      "main": [
        [
          {
            "node": "Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rows": {
      "main": [
        [
          {
            "node": "Save to data table",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save to data table": {
      "main": [
        [
          {
            "node": "Results page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Results page": {
      "main": [
        [
          {
            "node": "Show the scripts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}