AI check before sending

Autonomous auto-refine loop

If the check stops a message, the AI rewrites it up to 5 times. If it still fails, you get a WhatsApp alert.

This happens for templates set to autonomous (instead of operator-in-loop). You do not need to do anything the first time a message is blocked.

AI Cockpit: Validators

How it works

  1. The message is checked. If it is clean, it is sent.
  2. If it is blocked, the AI rewrites it and the check runs again (attempt 1). Clean? It is sent. Still blocked? Attempt 2 starts.
  3. This repeats up to attempt 5. If attempt 5 is still blocked, you get a message (WhatsApp and in the app).

Limit = 5 attempts. After 5 the AI stops and hands the message to you.

What the AI uses to rewrite

Each attempt, the AI gets:

  • The first draft
  • The problems the check found (how serious, which check, the reason in plain words)
  • The conversation so far (so the new draft fits what was already said)
  • The language set for the template (see Languages)

The check then runs on the new draft. If any problem is still above your blocking threshold, the AI tries again.

What you see

While the AI is rewriting, the task shows:

  • An auto-refining (attempt N/5) label on the task card.
  • The current problem found by the check.
  • A CANCEL button: stop the rewriting and take over yourself.

When it ends:

  • Success: the task is marked done, and the history records how many attempts it took.
  • Escalation: the task stays open, you get a WhatsApp and in-app alert (see WA block alerts), and you choose with the 3 buttons.

Each try rewrites the message

Each new attempt runs the refine again, so the draft is rewritten. The AI never just checks the same text again hoping it passes, so a bad draft cannot slip through by luck.

When to use autonomous or operator-in-loop

  • autonomous: many messages where a small mistake is not serious (Pre-checkout reminder, Thank-you message). You do not want to watch every send.
  • operator-in-loop: important messages (Send Check-in with access code, dispute response, partial refund message). You confirm every send.

You set this for each template in the Task Templates editor → Auto-refine behavior field. See also Auto-refine drafts.

Source: the luxury.host operator manual.