Personal Assistant AI Prompt Limitation? Unable to Insert a Question Before Message Delivery

Hexanet

Platinum Partner
Joined
Aug 6, 2020
Messages
27
Reaction score
8

Hi,​

I'm testing the new AI Personal Assistant in 3CX and I'm trying to understand whether I'm facing a prompt issue or a platform limitation.

Goal​

For unsolicited sales / commercial solicitation calls, I would like the Personal Assistant to:
  1. Refuse the transfer to the director.
  2. Ask: "Do you have any other matter concerning the director?"
  3. If the answer is no:
    • create the internal message,
    • notify the director,
    • end the call.
In other words, I want one additional conversational step before the message is sent.

What Happens Instead​

A typical call looks like this:
Caller: "I have a new PBX / AI telephony solution I would like to present to your director."
Assistant: "The director is not available at the moment. I will forward your message."
Assistant: "Your message has been transmitted."
The assistant immediately enters the message-taking workflow.

What I Tested​

I created a dedicated section in the AI Directive for:
  • Commercial solicitation
  • Sales calls
  • Prospecting
  • Marketing proposals
  • Telecom offers
  • PBX proposals
  • Service presentations
I also added strict instructions such as:
  • NEVER create a message immediately
  • NEVER conclude the call immediatelyThe FIRST response MUST be: "Do you have any other matter concerning {{boss_name}}?"
  • NEVER mention message transmission before asking this question
I even tried a diagnostic test with:
"The ONLY response must be: COMMERCIAL_TEST_SUCCESS"

Result​

The assistant still ignores those instructions and follows the same workflow:
  • Director unavailable
  • Message creation
  • Message transmission
  • End of call
It appears that once the Personal Assistant identifies a request for the manager/director, the built-in message-taking workflow takes precedence over the prompt.

Question​

Is this expected behaviour?
Can the Personal Assistant conversation flow be modified so that an additional question is asked before the internal message is created and transmitted?
Or is the message-taking workflow hardcoded once the assistant determines that the call cannot be transferred?
If anyone from 3CX can clarify where the boundary is between:
  • AI Directive control
  • Personal Assistant built-in routing/message workflow
it would be very helpful.
Thanks.
 

Hi,​

I'm testing the new AI Personal Assistant in 3CX and I'm trying to understand whether I'm facing a prompt issue or a platform limitation.

Goal​

For unsolicited sales / commercial solicitation calls, I would like the Personal Assistant to:
  1. Refuse the transfer to the director.
  2. Ask: "Do you have any other matter concerning the director?"
  3. If the answer is no:
    • create the internal message,
    • notify the director,
    • end the call.
In other words, I want one additional conversational step before the message is sent.

What Happens Instead​

A typical call looks like this:
Caller: "I have a new PBX / AI telephony solution I would like to present to your director."
Assistant: "The director is not available at the moment. I will forward your message."
Assistant: "Your message has been transmitted."
The assistant immediately enters the message-taking workflow.

What I Tested​

I created a dedicated section in the AI Directive for:
  • Commercial solicitation
  • Sales calls
  • Prospecting
  • Marketing proposals
  • Telecom offers
  • PBX proposals
  • Service presentations
I also added strict instructions such as:
  • NEVER create a message immediately
  • NEVER conclude the call immediatelyThe FIRST response MUST be: "Do you have any other matter concerning {{boss_name}}?"
  • NEVER mention message transmission before asking this question
I even tried a diagnostic test with:
"The ONLY response must be: COMMERCIAL_TEST_SUCCESS"

Result​

The assistant still ignores those instructions and follows the same workflow:
  • Director unavailable
  • Message creation
  • Message transmission
  • End of call
It appears that once the Personal Assistant identifies a request for the manager/director, the built-in message-taking workflow takes precedence over the prompt.

Question​

Is this expected behaviour?
Can the Personal Assistant conversation flow be modified so that an additional question is asked before the internal message is created and transmitted?
Or is the message-taking workflow hardcoded once the assistant determines that the call cannot be transferred?
If anyone from 3CX can clarify where the boundary is between:
  • AI Directive control
  • Personal Assistant built-in routing/message workflow
it would be very helpful.
Thanks.
From my testing you would have this additional control using the Ai call script. 3cx gives you a template with a base prompt. You can put in your specific prompt. Lots of flexibility with the call scripts if you have not tried it out yet.
 
  • Like
Reactions: accentlogic
Did you try changing behaviour around the spam call handling, and checked if it might work with positive phrasing rather than nevers? Just thoughts.
 
Iwas forced to remove spam call handling and the block call indications, if anything set there, calls don't use AI Prompt fully, it block directly after the suspicious detection.

I'll try from script or positive phrasing.

1795591153403.png1795591138941.png
 
Give this a go:

So, in the AI Prompt, spam section:
Code:
# Spam / Scam - CHECK FIRST
- TRIGGERS: gift card, wire transfer, virus detected, microsoft support, account suspended
{{#spam_instructions}}- Also: {{spam_instructions}}{{/spam_instructions}}
- IF ANY trigger heard:
Ask caller "Do you have any other matter concerning the director?" then notify boss via chat and end call.

Then in spam filter:
1795592687114.png

Result:
1795592845207.png
 

Forum statistics

Threads
112,589
Messages
593,450
Members
165,807
Latest member
Thodoris Tzimas