Publish LinkedIn & X Posts with Telegram Bot, Gemini AI & Vector Memory
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. # Overview This is a Telegram Bot capable of receiving information from the user in the form of text messages, voice messages, images, or documents (e.g., presentations, PDFs, HTML pages), and publishing posts to the user's social platforms. The bot always sends the user a draft of the post for verification before publishing it. The bot saves relevant information to its long-term memory (vector store), so you don't need to repeat it in every interaction (e.g., who you are, your company, product, etc.). This template supports creating posts on LinkedIn and X. # Setup ## Requirements To use this template you will need: 1. Google's AI Studio API key. Get one here: https://aistudio.google.com/app/apikey 2. Telegram Bot API key. You receive one when you register a new Telegram Bot via @BotFather bot in Telegram. 3. LinkedIn API key. Follow the instructions here to create one: https://docs.n8n.io/integrations/builtin/credentials/linkedin/ 4. X API key. Follow the instructions here to create one: https://docs.n8n.io/integrations/builtin/credentials/twitter/ ## Step-by-step instruction 1. Import this template. 2. Create a new Telegram Bot or get an API key for an existing one. 3. Configure Telegram nodes with Telegram API key. 4. Obtain a Google's AI Studio API key. Set it in Describe document, Describe audio, and Google Gemini Chat Model. 5. Create an API key for LinkedIn. 6. Create an API key for X. 7. Set your LinkedIn key in Create post in LinkedIn nodes. 8. Set your X key in Create X (Twitter) post node. ## Other Bright-colored notes in the template highlight information that needs to be set before launching the template.
- Platform
- n8n
- Category
- Social Media
- Price
- $24.99
- Creator
- Gregory
- if
- set
- code
- switch
- splitOut
- telegram
- stickyNote
- httpRequest
- twitterTool
- linkedInTool
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Social Media workflows
- Generate & Auto-Post AI Videos to Social Media with Veo3 and Blotato$14.99
- Automate AI-Driven Social Media Content Creation and Publishing$24.99
- Automate Viral TikTok Cloning and Multi-Platform Posting with AI$19.99
- Automate LinkedIn Content Creation and Publishing via Email with AI$24.99
- Automate Social Media Posts Using Google Trends and AI$14.99
- Automate Video Captioning and Posting to Instagram and TikTok$14.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.