Skip to main content

Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog

Workflow preview

Workflow preview
100%
Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog preview
Open on n8n.io

1. Workflow Overview

How it works An AI powered sales agent on WhatsApp that handles product inquiries using your Supabase knowledge base and n8n catalog. Customers can send text, voice notes, or images to ask about pr...

Best for

  • Lead Nurturing automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.embeddingsopenai, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.vectorstoresupabase, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.documentdefaultdataloader, n8n-nodes-base.switch, n8n-nodes-base.httprequest, n8n-nodes-base.whatsapp

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Shadrack.

Original n8n.io source

1.1 Workflow description

Title
Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog
Workflow name
Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog

How it works

An AI-powered sales agent on WhatsApp that handles product inquiries using your Supabase knowledge base and n8n catalog. Customers can send text, voice notes, or images to ask about products, pricing, and specs. The agent responds with detailed answers, product images, and FAQs, creating a complete self-service sales experience. (I primarily designed this for furniture business, consider tailoring it)

Setup steps

Connect Supabase credentials for your knowledge base and FAQs Configure n8n tables with your product catalog (prices, descriptions, image links) Set up WhatsApp Business API integration Add your product categories and common queries to the AI context Test with sample product questions and image uploads

Customization tips

Structure your catalog tables with clear columns (SKU, price, description, image_url) Add industry-specific terminology to the AI prompt Create templated responses for common FAQs to ensure consistency Enable voice-to-text transcription for better voice note handling Add product recommendation logic based on customer queries Set up image recognition for customers sending product photos to identify items

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Embeddings OpenAI1

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 2 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Knowledgebase

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreSupabase - vectorStoreSupabase
Config choices
Version 1.3

Block 4 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 5 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 6 - Supabase Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreSupabase - vectorStoreSupabase
Config choices
Version 1.3

Block 7 - Route Types

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 8 - Download Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Download Voicemail

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Gets WhatsApp Image Source URL

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 11 - Gets WhatsApp Voicemail Source URL

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 12 - Map text prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Map image prompt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - OpenAI1

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 15 - OpenAI

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 16 - WhatsApp Trigger

Type / Role
n8n-nodes-base.whatsAppTrigger - whatsAppTrigger
Config choices
Version 1

Block 17 - Web Search

Type / Role
@n8n/n8n-nodes-langchain.toolSerpApi - toolSerpApi
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - search_products_inventory

Type / Role
n8n-nodes-base.dataTableTool - dataTableTool
Config choices
Version 1.1

Block 20 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 21 - Send message1

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1.1

Block 22 - On form submission1

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.4

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog
Complexity advanced
Nodes 32
Categories Lead Nurturing, AI Chatbot
Author Shadrack
Published 04 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13220/13220.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Handle WhatsApp sales queries with GPT-4, Supabase, and a product catalog do?

How it works An AI powered sales agent on WhatsApp that handles product inquiries using your Supabase knowledge base and n8n catalog. Customers can send text, voice notes, or images to ask about pr...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, AI Chatbot use case.