Announcements
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?
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.
@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.
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
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
@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?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 787
Vish WR 300
Haque 262