AI Agents

AI chat with any data source (using n8n workflow tool)

12 nodes 235 127 Automatic trigger
Download

Workflow Description

An automation template that builds an AI agent capable of conversational interaction with multiple data sources. It combines manual chat triggers with external APIs (Twitter, Hacker News) and OpenAI models to deliver accurate, personalized responses from diverse information sources.

How it works

  1. 1.Activate the manual chat trigger to initiate user interaction
  2. 2.Retrieve data from external sources including Twitter, Hacker News, and custom tools
  3. 3.Process queries through the AI agent connected to OpenAI's language models
  4. 4.Return retrieved information as natural conversational responses

Use cases

  • Build an intelligent search engine that aggregates information from social networks and news platforms
  • Create a virtual assistant that answers customer questions using multiple database sources
  • Develop a personalized recommendation system that analyzes external data and suggests tailored solutions

Requirements

  • Valid OpenAI API key for accessing language models
  • Active connections to Twitter, Hacker News, or alternative data source APIs

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 235
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