Create LinkedIn posts and Twitter threads from Telegram with Groq AI
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on Telegram events (message). Along the way it connects LinkedIn and Telegram. It also calls api.groq.com over HTTP.
How it runs
Trigger: On Telegram events (message).
- Check for /start (If): checks a condition and branches into true / false
- Send Welcome Message (Telegram): uses Telegram
- Is Audio or Text? (Switch): routes items into 2 branches
- Download Voice File (Telegram): work with file
- LLM Post Writer (Groq Llama) (HTTP Request): calls api.groq.com (POST)
- Code: runs custom JavaScript code
- Parse LLM Response (Code): runs custom JavaScript code
- Transcribe Audio (Groq Whisper) (HTTP Request): calls api.groq.com (POST)
- Post to LinkedIn (LinkedIn): uses LinkedIn
- Send Ready Posts to Telegram (Telegram): uses Telegram
Services it uses
HTTP calls to: api.groq.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - LinkedIn
n8n-nodes-base.linkedIn - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch
From the author
Quick overview This workflow turns Telegram text or voice notes into a ready-to-publish LinkedIn post (and copyable Twitter thread text) using Groq (Whisper + Llama), publishes the LinkedIn post via LinkedIn, and sends the formatted results back to the user…