Skip to main content

AI compose

Rewrite with AI turns a rough draft into a reply that is ready to send. The agent writes in the message box, picks how to rewrite it, checks the result and sends it as usual. Nothing is sent automatically.

It works wherever Flex shows a message box: web chat, SMS and WhatsApp.

The rewrite menu over a rough draft

Using it​

  1. Type a draft in the message box.
  2. Click Rewrite with AI under the message box and choose a mode.
  3. The draft is replaced with the rewritten text. Edit it if needed, then send.
ModeWhat it does
PolishClearer wording, same meaning
ShortenSays the same in fewer words
More formalA polite, professional tone
FriendlierA warmer, more personal tone
Fix grammarCorrects spelling and grammar only

The rewrite stays in the language of the draft; it never translates (use translation for that). Names, numbers, URLs and emoji are kept as they are.

Undo​

After a rewrite, an Undo button appears next to the composer for 10 seconds. It puts the previous draft back.

The rewritten reply, with the undo button next to the composer

If the rewrite comes back unchanged, the draft is left alone and no undo is offered. Drafts longer than max_chars (5000 characters by default) are refused with a message asking the agent to shorten them.

Configuration​

Under custom_data.features.ai_compose in the Flex configuration:

KeyDefaultMeaning
enabledfalseTurns the feature on.
modesall fiveWhich modes appear in the menu: polish, shorten, formal, friendly, grammar.
default_modepolishThe mode highlighted when the menu opens.
max_chars5000Longest draft that can be rewritten.
context_window0Number of earlier messages sent as context (at most six are used). 0 sends none.
api_urlthe screen_recording addressFloor Walker service address, if different. Set during installation.

The rewrite uses the language model configured for your Floor Walker installation. If no AI service is configured, drafts come back unchanged.