Automated Stock Sentiment Analysis with Google Gemini and EODHD News API
    100%
    Automation
    0(0 reviews)
    831 downloads

    Automated Stock Sentiment Analysis with Google Gemini and EODHD News API

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    Stay ahead of the market with this powerful, automated workflow that performs real-time sentiment analysis on stock market news. By leveraging the advanced capabilities of Google Gemini, this solution provides you with actionable insights to make informed investment decisions. This workflow is designed for investors, traders, and financial analysts who want to automate the process of monitoring news and gauging market sentiment for specific stocks. It seamlessly integrates with Google Sheets for input and output, making it easy to track a portfolio of stocks. ### Key Features & Benefits * Automated Daily Analysis: The workflow is triggered daily, providing you with fresh sentiment analysis just in time for the market open. * Dynamic Stock Tracking: Easily manage your list of tracked stocks from a simple Google Sheet. * AI-Powered Insights: Utilizes Google Gemini's sophisticated language model to analyze news content for its potential impact on stock prices, including a sentiment score and a detailed rationale. * Comprehensive News Aggregation: Fetches the latest news articles from EODHD for each of your specified stock tickers. * Error Handling & Validation: Includes built-in checks for invalid stock tickers and formats the AI output for reliable data logging. * Centralized Reporting: Automatically logs the sentiment score, rationale, and date into a Google Sheet for easy tracking and historical analysis. ### How It Works This workflow follows a systematic process to deliver automated sentiment analysis: 1. Scheduled Trigger: The workflow begins each day at a specified time. 2. Fetch Stock Tickers: It reads a list of stock tickers from your designated Google Sheet. 3. Loop and Fetch News: For each ticker, it retrieves the latest news articles using the EODHD API. 4. AI Sentiment Analysis: The collected news articles are then passed to a Google Gemini-powered AI agent. The agent is prompted to act as a stock sentiment analyzer, evaluating the news and generating: * A sentiment score from -1 (strong negative) to 1 (strong positive). * A detailed rationale explaining the basis for the score. 5. Data Formatting & Validation: The AI's output is parsed and validated to ensure it is in the correct JSON format. 6. Log to Google Sheets: The final sentiment score and rationale are appended to your Google Sheet, alongside the corresponding stock ticker and the current date. ### Nodes Used * Schedule Trigger * Google Sheets * SplitInBatches * HttpRequest (EODHD) * If * Code (JavaScript) * AI Agent (LangChain) * Google Gemini Chat Model This workflow is a valuable tool for anyone looking to harness the power of AI for financial market analysis. Deploy this automated solution to save time, gain a competitive edge, and make more data-driven trading decisions.

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 15-30 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    Google Sheets
    Data

    ⚠️ 1 service require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought