n8n

How to Automate Google Drive Social Content Publishing?

Drop a video in a specific Google Drive folder and let it publish to TikTok, Instagram, and YouTube with a ready description. It suits creators and marketing teams that post often and want less manual work.

A Google Drive trigger checks the folder every minute and downloads new files. The flow saves the video to disk, transcribes the audio with OpenAI, and then writes a short caption using a clear prompt. The same video is attached to three API calls that send the file and caption to the Upload Post service for each platform. Filenames are cleaned to remove spaces so attachments load correctly, and the AI text maps to the title field in each request. If anything fails during the run, a Telegram message alerts your team right away.

You need Google Drive, OpenAI, and an Upload Post API key, with Telegram as an optional alert channel. Expect a large cut in prep time, fewer copy paste steps, and more consistent posts across channels. Adjust the OpenAI prompt to match your tone, hashtags, or call to action, then watch new uploads appear in your Upload Post dashboard after a successful API response. This setup fits agencies, brands, and solo creators who want fast multi channel publishing from one folder.

What are the key features?

  • Watches a chosen Google Drive folder for new video files every minute
  • Downloads the video and saves it with a safe filename without spaces
  • Transcribes the audio track using OpenAI to extract clear text
  • Generates platform ready titles and descriptions with a guided prompt
  • Sends one video to TikTok, Instagram, and YouTube through the Upload Post API
  • Maps AI output to the title field in each API request
  • Uses separate file attachments for each platform to prevent conflicts
  • Sends a Telegram alert when any run fails so you can act fast

What are the benefits?

  • Reduce manual work from hours of uploads to a single file drop
  • Automate up to 90 percent of caption writing using audio transcripts
  • Connect Google Drive, OpenAI, Upload Post, and Telegram in one flow
  • Handle three platforms per video without extra steps
  • Cut posting errors by removing copy paste and manual title edits

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, OpenAI, Telegram and Upload Post. See the Tools Required section above for links to create accounts with these services.
  3. Open the Google Drive Trigger node and the Google Drive download node. In each, choose or create a Google Drive OAuth2 credential. If unsure, double click the node, open the Credential to connect with menu, click Create new credential, and follow the on screen steps.
  4. In the Google Drive Trigger, set the folder to watch and confirm the event is file created. Leave polling at every minute for quick picks.
  5. Open the Get Audio from Video and the Generate Description nodes. Create an OpenAI API Key credential. On the OpenAI site, create an API key, then paste it in n8n. Keep the model as gpt 4o or choose a model available to your account. Adjust the prompt to match your brand voice.
  6. Open each HTTP Request node for TikTok, Instagram, and YouTube. Create a new HTTP Header Auth credential. On the Upload Post site, generate an API token, then set the Authorization header to Apikey followed by your token.
  7. Verify the body mappings in each HTTP node: title should use the AI message content and the file field should point to the datavideo binary. Confirm the platform parameter matches the target channel.
  8. Check the Write Binary File and Read Binary File nodes. Confirm the saved filename removes spaces and that each read uses the same path. Make sure your n8n host can write and read local files.
  9. Optional alerts: open the Telegram node. Create a Telegram credential with your bot token. Set the chat ID where you want to receive error messages.
  10. Run a full test: place a small MP4 in the selected Google Drive folder. Watch the execution in n8n, confirm the transcription and AI text, and check that each Upload Post call returns success. Verify the posts in your Upload Post dashboard.
  11. Troubleshoot: if uploads fail, recheck the API key and platform value. If the video is not found, confirm file permissions and filename format. For OpenAI rate limits, slow your upload pace. If Telegram does not alert, confirm bot permissions and chat ID.

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

Sign up

Free: $0 / mo, 10 uploads / mo, 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.