IG 自動字幕エージェントワークフロー

中級

これはContent Creation, Multimodal AI分野の自動化ワークフローで、14個のノードを含みます。主にIf, Wait, GoogleDrive, HttpRequest, GoogleDriveTriggerなどのノードを使用。 Google DriveとSubmagicを使ってInstagram/TikTok動画に自動字幕を追加

前提条件
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "ceqHmtH7kMQI1jwl",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "IG Auto Caption Agent Workflow",
  "tags": [],
  "nodes": [
    {
      "id": "39220e6f-5631-4bb4-90df-24784ef3a3e3",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -16,
        0
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "<<<GOOGLE_DRIVE_FOLDER_ID>>>",
          "cachedResultUrl": "<<<REDACTED_URL>>>",
          "cachedResultName": "<<<GOOGLE_DRIVE_FOLDER_NAME>>>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2579313d-5b23-4023-b762-395de0f41c79",
      "name": "待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        496,
        0
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "7e338ce1-56b8-4e00-9e2c-2014ebf072a3",
      "name": "Submagicへの投稿",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        272,
        0
      ],
      "parameters": {
        "url": "https://api.submagic.co/v1/projects",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "title",
              "value": "My First Video"
            },
            {
              "name": "language",
              "value": "en"
            },
            {
              "name": "videoUrl",
              "value": "={{ $json.webViewLink }}"
            },
            {
              "name": "templateName",
              "value": "Hormozi 2"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "1feab281-5f2a-4239-aa55-ae010b600dc3",
      "name": "Submagicから字幕付き動画を取得",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        656,
        0
      ],
      "parameters": {
        "url": "=https://api.submagic.co/v1/projects/{{ $json.id }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "baa828d3-a48f-4b61-b86c-a1ea197f0f61",
      "name": "字幕付き動画をダウンロード",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1088,
        -16
      ],
      "parameters": {
        "url": "={{ $json.downloadUrl }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "8e4eaf50-5a27-4dee-a02b-90150ea86246",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -320
      ],
      "parameters": {
        "width": 640,
        "height": 832,
        "content": "🎥 Auto-Caption Videos for Instagram with Google Drive + Submagic\n\nDescription\nSave hours on video editing with this workflow! Whenever you upload a video to a specific Google Drive folder, it’s automatically sent to Submagic to generate engaging captions (using your chosen template). Once the captioned video is ready, it’s pulled back, downloaded, and uploaded into your Google Drive—fully captioned and Instagram-ready.\n\nWatch build along videos for workflows like these on: www.youtube.com/@automatewithmarc\n\nHow It Works\n\nGoogle Drive Trigger – Listens for new video uploads in your chosen folder.\n\nPost to Submagic – Sends the video URL to Submagic’s API with your caption style (e.g. Hormozi).\n\nWait Loop + Status Check – Polls Submagic until the captioning job is complete.\n\nDownload Captioned Video – Retrieves the finished captioned video file.\n\nUpload to Google Drive – Saves the captioned version back into Drive, ready for Instagram posting.\n\nWhy You’ll Love It\n\n🎯 Zero manual steps — captioning happens automatically.\n\n⚡ Faster IG content pipeline — ready-to-post reels in minutes.\n\n🎨 Consistent style — apply your favorite Submagic caption templates every time.\n\n☁️ Cloud-first — works entirely with Google Drive + Submagic, no local processing needed.\n\nRequirements\n\nGoogle Drive account (with OAuth credentials)\n\nSubmagic API key\n\nn8n (Cloud or self-hosted)"
      },
      "typeVersion": 1
    },
    {
      "id": "6ad62e6e-1a14-4ef2-ba97-d16d257625f8",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -144
      ],
      "parameters": {
        "color": 4,
        "width": 272,
        "height": 576,
        "content": "Google Drive Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "7253b25d-7085-4700-88bd-022f883af265",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        -144
      ],
      "parameters": {
        "color": 3,
        "width": 272,
        "height": 576,
        "content": "Post to Submagic for Caption"
      },
      "typeVersion": 1
    },
    {
      "id": "fe22f0ad-b2aa-4e7d-8bc3-82ced985b159",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -144
      ],
      "parameters": {
        "color": 5,
        "width": 528,
        "height": 576,
        "content": "Wait Loop & Get Captioned Video"
      },
      "typeVersion": 1
    },
    {
      "id": "07bf2250-ae19-42fe-b1c7-fb05d868bae2",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        -144
      ],
      "parameters": {
        "color": 6,
        "height": 576,
        "content": "Download Captioned Video"
      },
      "typeVersion": 1
    },
    {
      "id": "98d77f85-31c3-4690-8667-cdcea179a5b8",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        -144
      ],
      "parameters": {
        "color": 7,
        "height": 576,
        "content": "Upload Captioned Video to Drive"
      },
      "typeVersion": 1
    },
    {
      "id": "a2debc5f-46eb-4c02-8575-5b34453a8265",
      "name": "条件分岐",
      "type": "n8n-nodes-base.if",
      "position": [
        832,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "f7ec8156-39d4-4e6e-9455-5c6dd6702c8f",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "completed"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "b4cc46da-588d-4019-9c9f-e8204443ca89",
      "name": "待機1",
      "type": "n8n-nodes-base.wait",
      "position": [
        768,
        192
      ],
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "2163581f-e8ef-4ccb-8f5a-7c9f747ff446",
      "name": "ファイルをアップロード",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1344,
        -16
      ],
      "parameters": {
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "<<<GOOGLE_DRIVE_NAME>>>"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "<<<GOOGLE_DRIVE_FOLDER_ID>>>",
          "cachedResultName": "<<<GOOGLE_DRIVE_FOLDER_NAME>>>"
        }
      },
      "typeVersion": 3
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "a2debc5f-46eb-4c02-8575-5b34453a8265": {
      "main": [
        [
          {
            "node": "baa828d3-a48f-4b61-b86c-a1ea197f0f61",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "b4cc46da-588d-4019-9c9f-e8204443ca89",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2579313d-5b23-4023-b762-395de0f41c79": {
      "main": [
        [
          {
            "node": "1feab281-5f2a-4239-aa55-ae010b600dc3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b4cc46da-588d-4019-9c9f-e8204443ca89": {
      "main": [
        [
          {
            "node": "1feab281-5f2a-4239-aa55-ae010b600dc3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2163581f-e8ef-4ccb-8f5a-7c9f747ff446": {
      "main": [
        []
      ]
    },
    "7e338ce1-56b8-4e00-9e2c-2014ebf072a3": {
      "main": [
        [
          {
            "node": "2579313d-5b23-4023-b762-395de0f41c79",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39220e6f-5631-4bb4-90df-24784ef3a3e3": {
      "main": [
        [
          {
            "node": "7e338ce1-56b8-4e00-9e2c-2014ebf072a3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "baa828d3-a48f-4b61-b86c-a1ea197f0f61": {
      "main": [
        [
          {
            "node": "2163581f-e8ef-4ccb-8f5a-7c9f747ff446",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1feab281-5f2a-4239-aa55-ae010b600dc3": {
      "main": [
        [
          {
            "node": "a2debc5f-46eb-4c02-8575-5b34453a8265",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - コンテンツ作成, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数14
カテゴリー2
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34