See llms.txt for all machine-readable content.
This n8n workflow operates as a two-agent system where each agent has a specialized task. The process flows from initial user input to a final analysis, with a seamless handoff between the agents.
The Chat Trigger
The entire process begins when you send a message using n8n's chat interface. This message serves as the initial prompt or query for the system.
The Research Agent Takes Over
The user's message is first sent to the Research Agent. This agent's job is to understand the query and gather relevant information. To do this, it has access to:
The Research Agent uses these tools to find the most relevant information related to your query and then compiles it into a concise summary.
Handoff to the Sentiment Analysis Agent
Once the Research Agent has completed its task, it passes its findings directly to the Sentiment Analysis Agent.
The Final Analysis
The Sentiment Analysis Agent receives the text from the Research Agent. Its sole purpose, as defined by its system prompt, is to analyze the sentiment of the provided information. It determines if the content is positive, negative, or neutral and formulates a final response.
This final analysis is then sent back to you in the chat, completing the workflow.