AI assistant for WhatsApp
Using a restaurant as the example: guests ask about the menu and opening hours via WhatsApp or book a table. Everything runs on my own hardware.
-
A message arrives
A guest writes via WhatsApp. A gateway on my server receives the message.
WAHA, Docker
-
Handed to n8n
The gateway passes the message to n8n via a webhook.
Webhook, n8n
-
Recognise the request
n8n classifies the message: reservation, menu, cancellation or general question, and adds the menu, opening hours and the conversation so far.
n8n
-
Write the answer
A local language model writes the answer in the guest's language, German or English.
Ollama, GTX 1080 with CUDA
-
Save the reservation
Confirmed reservations are saved as a note in Obsidian.
Obsidian REST API
-
Answer sent back
The gateway sends the answer back to the guest.
WAHA
Happy to demo the bot live in an interview.