Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Create Veo 3.1 short-form videos from Telegram with Gemini and PostWire
When something happens in a connected app, it answers chat messages with a bot with Google Gemini using Google Sheets, Telegram.
What it does
## Post Veo 3.1 videos from a Telegram message Send an idea to your Telegram bot and get a finished AI video on TikTok, Instagram Reels and YouTube Shorts. Gemini plans it, Veo 3.1 renders it, PostWire posts it with a caption per network. ### How it works 1. New idea in Telegram takes any text message sent to your bot (commands are skipped) and the bot replies that the render started. 2. Plan the video with Gemini returns the Veo prompt, a caption for each network and the YouTube title. 3. Generate the clip with Veo 3.1 renders 8 seconds in 9:16 and the file goes straight to a PostWire upload slot. 4. Send the clip to the chat shows you the video and Publish with PostWire posts it with each network's text and the AI-generated label on TikTok and YouTube. A retry never posts twice. 5. Every video is logged in Google Sheets, and the bot replies with the links or the exact fix for each network that refused. ### Setup 1. Create a free account at postwire.io, connect your networks and copy your API key. In n8n add a Header Auth credential (name Authorization, value Bearer pw_live_…) and select it in the three PostWire nodes. 2. Create a bot with @BotFather and select its Telegram credential in the five Telegram nodes. In the trigger, restrict the bot to your chat ID so nobody else spends your Veo credits. 3. Add a Google Gemini credential with billing enabled (about one dollar per 8-second Veo 3.1 Fast clip). 4. Create a sheet with the columns date, idea, status, links and note, and pick it in both Sheets nodes. ### Customize Edit the networks in Read the plan or the style in the Gemini system message.
The steps
- New idea in Telegram
- Only text ideas
- Reply that the render started
- Plan the video with Gemini
- Read the plan
- Get an upload slot
- Generate the clip with Veo 3.1
- Upload the clip
- Get the video link
- Send the clip to the chat
- Publish with PostWire
- Every network published?
- Log the video
- Log the failure
16 steps in total.
Similar automations
Image, Video & AudioCreate product videos from new Shopify items with Gemini, Veo and PostWire13 stepsEmail AutomationCreate Veo 3.1 social videos from Google Sheets with Gemini and PostWire15 stepsImage, Video & AudioGenerate Sora 2 videos from Google Sheets ideas and post via PostWire15 stepsImage, Video & AudioCreate UGC product ads from Google Sheets rows with Gemini, Veo and PostWire18 steps