Automated US Stock Portfolio Analysis with Telegram, Perplexity AI & PDF Reports
Go to WorkflowDescription
System Architecture
Two integrated N8N workflows providing automated US stock portfolio management through Telegram:
FLOW 1: Conversational Portfolio Manager
Telegram bot for interactive portfolio management
PDF upload & analysis via LlamaIndex Cloud API
Natural language portfolio updates via GPT-4.1-mini
Real-time user registration and data management
FLOW 2: Automated Weekly Reports
Schedule-triggered weekly analysis (every 7 days)
Perplexity AI sonar-deep-research for market analysis
Professional PDF report generation via PDFco
Automatic Telegram delivery to all registered users
Nodes Used (12)
AI Agent
@n8n/n8n-nodes-langchain.agent
Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing
Code
n8n-nodes-base.code
HTML
n8n-nodes-base.html
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Perplexity
n8n-nodes-base.perplexity
Postgres
n8n-nodes-base.postgres
Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Supabase
n8n-nodes-base.supabase
Telegram
n8n-nodes-base.telegram