n8nflow.net logo

Smart Sales Support Chatbot with GPT-4o and Google Sheets

by Babish ShresthaUpdated: Last update 5 months agoSource: n8n.io
Loading workflow viewer...

Getting Started

Who is this tempate for?

This workflow powers a simple yet effective customer and sales support chatbot for your webshop. It's perfect for solopreneurs who want to automate customer interactions without relying on expensive or complex support tools.

How it works?

The chatbot listens to user requests—such as checking product availability—and automatically handles the following

  • Fetches product information from a Google Sheet
  • Answers customer queries
  • Places an order
  • Updates the stock after a successful purchase

Everything runs through a single Google Sheet used for both stock tracking and order management.

Setup Instructions

Before you begin, connect your Google Sheets credentials by following this guide: This will be used to connect all the tools to Google Sheets
👉 Setup Google sheets credentials

  • Get Stock

    • Open "Get Stock" tool node and select the Google sheet credentials you created.
    • Choose the correct google sheet document and sheet name and you are done.
  • Place order

    • Go to your "Place Order" tool node and select the Google sheet credentials you have created.
    • Choose the correct google sheet document and sheet name.
  • Update Stock

    •   * Open your "Update Stock" tool node and select the Google sheet credentials you have created.
      
    • Choose the correct google sheet document and sheet name.
    • In "Mapping Column Mode" section select map each column manually.
    • In "Column to match on" select the column with a unique identifier (e.g., Product ID) to match stock items.
    • In values to update section, add only the column(s) that need to be updated—usually the stock count.
  • AI Agent node

    • Adjust the prompt according to your use case and customize what you need.

Google Sheet Template

Stock sheet

Case IDPhone ModelCase NameCase TypeImage URLQuantity AvaialbleInitital InventorySold
1023Iphone 14 proBlack LeatherMagsafehttps://example.com/url9010010

Order sheet

Case IDPhone ModelCase NameNamePhone NumberAddress
1023Black LeatherIphone 14 proFernando Torres9998898888Paris, France