Transforming emails into podcasts
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Telegram. It also calls tiktok-tts.weilnet.workers.dev over HTTP.
How it runs
Trigger: On Gmail events.
- Get message content (Gmail): get
- Delete the unnecessary items (Code): runs custom JavaScript code
- Summarization Chain: summarizes text with AI, with model: OpenAI Chat Model
- Merge: merges the data from its input branches
- Text to TTS (HTTP Request): calls tiktok-tts.weilnet.workers.dev (POST)
- Aggregate: combines items into one
- Convert from base64 to File (Convert to File): converts data to a file (to binary)
- Send Message to Telegram (Telegram): send audio
Services it uses
HTTP calls to: tiktok-tts.weilnet.workers.dev
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail trigger).
Nodes used (10)
- Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - Gmail Trigger
n8n-nodes-base.gmailTrigger - Convert to File
n8n-nodes-base.convertToFile - Merge
n8n-nodes-base.merge - Telegram
n8n-nodes-base.telegram - Summarization Chain
@n8n/n8n-nodes-langchain.chainSummarization - HTTP Request
n8n-nodes-base.httpRequest
From the author
Transforming Emails into Podcasts 🎙️ - Check out this channel for example. The n8n workflow described here aims to revolutionize the way users engage with promotional emails by converting them into entertaining audio podcasts. This innovative project…