Build a website customer support chatbot with Groq AI and Google
Build a Website Customer Support Chatbot with Groq AI and Google Sheets as its Knowledge Base. Setup Instructions Prerequisites 1. API Credentials Required: ...
🔌 Nodes & Integrations Used (5)
📖 Implementation & Setup Guide
Build a Website Customer Support Chatbot with Groq AI and Google Sheets as its Knowledge Base.
Setup Instructions
Prerequisites 1. **API Credentials Required:** - Groq API credentials - You'll need a valid API key from Groq - Google Sheets credentials - OAuth authentication required to access your knowledge base sheets
Step-by-Step Setup 1. **Add Required Credentials:** - Click on the Credentials menu and add your Groq API credentials - Set up Google OAuth credentials for Google Sheets access 2. **Configure the Groq Chat Model:** - Click on the "Groq Chat Model" node - Select your preferred Groq model (e.g., Llama-3-70b or Mixtral-8x7b) - Set token limits and other parameters as needed 3. **Set Up Your Knowledge Base:** - Create a Google Sheet with your support information (example structure below) - Note the Google Sheet ID from the URL 4. **Configure the Google Sheets Node:** - Click on the "Google Sheets" node - Select your document ID from the dropdown - Select the specific sheet name containing your knowledge base 5. **Customize the AI Agent:** - Modify the system message to match your brand's tone and support style - Adjust the context window length in the "Chat History" node based on your needs 6. **Test the Chatbot:** - Click the "Chat" button to test with sample customer questions - Verify the AI retrieves correct information from your knowledge base 7. **Deploy to Your Website:** - Click "Make Public" to generate an embed code - Add the embed code to your website HTML
Knowledge Base Structure Example Your Google Sheet should be structured with clear headers and organized data. Example format:
| Question | Answer | Category | Keywords | |----------|--------|----------|----------| | How do I reset my password? | To reset your password, click the "Forgot Password" link on the login page and follow the instructions sent to your email. | Account | password, reset, forgot, login | | What are your shipping rates? | Standard shipping is $5.99. Express shipping is $12.99. Orders over $50 qualify for free standard shipping. | Shipping | rates, costs, delivery, free shipping | | How do I return an item? | Returns can be initiated within 30 days of purchase by logging into your account and selecting "Start a Return" in your order history. | Returns | return policy, exchange, refund |
Each row should contain a complete customer query and response pair, with optional categorization and keywords to help the AI find relevant information quickly.
Website Embedding You can use and replace the placeholders in the following code: [View on Codepen (external link)](https://codepen.io/olemai/pen/RNwPdVp)
Put the customized Code inside your website's head element (before the `</head>` tag).
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Build_a_website_customer_support_chatbot_with_Groq_AI_and_Google.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....