Skip to main content


Calling Actions from Copilot Studio

Prevent bot from looping

Posted on by 2

Hi all ,


We're building a chatbot and I'm having difficulty with meeting the customers requirement. 


Bot: ask your question

User: asks question

Bot: answers question and asks if this answers the question.

User: no


At this point the user can ask his/her question again. The thing is, when the bot answers the question again and asks "does this answer your question?" and the answer is no again (for the second time), we want to trigger the fallback which is designed with a button structure. So in order to make this possible, (I think) there needs to be some kind of count variable of whatever. Does anyone have an idea on how to make this possible?


BIG thanks in advance

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Prevent bot from looping

    I agree with you.

    Somethings you can do a workaround using the Power Automate flow, but not for all.


  • SMT1792 Profile Picture
    SMT1792 2 on at
    Re: Prevent bot from looping

    Hi @renatoromao ,


    Thanks for your very quick reply! I upvoted the post you sent me. Would be very helpful if that functionality is added to PVA. 


  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Prevent bot from looping

    Hi @SMT1792 ,


    It is not possible yet, unfortunately. 😞

    You cannot update variables within the PVA bot, but you can vote here: Update Variable / Global variable without a questi... - Power Platform Community (


    Also, we have AI capabilities that you can track within the PVA: AI-assisted authoring: detect topic overlaps and get topic suggestions from bot sessions | Microsoft Power Virtual Agents

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…


WarrenBelz Profile Picture

WarrenBelz 137,998

RandyHayes Profile Picture

RandyHayes 76,308

Pstork1 Profile Picture

Pstork1 63,059


Featured topics