Smart stock trading recommendations with GPT-4, TwelveData & NewsAPI analysis
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs when a chat message arrives. Along the way it connects OpenAI, OpenAI Chat Model, Perplexity and HTTP Request. It also calls api.twelvedata.com, newsapi.org and api.chart-img.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- Convert to Stock Symbol (OpenAI): uses OpenAI
- 4h trend (HTTP Request): calls api.twelvedata.com
- 1day trend (HTTP Request): calls api.twelvedata.com
- 1week trend (HTTP Request): calls api.twelvedata.com
- Get News (HTTP Request): calls newsapi.org
- Merge: merges the data from its input branches
- News Sentiment Analyzer (OpenAI): uses OpenAI
- Aggregate: combines items into one
- Merge: merges the data from its input branches
- Check Twelvedata API Success (Switch): routes items into 2 branches
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.twelvedata.com, newsapi.org, api.chart-img.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 (13)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Aggregate
n8n-nodes-base.aggregate - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Perplexity Tool
n8n-nodes-base.perplexityTool - Switch
n8n-nodes-base.switch - Http Request Tool
n8n-nodes-base.httpRequestTool - Chat
@n8n/n8n-nodes-langchain.chat
From the author
Smart Stock Trading Recommendations with GPT-4, TwelveData & NewsAPI What It Does This template automates stock analysis by combining technical analysis, news sentiment, and real-time market data to generate actionable trading recommendations with confidence…