06

AI replies & customer conversation tracking

Self-hosted AI messaging assistant with conversation records and a control dashboard

An AI assistant responds to direct messages, records each conversation and tracks its enquiry stage. The software can run on the owner’s server, with account access and keys held by the owner.

The business need

Messages accumulated outside working hours, while the stage of each customer conversation was tracked informally rather than in a shared system.

What the solution needed to handle

The assistant needed protected account access, controlled messaging workloads and reliable handling of conversations and errors. The platform’s restrictions on automation also had to be considered.

How the system works

  1. 01

    Replies managed as background tasks

    The inbox is checked on a schedule and replies are queued with configured delays, keeping messaging tasks separate from the web process.

  2. 02

    Encrypted account sessions

    Account sessions are encrypted with a key kept separate from the token secret.

  3. 03

    Activity controls and automatic pauses

    New accounts have a ramp-up schedule. Repeated errors trigger a pause for review rather than continued activity.

  4. 04

    Repeatable database setup

    Versioned database changes reproduce the required structure consistently during setup and updates.

Project status

Code review is available on a call. The system supports replies outside office hours and stores conversation stages.

Inbox
checked every 60–180 seconds
Reply queue
each reply is a background task
AI reply
drafted by the AI assistant
Enquiry stage
new · in progress · closed
11–49 second delay
held in the queue, separate from the site
Automatic pause
repeated errors pause it for review
A message enters the queue, receives a scheduled AI reply and is recorded against its enquiry stage. Repeated errors trigger an automatic pause.

Could this help your business?

Tell us what you need