Library / AI Agents & Assistants
AI Agents & Assistants
Stock Sentiment Analysis Agent with Gemini and Web Search
When a chat message arrives, a Gemini research agent searches the web and a sentiment agent scores the stock's sentiment.
What it does
## Set up steps 1. Select the Language Model (LLM): This workflow is pre-configured with Google Gemini. You can select a different model for the agents as needed. 2. Configure LLM Credentials: Ensure that valid credentials for your chosen LLM are correctly set up within your n8n instance. 3. Set Up the SearXNG Connection: Configure the node to connect to your self-hosted SearXNG instance. This enables the agent's web search capabilities. 4. Define the Research Agent's Task: Customize the system prompt for the "Research Agent" to define its role, instructions, and how it should conduct its research. 5. Define the Sentiment Analysis Agent's Task: Adjust the system prompt for the "Sentiment Analysis Agent" to specify how it should analyze the information provided by the Research Agent. 6. Test the Workflow: Use the built-in chat interface in the n8n canvas to send a message and verify that the agents are functioning correctly.
The steps
- When chat message received
- get_current_date
- web_search
- Research Agent
- Sentiment Analysis Agent
- Gemini 2.5 Flash
Similar automations
AI Agents & AssistantsAnalyze Stock Charts with Gemini and SerpAPI7 stepsFinance, Invoices & AccountingScore Stock News Sentiment with Gemini into Google Sheets12 stepsWeb Scraping & ResearchAnalyze Brand Content Sentiment with Bright Data and Gemini61 stepsReports, Analytics & DashboardsGenerate Stock Technical Analysis Reports with GPT-4o33 steps