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), 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 in LinkedIn and X.
Setup
Requirements
To use this template your will need:
- Google's AI Studio API key. Get one here: https://aistudio.google.com/app/apikey
- Telegram Bot API key. You receive one when you register a new Telegram Bot via @BotFather bot in Telegram.
- LinkedIn API key. Follow the instructions here to create one: https://docs.n8n.io/integrations/builtin/credentials/linkedin/
- X API key. Follow the instructions here to create one: https://docs.n8n.io/integrations/builtin/credentials/twitter/
Step-by-step instruction
- Import this template
- Create a new Telegram Bot or get an API key for existing one.
- Configre Telegram nodes with Telegram API key.
- Obtain a Google's AI Studio API key. Set it in "Describe document", "Describe audio" and "Google Gemini Chat Model".
- Create an API key for LinkedIn.
- Create an API key for X.
- Set our LinkedIn key in "Create post in LinkedIn" nodes.
- 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.