AI Agents

Extract and Store Customer Insights in Vector Database

37 nodes 343 181 Automatic trigger
Download

Workflow Description

An automation that ingests customer data from multiple sources (spreadsheets, social media), processes it with AI, and stores insights in Qdrant for semantic search and intelligent pattern discovery across all customer touchpoints.

How it works

  1. 1.Ingest customer data from Google Sheets and social media platforms
  2. 2.Split and preprocess text content for efficient indexing
  3. 3.Generate vector embeddings using OpenAI language models
  4. 4.Extract structured insights using AI-powered information extraction
  5. 5.Store vectors and metadata in Qdrant vector database
  6. 6.Query and retrieve customer insights by semantic similarity

Use cases

  • Analyze customer feedback across channels to identify recurring themes and satisfaction patterns
  • Build searchable knowledge base of customer needs, complaints, and feature requests
  • Monitor social listening data to detect market trends and competitive intelligence

Requirements

  • Active OpenAI API key and account
  • Google Sheets spreadsheet with customer or feedback data
  • Configured Qdrant instance with network access
  • Social media API credentials (Twitter/X) for data ingestion

Service Value

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

Apps Used

Document Default Data Loader Text Splitter OpenAI Google Sheets Twitter/X Vector Store

Details

Trigger Automatic trigger
Nodes 37
Apps 6
Views 343
Downloads 181

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 (37)

/

When clicking ‘Test workflow’

Manual Trigger

#1

Zip Entries

Set

#2

Extract Reviews

HTML Page

#3

Reviews to List

Split Out

#4

Default Data Loader

Document Default Data Loader

#5

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#6

Embeddings OpenAI

OpenAI

#7

Set Variables

Set

#8

Get Payload of Points

HTTP Request

#9

Clusters To List

Split Out

#10

OpenAI Chat Model

OpenAI

#11

Only Clusters With 3+ points

Filter

#12

Set Variables1

Set

#13

Find Reviews

HTTP Request

#14

Prep Output For Export

Set

#15

Export To Sheets

Google Sheets

#16

Clear Existing Reviews

HTTP Request

#17

Trigger Insights

Execute Workflow

#18

Prep Values For Trigger

Set

#19

Execute Workflow Trigger

Execute Workflow Trigger

#20

Sticky Note

Sticky Note

#21

Sticky Note1

Sticky Note

#22

Get TrustPilot Page

HTTP Request

#23

Sticky Note2

Sticky Note

#24

Qdrant Vector Store

Vector Store Qdrant

#25

Sticky Note3

Sticky Note

#26

Sticky Note4

Sticky Note

#27

Sticky Note5

Sticky Note

#28

Sticky Note7

Sticky Note

#29

Sticky Note8

Sticky Note

#30

Sticky Note6

Sticky Note

#31

Sticky Note9

Sticky Note

#32

Apply K-means Clustering Algorithm

Code

#33

Sticky Note10

Sticky Note

#34

Customer Insights Agent

Information Extractor

#35

Sticky Note12

Sticky Note

#36

Sticky Note11

Sticky Note

#37