1 templates found
Category:
Author:
Sort:

Create a WhatsApp chatbot with GPT-4o, Whisper transcription and Redis buffer

๐Ÿ‘ฅ Who's it for This workflow is perfect for businesses or individuals who want to automate WhatsApp conversations ๐Ÿ’ฌ with an intelligent AI chatbot that can handle text, voice notes ๐ŸŽต, and images ๐Ÿ–ผ๏ธ. No advanced coding required! ๐Ÿค– What it does It automatically receives WhatsApp messages through WasenderAPI, intelligently buffers consecutive messages to avoid fragmented responses, processes multimedia content (transcribing audio and analyzing images with AI), and responds naturally using GPT-4o mini with conversation memory. All while protecting your WhatsApp account from being banned. โš™๏ธ How it works ๐Ÿ“ฑ Webhook Trigger โ€“ Receives new messages from WasenderAPI ๐Ÿ—ƒ๏ธ Redis Buffer System โ€“ Groups consecutive messages intelligently (7-second window) ๐Ÿ”€ Content Classifier โ€“ Routes messages by type (text, audio, or image) ๐ŸŽต Audio Processing โ€“ Decrypts and transcribes voice notes using OpenAI Whisper ๐Ÿ–ผ๏ธ Image Analysis โ€“ Decrypts and analyzes images with GPT-4O Vision ๐Ÿง  AI Agent (GPT-4o mini) โ€“ Generates intelligent responses with 10-message memory โฑ๏ธ Anti-Ban Wait โ€“ 6-second delay to simulate human typing ๐Ÿ“ค Message Sender โ€“ Delivers response back to WhatsApp user ๐Ÿ“‹ Requirements WasenderAPI account with connected WhatsApp number : https://wasenderapi.com/ Redis database (free tier works fine) OpenAI API key with access to GPT-4o mini and Whisper n8n's AI Agent, LangChain, and Redis nodes ๐Ÿ› ๏ธ How to set up Create your WasenderAPI account and connect a WhatsApp number Set up a free Redis database and get connection credentials Configure OpenAI API key in n8n credentials Replace the WasenderAPI Bearer token in "Get the audio", "Get the photo", and "Send Message to User" nodes Change the Manual Trigger to a Webhook and configure it in WasenderAPI Customize the AI Agent prompt to match your business needs Adjust wait times if needed (default: 6 seconds for responses, 7 seconds for buffer) Save and activate the workflow โœ… ๐ŸŽจ How to customize Modify the AI Agent prompt to change bot personality and instructions Adjust buffer wait time (7 seconds) for faster/slower message grouping Change response delay (6 seconds) based on your use case , its recomendable 30 seconds. Add more content types (documents, videos) by extending the Switch Type node Configure conversation memory window (default: 10 messages)

Jose BossaBy Jose Bossa
749
All templates loaded