---
title: WhatsApp Chatbot with n8n
description: An AI chatbot automation that handles dynamic inventory messaging, context tracking, and anti-abuse controls.
type: project
url: "https://www.bariscemant.com/projects/n8n-whatsapp-chatbot"
year: 2026
role: Automation Developer
status: maintained
categories: [automation, ai]
technologies: [n8n, Google Gemini, Google Sheets API, Webhook, JavaScript]
author: Baris Cem Ant
site: "https://www.bariscemant.com"
language: en
---

# WhatsApp Chatbot with n8n

> An AI chatbot automation that handles dynamic inventory messaging, context tracking, and anti-abuse controls.

- **Built by**: Baris Cem Ant, Full Stack Developer (https://www.bariscemant.com)
- **Role**: Automation Developer
- **Year**: 2026
- **Status**: maintained
- **HTML version of this page**: https://www.bariscemant.com/projects/n8n-whatsapp-chatbot

## Overview

I orchestrated an n8n workflow with Gemini and Google Sheets to automate customer messaging, preserve conversation context, and enforce strict usage/security rules in production webhook traffic while keeping operations accessible for non-technical teams.

## Technologies

n8n, Google Gemini, Google Sheets API, Webhook, JavaScript

## Key Features

- Automated inventory-aware WhatsApp responses using Gemini prompt orchestration
- Built Google Sheets based status and conversation logging for non-technical teams
- Implemented context windows to improve response relevance and reduce hallucinations
- Created an authorized customer pool and separated unknown webhook traffic
- Applied rate limits, daily quotas, and silent blocking for abuse prevention
- Optimized API usage and operational cost while maintaining response quality

## Screenshots

- https://www.bariscemant.com/images/projects/n8n-chatbot/1.png

## Other projects by Baris Cem Ant

- [Cilt365](https://www.bariscemant.com/projects/cilt365.md): A clinical-grade skincare recommendation engine that turns a dermatologist-designed questionnaire into a personalized routine and product match, with clinical logic held as editable data rather than code.
- [Voxx](https://www.bariscemant.com/projects/voxx.md): A FastAPI backend for a fitness and health-tracking mobile app, delivering AI-driven workout planning, wearable device integration, and real-time AI coaching chat — running serverless on GCP Cloud Run with Terraform-managed infrastructure.
- [Saywize](https://www.bariscemant.com/projects/saywize.md): An AI-powered YouTube analytics platform for creators and brands, focused on audience sentiment and scalable growth insights.