Nostr feed topic synthesis with Google Gemini to Gmail and Telegram
This n8n workflow runs on a schedule to pull tagged posts from the Nostr network through its dedicated feed reader node. Posts are aggregated and analysed by three Google Gemini chains that compile key themes and thread digests. Markdown output converts cleanly to HTML and distributes across Gmail and Telegram.
- Catalogue ID
- #0001
- Functional nodes
- 17
- Connections
- 17
- Trigger
- manualTrigger, scheduleTrigger
- AI layer
- AI-assisted
Business problem solved
Tracking active product or community tags across decentralised Nostr relays by hand leaves analysts sifting through noisy threads. Without scheduled digests across email and Telegram, important topic shifts go unnoticed by product teams.
Trigger
A schedule trigger runs periodic Nostr tag scans alongside a manual test trigger.
Connected systems
- Nostr community feed reader
- Google Gemini
- Markdown to HTML converter
- Gmail
- Telegram
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. When clicking Test workflow (Trigger) (connects to Nostr Read #damus)
- 2. Get HTML (Service and data) (connects to Gmail Themes)
- 3. Gmail Themes (Service and data)
- 4. Get HTML Report (Service and data) (connects to Gmail Report)
- 5. #damus Themes List (AI layer) (connects to Merge Themes and Content)
- 6. #damus Thread Themes (AI layer) (connects to Get HTML, #damus Themes List, Telegram Themes)
- 7. #damus Themes & Threads… (AI layer) (connects to Get HTML Report, Telegram Themes & Threads)
- 8. gemini-2.0-flash-lite-previ… (AI layer) (connects to #damus Thread Themes)
- 9. gemini-2.0-flash-lite-previ… (AI layer) (connects to #damus Themes List)
- 10. gemini-2.0-flash-lite-previ… (AI layer) (connects to #damus Themes & Threads…)
- 11. Gmail Report (Service and data)
- 12. Aggregate #damus Content (Logic and routing) (connects to #damus Thread Themes, Merge Themes and Content)
- 13. Merge Themes and Content (Logic and routing) (connects to #damus Themes & Threads…)
- 14. Schedule Trigger (Trigger) (connects to Nostr Read #damus)
- 15. Telegram Themes (Service and data)
- 16. Telegram Themes & Threads (Service and data)
- 17. Nostr Read #damus (Service and data) (connects to Aggregate #damus Content)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Nostr tag feed intake
The Nostr reader node collects recent posts and thread replies matching your configured community tag.
- 02
Gemini theme and thread synthesis
Collected posts are aggregated and passed through Google Gemini chains to extract headline themes and full thread summaries.
- 03
HTML formatting and dual delivery
Markdown summaries convert into clean HTML before sending theme highlights and full reports to Gmail and Telegram.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 17 functional nodes and 17 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds relay timeout retries, empty-feed guards so blank days stay silent and safe message chunking for long Telegram digests.
Nostr AI topic reporting to Gmail and Telegram Frequently asked questions
Yes. The tag parameter in the Nostr reader node can point to any topic or read dynamically from a configuration list.
Production deployments include a length-splitting guard so detailed digests stay within Telegram message limits without truncation.
No. Theme summaries and full thread digests sit on separate delivery branches that can be enabled or disabled independently.
Related n8n workflows
Google Analytics weekly report workflow
Pulls seven-day and prior-year Google Analytics metrics on a weekly schedule, summarises comparisons with OpenAI and calculator tools and sends email and Telegram reports.
Keyword community topic tracker workflow
Polls community forum topics by keyword on a schedule, upserts rows in Google Sheets and sends Slack and email alerts on updates.
Gmail newsletter summary to Telegram audio
Summarises filtered Gmail messages with OpenAI, converts text to speech via an error-protected HTTP call and sends Telegram audio.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms