n8n

How to Automate Google Drive Social Video Posts?

Save time on short video publishing. Drop a video into a Google Drive folder and the system creates a caption from the audio and posts the video to TikTok and Instagram. Ideal for creators, agencies, and marketing teams that post often and want steady quality.

Here is how it runs. A Google Drive event watches a specific folder every minute. When a new video arrives, the file is downloaded and stored for processing. The audio is transcribed with OpenAI, then a clear social caption is generated using a custom prompt. The video is read into two branches and sent to TikTok and Instagram through the upload post API. If something fails, an error path sends a Telegram alert so you know right away. This flow uses actual audio from the video, so captions match the content.

Set up needs Google Drive access, an OpenAI API key, an upload post API token, and a Telegram bot token. Expect posting time to drop from half an hour to a few minutes per video. This helps teams batch content, keep messaging consistent, and move faster on trends. It works well for daily posting, user generated content, and multi brand schedules.

What are the key features?

  • Google Drive event watches a specific folder and detects new videos every minute.
  • Video file is downloaded and saved with a clean filename for stable processing.
  • Audio transcription uses OpenAI to turn speech into text for accurate context.
  • Caption generation uses a prompt in OpenAI to create platform ready descriptions.
  • Two upload paths send the same video and generated caption to TikTok and Instagram through upload post.
  • Error handling path listens for failures and sends a Telegram message to a chosen chat.
  • Simple branching keeps Instagram and TikTok uploads separate for easy testing and fixes.

What are the benefits?

  • Reduce manual posting work from 30 minutes to about 3 minutes per video
  • Automate up to 80 percent of repetitive upload and caption tasks
  • Improve caption relevance by using real audio from the video
  • Handle higher volume by queuing multiple videos in the watched folder
  • Connect Google Drive, OpenAI, Telegram, and upload post in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive, Telegram, OpenAI and upload-post.com. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, open the Google Drive Trigger and Google Drive nodes. For each, choose Create new credential, select Google Drive OAuth2, and follow the on screen steps to sign in with the Google account that owns the target folder.
  4. Open the Google Drive Trigger node and set the folder to watch. Use the folder ID of your upload folder. Set event to file created and keep the every minute polling time.
  5. Double click the OpenAI nodes. In the credential dropdown, click Create new credential, choose OpenAI API key, and paste your key from the OpenAI account API page. Save the credential.
  6. Open the caption generation node and edit the prompt text to match your brand tone, hashtags, and call to action. Keep messages short and clear for TikTok and Instagram.
  7. Open each HTTP Request node for TikTok and Instagram. In Authentication, choose Create new credential, pick HTTP Header Auth, and add Authorization with value Apikey your token from the upload post account settings.
  8. Check the body settings in both HTTP Request nodes. Confirm the video file field points to the datavideo binary property and the title field uses the text from the caption node.
  9. For Telegram alerts, open the Telegram node. Create a new Telegram credential and paste your bot token from BotFather. Set the chat ID to your group or user chat ID.
  10. Run a test by adding a short video to the Google Drive folder. Wait one to two minutes. In n8n, check the execution log to confirm transcription, caption, and both uploads succeed.
  11. If uploads fail, read the execution error and verify the upload post API key, file size limits, and accepted video formats. Also confirm the filename has no spaces or special characters.
  12. After testing, enable the workflow in n8n so it runs in the background and continues to process new videos dropped into the folder.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

upload-post.com

Sign up

Free tier: €0 / mo, 10 uploads / mo (Basic API access)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.