Skip to main content


Topic Creation & Management

How to create a condition for escalate.

Posted on by 2


I need that when the user requests to talk to an agent, they first try once more to state what they need and if the chat doesn't find a topic, then it should transfer to an agent.

  • citron-truc Profile Picture
    citron-truc 395 on at
    Re: How to create a condition for escalate.



    I hope you are doing well. Why not try something like
    - initialize a global variable called "last_chance".
    - If the user asks to talk to an agent, set the variable "last_chance" to True and send a message asking "could you please try one last time ?"
    - If the chatbot cannot find a user answer and last_chance is true then you redirect him to an agent.

    You'll probably need a way to reset last_chance to False if the chatbot manages to find the correct answer.

    Hope it helps.
    Have a great day !

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,995

Expiscornovus Profile Picture

Expiscornovus 1,708


Featured topics