WhatsApp Chatbot Workflow with n8n
This repository contains a WhatsApp chatbot workflow built using n8n. The chatbot processes incoming messages (text, audio, or images), classifies them, and responds in the requested format using an AI agent.
WORKFLOW OVERVIEW
Trigger: WhatsApp messages (text, audio, or images). Process: Classifies input, handles media (e.g., transcribes audio, analyzes images), and generates prompts. Response: Sends back a response in the format requested (text or audio).
HOW TO USE
-
Clone or download this repository.
-
In your n8n instance, go to the workflows section.
-
Click the three dots in the upper right and select "Import from File.
-
Upload the whatsapp_chatbot.json file from this repository.
-
Activate the workflow.
SETUP REQUIREMENTS
-
An active n8n instance.
-
WhatsApp credentials configured in n8n for the WhatsApp Trigger node.
-
AI Agent credentials (e.g., OpenAI or similar) configured in n8n for text/audio generation.
-
Ensure any additional nodes (e.g., for audio transcription or image analysis) are properly set up with the required API keys.
Notes
You may need to adjust node configurations based on your specific API keys and preferences.
The workflow was created and tested as of June 9, 2025.
Feel free to contribute or modify the workflow for your needs!