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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to prompt user inp...
Copilot Studio
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 403

 

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

 

Categories:
I have the same question (0)
  • nikviz Profile Picture
    242 on at

    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.

  • Jupyter123 Profile Picture
    403 on at

    @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.

  • remidyon Profile Picture
    Microsoft Employee on at

    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

  • remidyon Profile Picture
    Microsoft Employee on at

    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

     

     

  • HenryJammes Profile Picture
    Microsoft Employee on at

    @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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 787

#2
Vish WR Profile Picture

Vish WR 300

#3
Haque Profile Picture

Haque 262

Last 30 days Overall leaderboard