Block 1 - Loop Over Items
- Type / Role
- n8n-nodes-base.splitInBatches - splitInBatches
- Config choices
- Version 3
AI Powered Daily Investment Idea Generator via Yahoo Finance & Gemini This workflow serves as your personal quantitative analyst. It automatically fetches your active watchlist, grabs real time pri...
n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.stickynote, n8n-nodes-base.datatable, n8n-nodes-base.code, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.
Original n8n.io sourceThis workflow serves as your personal quantitative analyst. It automatically fetches your active watchlist, grabs real-time prices and breaking news from Yahoo Finance and uses Google Gemini AI to analyze the data and highlight the top 2 to 3 daily investment opportunities.
Quick Implementation Steps:
Google Gemini Chat Model node.This automated system takes the manual labor out of daily market research. Every morning, a Schedule Trigger wakes the workflow up and immediately connects to your internal n8n Data Table to pull a list of financial assets (like crypto or stocks) that you actively want to monitor.
Once the watchlist is loaded, the workflow loops through each ticker individually. It sends direct requests to public Yahoo Finance endpoints to gather the most recent trading prices, market charts and top news headlines. A packaging node neatly formats this raw data so that nothing gets lost or overwritten as the loop continues through your entire list.
After all tickers are processed, the workflow bundles the packaged data into a comprehensive market report. This report is handed off to a Google Gemini AI Agent equipped with a strict financial analyst prompt. The AI evaluates the news sentiment and catalysts, identifies the most compelling investment setups and formats them into a clean JSON structure. Finally, a code node processes the AI's output and logs the finalized ideas directly into your database for easy reading.
This workflow is perfect for day traders, crypto enthusiasts, financial analysts and data-driven investors. If you spend hours every morning reading news headlines and checking stock prices to find the best trading setups, this automation acts as an invaluable, time-saving assistant.
To successfully run this workflow, you will need:
Setting up this workflow involves understanding the data flow and configuring your environment to prevent execution errors.
1. Data Table Schemas
For smooth data retrieval and storage, your n8n Data Tables must be structured correctly:
Status column (used to filter for "Active" items) and a Ticker column (e.g., BTC-USD, AAPL).Ticker, Idea_Title, Catalyst_Summary and Conviction_Level.2. Yahoo Finance API Considerations
The workflow utilizes public, undocumented Yahoo Finance endpoints (query1.finance.yahoo.com and query2.finance.yahoo.com). While these do not require an explicit API key, they are subject to strict rate limits. Making hundreds of rapid, back-to-back requests can result in a temporary IP ban (HTTP 429 errors). Keep your active watchlist size manageable (under 50 items) or introduce a brief Wait node inside the loop if you are processing massive lists.
3. Execution Flow
Price Data, News Data).Double-click the Schedule Trigger to adjust the run time or switch to a completely different trigger (like a Webhook or manual trigger).
Open the AI Agent node and tweak the System Message. You can ask the AI to act more aggressively, focus entirely on negative sentiment or output additional JSON keys like Risk_Level.
If you prefer OpenAI or Anthropic, simply delete the Google Gemini Chat Model node and connect your preferred language model to the AI Agent.
Open the Packager node to extract different data points from the Yahoo Finance payload, such as trading volume or publisher names.
To make this automation even more powerful, you can also consider these extensions:
Use this workflow as a foundational data feeder. Pass the refined output table into a larger, multi-agent intelligence engine that cross-references these daily ideas with macroeconomic indicators.
Add nodes at the end of the workflow to automatically format the AI's top picks into a message, sending it directly to a Slack channel and logging it permanently into a structured Notion database.
Connect the final output to a broker's webhook (like Alpaca or Binance) to automatically execute micro-trades based on the AI's high-conviction ideas.
This workflow framework can be adapted for several valuable scenarios. There can be many more such use cases of this workflow depending on your creative requirements:
Feed the system top coin tickers (BTC, ETH, SOL) to get a daily breakdown of the crypto landscape before you start trading.
Update the watchlist to track companies releasing earnings reports on a specific week, allowing the AI to summarize the sentiment immediately following the news.
Track assets like Gold, Silver and Oil to capture macroeconomic shifts and global catalysts.
Feed your current holdings into the watchlist. Ask the AI to flag only the negative news, acting as an early warning system for your investments.
Monitor major currency pairs and global financial news to predict daily currency fluctuations.
| Issue | Possible Cause | Solution |
|---|---|---|
| HTTP 429 Too Many Requests | Yahoo Finance is rate-limiting your IP address due to rapid polling. | Add a "Wait" node inside the loop (e.g., 2 seconds) to slow down the requests or reduce your total active watchlist size. |
| JSON Parsing Error in Code Node | The AI included conversational text or formatting that broke the JSON.parse() command. |
Review the prompt in the AI Agent to ensure it enforces strict JSON formatting. Consider lowering the AI temperature setting. |
| Empty Output Table | The Data Table ID is incorrect or the column names do not perfectly match the schema. | Verify your Data Table ID in the final node and ensure your table columns exactly read: Ticker, Idea_Title, Catalyst_Summary and Conviction_Level. |
| Missing Yahoo Data | The Ticker symbol provided from the watchlist is not recognized by Yahoo Finance. | Ensure symbols match Yahoo's exact format (e.g., use BTC-USD instead of just BTC). |
Building robust financial workflows and fine-tuning AI agents can sometimes get complicated, especially when integrating multiple APIs or dealing with complex data schemas.
So if you need assistance configuring your data tables, customizing the AI prompts or building advanced add-ons to integrate this into your broader systems, please feel free to reach out to our n8n workflow development experts at WeblineIndia.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Generate daily investment ideas with Yahoo Finance and Google Gemini |
|---|---|
| Complexity | advanced |
| Nodes | 17 |
| Categories | Crypto Trading, AI Summarization |
| Author | WeblineIndia |
| Published | 15 Apr 2026 |
Use the JSON export at /data/workflows/15066/15066.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
AI Powered Daily Investment Idea Generator via Yahoo Finance & Gemini This workflow serves as your personal quantitative analyst. It automatically fetches your active watchlist, grabs real time pri...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.