web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 7sfzBZ/R/6Xo9v4XMp8nHD
Copilot Studio - General
Unanswered

How to prompt user input without repeating message every time in a chatbot?

Like (0) ShareShare
ReportReport
Posted on 9 May 2023 09:42:48 by 392

 

Hi,

I have a bot that asks the user "ask me any question" whenever the user says the trigger. Whatever the user types is then sent to OpenAI, and the response is displayed in the chat. However, I don't want the bot to ask "ask me any question" every time. How can I avoid this?

I can't leave it blank since the bot needs to prompt the user to input a question. Any suggestions on how to handle this situation?

Jupyter123_0-1683625099057.pngJupyter123_1-1683625115351.png

 

I have the same question (0)
  • HenryJammes Profile Picture
    on 10 May 2023 at 12:47:49
    Re: How to prompt user input without repeating message every time in a chatbot?

    @Jupyter123 wrote:

     

    Hi,

    I have a bot that asks the user "ask me any question" whenever the user says the trigger. Whatever the user types is then sent to OpenAI, and the response is displayed in the chat. However, I don't want the bot to ask "ask me any question" every time. How can I avoid this?

    I can't leave it blank since the bot needs to prompt the user to input a question. Any suggestions on how to handle this situation?

    Jupyter123_0-1683625099057.pngJupyter123_1-1683625115351.png

     


    If I were to call ChatGPT in a custom topic, I would probably display the answer as a Question node.

    For example:

     

    {GeneratedAnswer}

    Does that help? Do you have any new question?

    With a "No I'm good, thanks" suggested option.

     

    And then, I would use a condition.

    if the user types anything different, I loop back to call ChatGPT again.
    If they select "No I'm good thanks", I end the conversation.

  • remidyon Profile Picture
    on 10 May 2023 at 12:27:42
    Re: How to prompt user input without repeating message every time in a chatbot?

    Actually, Henry just wrote a post that solves your problem: you can use the fallback topic to redirect to your GPT prompt every time and put the prompt history as a global variable that is available accros all topics.

     

    See his tutorial: https://powerusers.microsoft.com/t5/Power-Platform-Integrations/Integrate-a-PVA-chatbot-with-Azure-OpenAI-ChatGPT-using-the-Chat/m-p/2146180/highlight/true#M249

     

     

  • remidyon Profile Picture
    on 10 May 2023 at 00:03:20
    Re: How to prompt user input without repeating message every time in a chatbot?

    You can modify the “conversation start” topic to automatically redirect to your topic without having you to trigger it. 

    then for the question at every turn you have no choice: it is needed to capture the user input.

     

    If you want to create a ChatGPT like experience you would have to create a power apps (which can call the same flow) 

     

    Edit: this can be achieve using the fallback topic and a global variable, see post below

  • Jupyter123 Profile Picture
    392 on 09 May 2023 at 16:24:35
    Re: How to prompt user input without repeating message every time in a chatbot?

    @nikviz ,thanks for the reply.

    Earlier I was having the same flow but everytime we have to type gpt to connect to open AI

    It's kinda long process.

  • nikviz Profile Picture
    242 on 09 May 2023 at 16:20:50
    Re: How to prompt user input without repeating message every time in a chatbot?

    Hi @Jupyter123 

    I have built something like this: 
    https://www.linkedin.com/pulse/connecting-openai-power-virtual-agent-part-2-keeping-r%C3%A9mi-dyon/ 

    This way it retains a context to some extent and users don't feel they're being prompted the same question again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 366 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 308 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 112

Last 30 days Overall leaderboard