AI Agents

AI-Powered Customer Support Assistant on WhatsApp

12 nodes 324 137 Automatic trigger
Download

Workflow Description

An automation that deploys an intelligent assistant responding to customer inquiries on WhatsApp instantly using advanced language models, while storing conversation history in a database for future reference and analysis.

How it works

  1. 1.Receive incoming customer messages from WhatsApp automatically
  2. 2.Process inquiries through an AI agent powered by OpenAI
  3. 3.Store conversation data in Postgres for record-keeping and insights
  4. 4.Send generated responses back to customers via WhatsApp instantly
  5. 5.Route inquiries based on type and context for appropriate handling

Use cases

  • Answer product questions and pricing inquiries without human intervention
  • Handle routine support requests and document issues automatically
  • Provide round-the-clock customer service at reduced operational costs

Requirements

  • WhatsApp Business account with verified phone number
  • OpenAI API key with appropriate permissions
  • Postgres database for storing conversation records

Service Value

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

Apps Used

AI Agent HTTP Request OpenAI WhatsApp Postgres

Details

Trigger Automatic trigger
Nodes 12
Apps 5
Views 324
Downloads 137

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)

/

AI Agent

Agent

#1

list_links

HTTP Request

#2

OpenAI Chat Model

OpenAI

#3

WhatsApp Trigger

Whats App Trigger

#4

cleanAnswer

Code

#5

get_page

HTTP Request

#6

24-hour window check

Code

#7

If

If

#8

Send Pre-approved Template Message to Reopen the Conversation

Whats App

#9

Send AI Agent's Answer

Whats App

#10

Postgres Users Memory

Memory Postgres Chat

#11

Sticky Note

Sticky Note

#12