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)
Automate email follow-ups with Gmail & Google Sheets using multi-stage sequences
π Daily Follow-Up System with Multi-Stage Sequences What It Does Automatically sends timed follow-up emails to leads based on a 4-stage sequence (Day 1, 3, 7, 14), updates tracking automatically, and calculates next follow-up dates. Set it once, add leads, and never manually track follow-ups again. Converts cold leads into warm opportunities through consistent, professional touchpoints. How It Works Schedule Trigger β Runs daily at 9 AM Read Tracker Sheet β Gets all leads from Follow-Up Tracker Filter Today's Follow-Ups β Only processes leads where "Next Follow-Up Date" = Today Process Individually β Handles each lead one at a time (prevents rate limits) Route by Stage β Sends appropriate email based on Day 1/3/7/14 stage Send Stage Email β 4 different templates for each follow-up milestone Update Last Sent β Records when email was sent Calculate Next Date β Automatically schedules next follow-up (or marks complete) --- π SETUP INSTRUCTIONS Step 1: Create Follow-Up Tracker Sheet Create Google Sheet with tab "Follow-Up Tracker" Add columns: Name | Email | Project/Interest | Timeline | Next Step | Stage | Next Follow-Up Date | Last Sent Date | Status Populate with leads: Set Stage = "Day 1", Status = "Active", Next Follow-Up Date = desired start date Update YOURGOOGLESHEET_ID in nodes 2, 7, and 8 Step 2: Configure Email Templates Edit nodes 6-9 with your email templates Replace YOURCALENDARLINK with your actual booking link (Calendly, etc.) Replace YOURRESOURCELINK in Day 3 email with relevant content Customize sender name/signature in all templates Step 3: Setup Gmail Connection Add Gmail OAuth2 credentials to all email nodes Test workflow with one test lead first Monitor Gmail sending limits (500/day for free accounts) Step 4: Test the Sequence Add one test lead with Next Follow-Up Date = today Manually execute workflow to verify email sends Check that Google Sheet updates correctly Verify next stage is calculated properly