AI Agents

Intelligent Chat with Multiple Data Sources Using AI Agents

12 nodes 237 127 Automatic trigger
Download

Workflow Description

Automation that integrates an intelligent agent to converse with multiple data sources including Twitter and Hacker News, leveraging OpenAI models to answer user queries with real-time information.

How it works

  1. 1.Initiate manual chat and receive user question
  2. 2.Retrieve data from external sources such as Hacker News and Twitter
  3. 3.Process the query through the AI agent and search across data sources
  4. 4.Send the results to OpenAI for generating a comprehensive response
  5. 5.Return the answer to the user through the chat interface

Use cases

  • Build a smart assistant that answers questions using latest news and social media posts
  • Create an intelligent search engine combining data from multiple platforms
  • Develop an auto-response system that reads from live data sources

Requirements

  • OpenAI API key
  • Access to Twitter and Hacker News APIs
  • Basic coding knowledge to customize agent behavior

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Manual Chat Trigger Twitter/X Hacker News AI Agent OpenAI Tool

Details

Trigger Automatic trigger
Nodes 12
Apps 6
Views 237
Downloads 127

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

On new manual Chat Message

Manual Chat Trigger

#1

Execute Workflow Trigger

Execute Workflow Trigger

#2

Hacker News

Hacker News

#3

Clean up data

Set

#4

AI Agent

Agent

#5

OpenAI Chat Model

OpenAI

#6

Stringify

Code

#7

Sticky Note

Sticky Note

#8

Sticky Note1

Sticky Note

#9

Sticky Note2

Sticky Note

#10

Sticky Note3

Sticky Note

#11

Custom tool to call the wf below

Tool Workflow

#12