DEV Community

Cover image for 3 Free n8n Workflows That Turn TikToks and Podcasts Into Data (Copy and Paste)
Aemon
Aemon

Posted on Fully Autonomous

3 Free n8n Workflows That Turn TikToks and Podcasts Into Data (Copy and Paste)

TL;DR: Below are three n8n workflows you can paste straight into your canvas: a weekly TikTok competitor report in Google Sheets (hooks, summaries, calls to action, views), AI show notes by email for every new podcast episode, and a Telegram bot that replies to any video link with a transcript and summary. Each one is a single HTTP call to Apify, so they work on n8n Cloud and self-hosted n8n without community nodes.

The same questions come up again and again in automation communities: "can n8n read TikToks?", "how do I get podcast transcripts into my notes?", "can I send a Reel to a bot and get the text back?". n8n can't watch videos or listen to audio on its own, but it is very good at calling an API that can. So I built one workflow for each of those questions and cleaned them up so you can copy them.

What you need

  • n8n, Cloud or self-hosted (tested on n8n 1.x)
  • An Apify account: the free plan includes $5 of credit every month, which covers a few hundred videos
  • 5 minutes per workflow

How the workflows talk to Apify

All three use the same pattern: one HTTP Request node that runs an Apify Actor and waits for the results.

POST https://api.apify.com/v2/acts/aemon~video-to-text-for-ai/run-sync-get-dataset-items?timeout=300
Authorization: Bearer YOUR_APIFY_TOKEN

{ "urls": ["https://www.tiktok.com/@creator"], "maxVideosPerUrl": 20, "aiAnalysis": true }
Enter fullscreen mode Exit fullscreen mode

The response is a list of videos, and n8n turns each one into its own item, so the next nodes can filter, format and send them anywhere. In n8n, add the token once as a Header Auth credential (name Authorization, value Bearer YOUR_APIFY_TOKEN) and reuse it in all three workflows.

The Actors are Video to Text for social videos and Podcast to Text for podcasts. You only pay for videos and episodes that were processed successfully.

Workflow 1: Weekly TikTok competitor hooks in Google Sheets

What it does: every Monday at 8:00 it takes the TikTok profiles you list, finds the videos they posted in the last 7 days, transcribes them, reads the text shown on screen and has AI write down the hook, summary, call to action, content type, sentiment and topics. Each video becomes a row in Google Sheets next to its views and likes.

Why it's useful: after a few weeks you have a sortable library of what works in your niche. Sort by views and read the hooks of the top 20.

A real row from the sheet:

creator views hook callToAction contentType
apifylife 15,600 "Hi, we're Apify. Of course it took us half a year to get what we actually do." "Check out this link to see all the open positions." promotion

Setup: paste the profile links into the Settings node, add your Apify credential, connect Google Sheets and pick a spreadsheet. Cost: about $0.012 per video with AI analysis and on-screen text, so 20 videos a week from 5 creators is about $1.20.

Workflow 1 JSON: copy and paste into n8n
{
  "name": "Weekly TikTok competitor hooks to Google Sheets (AI analysis)",
  "nodes": [
    {
      "parameters": {
        "content": "## Weekly TikTok competitor hooks to Google Sheets\n\n### How it works\nFor marketers and creators who want to know which TikTok hooks work in their niche. Every Monday at 8:00 the workflow takes the TikTok profiles you list, finds the videos they posted in the last 7 days and sends them to the [Video to Text](https://apify.com/aemon/video-to-text-for-ai) Actor on Apify. It transcribes each video, reads the text shown on screen and uses AI to extract the **hook, summary, call to action, content type, sentiment and topics**. Each successful video becomes one row in Google Sheets next to its views and likes. Private, removed or failed videos are skipped and not charged.\n\n### Setup\n1. Create an Apify account (the free plan includes $5 of credit per month) and copy your API token from Apify Console → Settings → API & Integrations.\n2. In **Transcribe & analyse videos**, create a Header Auth credential: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`.\n3. In **Append to Google Sheets**, connect Google and select a spreadsheet. The first run adds the column headers.\n4. Put your TikTok profile links in **Settings**, click *Test workflow*, check the sheet, then activate.\n\n### Customization\nChange the schedule, the number of videos per profile or turn off on-screen text in **Settings** (saves $0.002 per video). Cost is about $0.012 per video. One run waits up to 5 minutes, which covers roughly 30 to 40 short videos; split longer lists across several workflows.",
        "height": 760,
        "width": 540
      },
      "id": "ce823d96-e839-4545-91d9-53621afd3938",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        -40
      ]
    },
    {
      "parameters": {
        "content": "## Configure\nRuns every Monday at 8:00. Edit the profiles and options in **Settings**.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "a2aab419-2a95-48ea-acc0-ed49f9e0242e",
      "name": "Configure",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -60,
        40
      ]
    },
    {
      "parameters": {
        "content": "## Transcribe and analyse\nBuilds the Actor input for the last 7 days and runs Video to Text on Apify. Returns one item per video.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "5d70e029-7b61-4437-ae17-7af863e43dd6",
      "name": "Transcribe and analyse",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        40
      ]
    },
    {
      "parameters": {
        "content": "## Save to Google Sheets\nKeeps successful videos and writes one row each with hook, summary, CTA and views.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "fdd016a8-baa1-4148-a918-bb8e397c1fb5",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        860,
        40
      ]
    },
    {
      "parameters": {
        "content": "### ⚠️ Apify token\nCreate a **Header Auth** credential in this node: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`. Never paste the token into the URL or body.",
        "height": 170,
        "width": 300,
        "color": 3
      },
      "id": "ef3243bb-8fa4-437e-bb39-d5008585da61",
      "name": "Apify token",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        560,
        420
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 8
            }
          ]
        }
      },
      "id": "842af85d-c9a0-40e8-aaad-fbd60df54ad8",
      "name": "Every Monday at 8:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "c65f1712-b846-46f5-a5db-93bb5159fc72",
              "name": "tiktokProfiles",
              "value": "https://www.tiktok.com/@apifylife\nhttps://www.tiktok.com/@another_creator",
              "type": "string"
            },
            {
              "id": "53c89b98-c01d-46ef-a600-47f47f3b3179",
              "name": "maxVideosPerProfile",
              "value": 20,
              "type": "number"
            },
            {
              "id": "07dd86f6-88b8-46d5-a200-a711687bc95b",
              "name": "readOnScreenText",
              "value": true,
              "type": "boolean"
            }
          ]
        },
        "options": {}
      },
      "id": "1c5d8d91-60bb-440d-82b1-cf4cd740729b",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        200
      ]
    },
    {
      "parameters": {
        "jsCode": "// Videos from the last 7 days of every profile, with AI analysis.\nconst s = $input.first().json;\nconst urls = String(s.tiktokProfiles).split('\\n').map((u) => u.trim()).filter(Boolean);\nconst since = new Date(Date.now() - 7 * 24 * 3600 * 1000).toISOString().slice(0, 10);\nreturn [{ json: { input: {\n    urls,\n    maxVideosPerUrl: Number(s.maxVideosPerProfile) || 20,\n    publishedAfter: since,\n    aiAnalysis: true,\n    extractOnScreenText: Boolean(s.readOnScreenText),\n} } }];"
      },
      "id": "c6bd0170-8cd6-4ddb-a362-a88c7dc93401",
      "name": "Build Actor input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        460,
        200
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/aemon~video-to-text-for-ai/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "timeout",
              "value": "300"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.input) }}",
        "options": {
          "timeout": 330000
        }
      },
      "id": "3804f943-750b-4324-9bae-4de59e493960",
      "name": "Transcribe & analyse videos",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        200
      ]
    },
    {
      "parameters": {
        "jsCode": "// One clean row per successfully analysed video.\nreturn $input.all()\n    .map((i) => i.json)\n    .filter((v) => v.status === 'ok')\n    .map((v) => ({ json: {\n        published: (v.publishedAt || '').slice(0, 10),\n        creator: v.author,\n        views: v.views,\n        likes: v.likes,\n        hook: v.aiAnalysis?.hook ?? '',\n        summary: v.aiAnalysis?.summary ?? '',\n        callToAction: v.aiAnalysis?.callToAction ?? '',\n        contentType: v.aiAnalysis?.contentType ?? '',\n        sentiment: v.aiAnalysis?.sentiment ?? '',\n        topics: (v.aiAnalysis?.topics || []).join(', '),\n        onScreenText: (v.onScreenText || []).join(' | '),\n        url: v.url,\n        transcript: v.text,\n    } }));"
      },
      "id": "5e330fd6-ee07-4758-8f5d-147809cf7985",
      "name": "Format rows",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        920,
        200
      ]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "value": "",
          "mode": "url"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {},
          "matchingColumns": [],
          "schema": []
        },
        "options": {}
      },
      "id": "17080d22-c875-4c25-8b71-58da422a5ae7",
      "name": "Append to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1140,
        200
      ]
    }
  ],
  "connections": {
    "Every Monday at 8:00": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Build Actor input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Actor input": {
      "main": [
        [
          {
            "node": "Transcribe & analyse videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe & analyse videos": {
      "main": [
        [
          {
            "node": "Format rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format rows": {
      "main": [
        [
          {
            "node": "Append to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
Enter fullscreen mode Exit fullscreen mode

Workflow 2: AI show notes for every new podcast episode

What it does: every morning it checks the podcasts you follow (Apple Podcasts links or RSS feeds), transcribes episodes published since the last run and emails you show notes: a summary, key takeaways, timestamped chapters and notable quotes, with a link to the episode. The workflow remembers when it last ran, so you only get new episodes.

Here is the start of a real email it sent for NPR News Now:

🎙️ NPR News Now: 2pm ET, November 14 | The latest headlines from NPR

NPR News Now covers the ongoing aftermath of a nationwide air traffic control outage, with FAA officials predicting 4,000 to 5,000 flight cancellations today…

Chapters:
00:00 FAA Flight Cancellations and Ground Stop Aftermath
01:09 Microsoft Outage Resolved

Setup: add podcast links and your email in Settings, add your Apify credential and connect Gmail. Cost: $0.004 per minute of audio plus $0.01 per summary, so a daily 30-minute show costs about $0.13 a day.

Workflow 2 JSON: copy and paste into n8n
{
  "name": "New podcast episodes to AI show notes by email (summary, chapters, quotes)",
  "nodes": [
    {
      "parameters": {
        "content": "## New podcast episodes to AI show notes by email\n\n### How it works\nFor podcast fans, researchers and producers who want the gist of new episodes without listening to every one. Every morning at 7:00 the workflow checks the shows you follow (Apple Podcasts links or RSS feeds) and sends episodes published since the last run to the [Podcast to Text](https://apify.com/aemon/podcast-audio-to-text) Actor on Apify. It transcribes them and writes an **AI summary, key takeaways, timestamped chapters and notable quotes**. You get one email per new episode with a link to listen. The last run time is stored in workflow static data, so each episode is sent once.\n\n### Setup\n1. Create an Apify account (the free plan includes $5 of credit per month) and copy your API token from Apify Console → Settings → API & Integrations.\n2. In **Transcribe & summarise episodes**, create a Header Auth credential: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`.\n3. In **Send show notes**, connect Gmail.\n4. Put your podcast links and email address in **Settings**, click *Test workflow*, check your inbox, then activate.\n\n### Customization\nChange the schedule or the number of episodes per show in **Settings**, or replace Gmail with Slack, Notion or Telegram. Cost: $0.004 per minute of audio plus $0.01 per summary. Static data is only saved for active (production) runs, so manual test runs always look back 24 hours. One run waits up to 5 minutes, which covers one or two hour-long episodes.",
        "height": 760,
        "width": 540
      },
      "id": "6768ecc5-11ce-4200-8bff-ab541618efb9",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        -40
      ]
    },
    {
      "parameters": {
        "content": "## Configure\nRuns every day at 7:00. Edit the podcasts, email and episode limit in **Settings**.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "0cadcc46-3930-4a59-bf8b-f57194c3ca44",
      "name": "Configure",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -60,
        40
      ]
    },
    {
      "parameters": {
        "content": "## Transcribe and summarise\nAsks Podcast to Text for episodes since the last run, with an AI summary and chapters.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "a9425d9f-b4ea-44f0-ad50-825cccd254ba",
      "name": "Transcribe and summarise",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        40
      ]
    },
    {
      "parameters": {
        "content": "## Email the show notes\nSkips episodes already sent and emails one summary per new episode.",
        "height": 340,
        "width": 460,
        "color": 7
      },
      "id": "723e83ca-e31d-4b9c-a76f-907cfa2494f2",
      "name": "Email the show notes",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        860,
        40
      ]
    },
    {
      "parameters": {
        "content": "### ⚠️ Apify token\nCreate a **Header Auth** credential in this node: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`. Never paste the token into the URL or body.",
        "height": 170,
        "width": 300,
        "color": 3
      },
      "id": "268b74ad-1403-46d9-bc62-e1e81bf5d59c",
      "name": "Apify token",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        560,
        420
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "triggerAtHour": 7
            }
          ]
        }
      },
      "id": "138c6424-318f-4a61-97c3-1d463aaf1014",
      "name": "Every day at 7:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "e8bc9487-ff32-49d9-a5c2-6a8e20e80049",
              "name": "podcasts",
              "value": "https://podcasts.apple.com/us/podcast/npr-news-now/id121493675",
              "type": "string"
            },
            {
              "id": "a6d6e539-dc2b-4001-9a1e-c0c0e9a3cd3a",
              "name": "sendTo",
              "value": "you@example.com",
              "type": "string"
            },
            {
              "id": "a6c4be75-b0c8-4a40-8d70-ad3991e8fb51",
              "name": "maxEpisodesPerPodcast",
              "value": 3,
              "type": "number"
            }
          ]
        },
        "options": {}
      },
      "id": "2edd0021-fb3e-4884-94cf-657b5cb0fc73",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        200
      ]
    },
    {
      "parameters": {
        "jsCode": "// Episodes published since the previous run (yesterday on the first run).\nconst s = $input.first().json;\nconst state = $getWorkflowStaticData('global');\nconst since = state.lastRun || new Date(Date.now() - 24 * 3600 * 1000).toISOString();\nstate.lastRun = new Date().toISOString();\nconst urls = String(s.podcasts).split('\\n').map((u) => u.trim()).filter(Boolean);\nreturn [{ json: { since, input: {\n    urls,\n    maxEpisodesPerPodcast: Number(s.maxEpisodesPerPodcast) || 3,\n    publishedAfter: since.slice(0, 10),\n    aiSummary: true,\n    includeSegments: false,\n} } }];"
      },
      "id": "ce11face-b15e-4462-9839-8a80ce99804a",
      "name": "Build Actor input",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        460,
        200
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/aemon~podcast-audio-to-text/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "timeout",
              "value": "300"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.input) }}",
        "options": {
          "timeout": 330000
        }
      },
      "id": "ac73ed59-ea2b-475d-b1db-d5cecd38ebbf",
      "name": "Transcribe & summarise episodes",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        200
      ]
    },
    {
      "parameters": {
        "jsCode": "// One email per new episode with the AI show notes.\nconst since = $('Build Actor input').first().json.since;\nconst sendTo = $('Settings').first().json.sendTo;\nreturn $input.all()\n    .map((i) => i.json)\n    .filter((e) => e.status === 'ok' && e.aiSummary && (!e.publishedAt || e.publishedAt > since))\n    .map((e) => {\n        const s = e.aiSummary;\n        const lines = [\n            e.podcastTitle + ': ' + e.episodeTitle,\n            '',\n            s.summary,\n            '',\n            'Key points:',\n            ...s.keyPoints.map((p) => '• ' + p),\n            '',\n            'Chapters:',\n            s.chaptersText,\n        ];\n        if (s.quotes.length) lines.push('', 'Quotes:', ...s.quotes.map((q) => '\"' + q + '\"'));\n        lines.push('', 'Listen: ' + (e.episodeUrl || e.audioUrl));\n        return { json: { sendTo, subject: '🎙️ ' + e.podcastTitle + ': ' + e.episodeTitle, body: lines.join('\\n') } };\n    });"
      },
      "id": "019ca134-66cd-4738-aac1-8dc317e42432",
      "name": "Write show notes",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        920,
        200
      ]
    },
    {
      "parameters": {
        "sendTo": "={{ $json.sendTo }}",
        "subject": "={{ $json.subject }}",
        "emailType": "text",
        "message": "={{ $json.body }}",
        "options": {
          "appendAttribution": false
        }
      },
      "id": "65abf980-03d7-48c1-be02-235d98e50912",
      "name": "Send show notes",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1140,
        200
      ]
    }
  ],
  "connections": {
    "Every day at 7:00": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Build Actor input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Actor input": {
      "main": [
        [
          {
            "node": "Transcribe & summarise episodes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe & summarise episodes": {
      "main": [
        [
          {
            "node": "Write show notes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write show notes": {
      "main": [
        [
          {
            "node": "Send show notes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
Enter fullscreen mode Exit fullscreen mode

Workflow 3: A Telegram bot that transcribes any video link

What it does: send your bot a link to a TikTok, Instagram Reel, X post, Facebook or YouTube video and it replies with the summary, hook, key points, call to action and the full transcript. If the link doesn't work (a private video, for example), it tells you why instead of failing silently.

It's a handy way to save ideas from your phone: see a good Reel, share it to the bot, and the text is waiting in the chat.

Setup: create a bot with @botfather, add its token as Telegram credentials, add your Apify credential and activate the workflow. Cost: about $0.01 per short video.

Workflow 3 JSON: copy and paste into n8n
{
  "name": "Telegram bot: video link to transcript and AI summary (TikTok, Reels, YouTube)",
  "nodes": [
    {
      "parameters": {
        "content": "## Telegram bot: video link to transcript and AI summary\n\n### How it works\nA personal bot for saving ideas from short videos. Send it a link to a TikTok, Instagram Reel, X post, Facebook or YouTube video and it replies with the **summary, hook, key points, call to action and full transcript**, produced by the [Video to Text](https://apify.com/aemon/video-to-text-for-ai) Actor on Apify. Messages without a link get a short how-to reply. Private, removed or unsupported links get a clear error message instead of a silent failure, and they are not charged.\n\n### Setup\n1. Create a bot with @BotFather in Telegram and add its token as Telegram credentials in **Telegram Trigger** and **Reply**.\n2. Create an Apify account (the free plan includes $5 of credit per month) and copy your API token from Apify Console → Settings → API & Integrations.\n3. In **Transcribe & analyse**, create a Header Auth credential: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`.\n4. Activate the workflow and send the bot a video link. Telegram needs a public webhook URL, so use n8n Cloud or a self-hosted instance reachable from the internet.\n\n### Customization\nAdd `extractOnScreenText: true` or `translateTo: \"es\"` to the input in **Find video link** to also read on-screen text or translate the transcript. Cost: about $0.01 per short video. Telegram limits replies to 4,096 characters, so long transcripts are shortened.",
        "height": 760,
        "width": 540
      },
      "id": "9dc772a9-59f0-4764-bf78-e275696cc613",
      "name": "Overview",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        -40
      ]
    },
    {
      "parameters": {
        "content": "## Read the message\nTakes the first link in the message. Messages without a link get usage instructions.",
        "height": 340,
        "width": 680,
        "color": 7
      },
      "id": "377ffee3-dc1e-4516-bc46-2c5d516568e2",
      "name": "Read the message",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -60,
        40
      ]
    },
    {
      "parameters": {
        "content": "## Transcribe and reply\nRuns Video to Text on Apify and sends the summary, hook and transcript back to the chat.",
        "height": 340,
        "width": 700,
        "color": 7
      },
      "id": "6f6511ce-ecef-49f0-951d-bbebce02c0d4",
      "name": "Transcribe and reply",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        620,
        40
      ]
    },
    {
      "parameters": {
        "content": "### ⚠️ Apify token\nCreate a **Header Auth** credential in this node: name `Authorization`, value `Bearer YOUR_APIFY_TOKEN`. Never paste the token into the URL or body.",
        "height": 170,
        "width": 300,
        "color": 3
      },
      "id": "02b90e78-55d8-4343-9f8c-44ad13e614b5",
      "name": "Apify token",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        560,
        440
      ]
    },
    {
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "id": "838bd237-f11f-41f6-9f5b-0b6d5b032ee5",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        200
      ],
      "webhookId": "3a50eff7-2795-4b90-8520-552730550bab"
    },
    {
      "parameters": {
        "jsCode": "// Takes the first link in the message; without a link the bot explains how to use it.\nconst message = $input.first().json.message || {};\nconst url = (String(message.text || '').match(/https?:\\/\\/\\S+/) || [])[0];\nreturn [{ json: { chatId: message.chat?.id, url, input: url ? { urls: [url], aiAnalysis: true } : null } }];"
      },
      "id": "7d23c435-244c-4007-ba9c-a4fcb943eef2",
      "name": "Find video link",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        220,
        200
      ]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "loose",
            "version": 2
          },
          "conditions": [
            {
              "id": "b3a78dcf-a355-470c-93f3-485a3e5d21c7",
              "leftValue": "={{ $json.url }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "exists",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "69a77269-6d88-4a61-bd58-b91e501891aa",
      "name": "Has a link?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        440,
        200
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/aemon~video-to-text-for-ai/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "timeout",
              "value": "300"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.input) }}",
        "options": {
          "timeout": 330000
        }
      },
      "id": "acc8dda0-7f28-4c5a-b6b8-f7a1710a5ec8",
      "name": "Transcribe & analyse",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        140
      ]
    },
    {
      "parameters": {
        "jsCode": "// Telegram messages are limited to 4,096 characters, so the transcript is shortened if needed.\nconst chatId = $('Find video link').first().json.chatId;\nconst v = $input.first()?.json || {};\nlet text;\nif (v.status !== 'ok') {\n    text = 'Sorry, I could not transcribe this link: ' + (v.error || 'unknown error');\n} else {\n    const a = v.aiAnalysis || {};\n    const parts = [\n        '📝 ' + (a.summary || ''),\n        a.hook ? '🪝 Hook: ' + a.hook : '',\n        a.keyPoints?.length ? '✅ Key points:\\n' + a.keyPoints.map((p) => '• ' + p).join('\\n') : '',\n        a.callToAction ? '📣 Call to action: ' + a.callToAction : '',\n        '📄 Transcript:\\n' + (v.text || '(no speech)'),\n    ].filter(Boolean);\n    text = parts.join('\\n\\n');\n    if (text.length > 4000) text = text.slice(0, 3990) + '…';\n}\nreturn [{ json: { chatId, text } }];"
      },
      "id": "11db76c8-618e-466e-aaf8-5562e140aa7a",
      "name": "Write reply",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        920,
        140
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.chatId }}",
        "text": "={{ $json.text }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "id": "6c569013-9374-4e60-95b6-5298b7f385ea",
      "name": "Reply",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        1160,
        200
      ],
      "webhookId": "3aa07d7b-2278-4992-ae8d-38a93a1040a1"
    },
    {
      "parameters": {
        "jsCode": "return [{ json: { chatId: $input.first().json.chatId, text: 'Send me a link to a TikTok, Instagram Reel, X post, Facebook or YouTube video and I will reply with the transcript and an AI summary.' } }];"
      },
      "id": "e41449f5-76c5-4a62-84db-ede91b38ccac",
      "name": "How to use",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Find video link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find video link": {
      "main": [
        [
          {
            "node": "Has a link?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has a link?": {
      "main": [
        [
          {
            "node": "Transcribe & analyse",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "How to use",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe & analyse": {
      "main": [
        [
          {
            "node": "Write reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write reply": {
      "main": [
        [
          {
            "node": "Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "How to use": {
      "main": [
        [
          {
            "node": "Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
Enter fullscreen mode Exit fullscreen mode

How to import a workflow

  1. Open the JSON above and copy all of it.
  2. In n8n, create a new workflow and press Ctrl+V (or Cmd+V) on the empty canvas. You can also save it as a .json file and use Import from file.
  3. Open the yellow sticky note in the workflow: it lists the 3 or 4 things to fill in.
  4. Click Test workflow once, then activate it.

A few practical notes

  • Batch size: the synchronous API call waits up to 5 minutes. That's plenty for 30 to 40 short videos or a couple of long podcast episodes per run. For bigger jobs, start the run asynchronously and fetch the dataset when it finishes.
  • Failed links are free: private, removed or silent videos come back as rows with "status": "error" and a readable reason, and they are not charged. The workflows filter them out.
  • Make and Zapier: the same HTTP call works in Make's HTTP module and Zapier's Webhooks action. Two of the workflows are also ready as Make templates with a guided setup: weekly TikTok hooks to Google Sheets and podcast show notes in Gmail.

Wrapping up

Short videos and podcasts hold a lot of useful information, and the hard part was always getting it out as text. With one HTTP node, n8n can now read TikToks, Reels and podcasts like any other data source and send the results wherever you need them.

Which workflow would you add next? I'm thinking about a YouTube-channel-to-Notion version. Tell me in the comments what would save you the most time.

Disclosure: I'm the author of the Video to Text and Podcast to Text Actors used in these workflows, published on Apify under my agency Aemon.

Top comments (0)