Back to projects

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.

  1. A message arrives

    A guest writes via WhatsApp. A gateway on my server receives the message.

    WAHA, Docker

  2. Handed to n8n

    The gateway passes the message to n8n via a webhook.

    Webhook, n8n

  3. 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

  4. Write the answer

    A local language model writes the answer in the guest's language, German or English.

    Ollama, GTX 1080 with CUDA

  5. Save the reservation

    Confirmed reservations are saved as a note in Obsidian.

    Obsidian REST API

  6. Answer sent back

    The gateway sends the answer back to the guest.

    WAHA

Happy to demo the bot live in an interview.