8
n8n 中文网amn8n.com

视频转录自动化,集成VLM Run、Google Drive和Docs

中级

这是一个Document Extraction, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 Webhook, GoogleDocs, GoogleDrive, VlmRun, GoogleDriveTrigger 等节点。 视频转录自动化,集成VLM Run、Google Drive和Docs

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)
  • Google Drive API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "0a7ae129a7d703150135f6cc24d0469f20ffd22b5ed59c23ee3e0608264e6d98",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "94b539fa-9877-47a6-a727-e195f27ebf73",
      "name": "🎥 工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        1500
      ],
      "parameters": {
        "color": 7,
        "width": 420,
        "height": 720,
        "content": "## 🎥 使用 VLM Run 的 AI 视频转录"
      },
      "typeVersion": 1
    },
    {
      "id": "1d2add63-d03f-4942-9133-f333292b1997",
      "name": "📄 输出文档",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1700,
        1500
      ],
      "parameters": {
        "color": 7,
        "width": 280,
        "height": 720,
        "content": "## 📄 数据存储"
      },
      "typeVersion": 1
    },
    {
      "id": "5b1c2e5c-18c3-4eb5-be25-e13bff63b5b3",
      "name": "VLM Run 视频转录器",
      "type": "@vlm-run/n8n-nodes-vlmrun.vlmRun",
      "notes": "Processes video files using VLM AI to generate accurate speech transcriptions with timestamps and metadata. Runs asynchronously for reliable processing.",
      "position": [
        1100,
        2040
      ],
      "parameters": {
        "domain": "video.transcription",
        "operation": "video",
        "callbackUrl": "https://playground.vlm.run/webhook/video-transcription-vlm-run",
        "processAsynchronously": true
      },
      "credentials": {
        "vlmRunApi": {
          "id": "8RlnEQwTTJHhbvrE",
          "name": "VLM Run account 4"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cdfb1da6-96be-448a-a9ca-7339699853dd",
      "name": "监控视频上传",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "notes": "Watches designated Google Drive folder for new video files and triggers transcription processing automatically when files are uploaded.",
      "position": [
        680,
        2040
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "url",
          "value": "https://drive.google.com/drive/folders/1"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "zwJCIAH4tAPcgGzI",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "93c7c96d-5b81-49e6-adeb-37d0ec18f062",
      "name": "接收转录结果",
      "type": "n8n-nodes-base.webhook",
      "notes": "Receives the completed video transcription data from VLM AI when asynchronous processing is finished.",
      "position": [
        1460,
        2040
      ],
      "webhookId": "1072bfce-6a7b-4fa8-ba4a-69d159350154",
      "parameters": {
        "path": "video-transcription-vlm-run",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "c27f4400-c459-4bb7-a5ea-ba223ef1c12f",
      "name": "下载视频",
      "type": "n8n-nodes-base.googleDrive",
      "notes": "Downloads the uploaded video file from Google Drive and prepares it for AI-powered speech transcription.",
      "position": [
        860,
        2040
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "zwJCIAH4tAPcgGzI",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "faad711b-8490-429f-81aa-fded34249ed9",
      "name": "保存转录到文档",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1760,
        2040
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "=🎥 Video Transcription Report\n\n🗓️ Date: {{ new Date().toLocaleString('en-US', { dateStyle: 'medium', timeStyle: 'short' }) }}\n⏱️ Total Duration: {{ $json.body.response.metadata.duration }} seconds\n\n{{ $json.body.response.segments.map((segment, index) => `\n🔹 Segment ${index + 1}\n⏰ Time: ${segment.start_time.toFixed(2)}s → ${segment.end_time.toFixed(2)}s\n\n🎤 Audio Transcript:\n\"${segment.audio.content.trim()}\"\n\n📹 Video Description:\n\"${segment.video.content.trim()}\"\n\n${'─'.repeat(50)}` ).join('\\n') }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "https://docs.google.com/document/d/19"
      },
      "credentials": {
        "googleDocsOAuth2Api": {
          "id": "3x0WI9iZ6ToA2fXw",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "0c1f6206-8728-47de-aff5-456aeec93328",
      "name": "📁 输入文档1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        1500
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 720,
        "content": "## 📁 视频输入处理"
      },
      "typeVersion": 1
    },
    {
      "id": "5b8dd7a1-f625-49bb-b133-fddcf9a97530",
      "name": "🤖 AI 处理文档1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1020,
        1500
      ],
      "parameters": {
        "color": 2,
        "width": 320,
        "height": 720,
        "content": "## 🤖 AI 视频转录"
      },
      "typeVersion": 1
    },
    {
      "id": "eb8f4d04-0f6f-4243-80d7-5a483b30ce04",
      "name": "🔗 异步处理文档1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        1500
      ],
      "parameters": {
        "color": 5,
        "width": 320,
        "height": 720,
        "content": "## 🔗 异步处理流程"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Download Video": {
      "main": [
        [
          {
            "node": "VLM Run Video Transcriber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Monitor Video Uploads": {
      "main": [
        [
          {
            "node": "Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Transcription Results": {
      "main": [
        [
          {
            "node": "Save Transcription to Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 文档提取, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量10
分类2
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 查看

分享此工作流