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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / how can I use if condi...
Copilot Studio
Answered

how can I use if condition with this problem

(0) ShareShare
ReportReport
Posted on by 23

I would like to know how to implement an IF condition in one of my custom topics. This condition should first check a document, knowledge base, or webpage (let's call it 'A') for an answer. If the answer is not found there, it should then check another source (let's call it 'B'). If the answer is still not found after checking both sources, it should prompt the user with a message: 'I was unable to find an answer to your query in my designated resources. Would you like to rephrase your question? If you prefer not to, I can initiate a special process where you can specify the topics of your question. I will then open a case on your behalf and forward your query to the appropriate personnel, who will respond to you promptly.'

Any help would be greatly appreciated. 

Categories:
I have the same question (0)
  • ManikandanS Profile Picture
    246 on at

    @RuddySimon188 - Are you using boost conversation Gen AI feature in your bot?

  • adilei Profile Picture
    on at

    Use Generative Answers. If an answer is not found, the response from the Gen Answers node will be empty. For example, see how "no response" is handled in the conversational boosting topic:

     

    adilei_0-1707288159663.png

     

  • ManikandanS Profile Picture
    246 on at

    @RuddySimon188  , I have tried the same and the topic looks like below. Please try at your end and see it works.

     

    ManikandanS_0-1707291665006.png

     

  • RuddySimon188 Profile Picture
    23 on at

    Yes I use conversational boosting but I created a custom topic because we need to use some phrases to trigger the topic. So I want to implement the condition in my custom topic. 

  • RuddySimon188 Profile Picture
    23 on at

    Is 'GenAIResponse2' a new variable in the condition on the right side, or has it been used elsewhere?

  • Verified answer
    ManikandanS Profile Picture
    246 on at

    @RuddySimon188 , The variable GenAIResponse2 is declared and defined in create generative answer node.

    ManikandanS_0-1707889798790.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 250 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 103 Moderator

Last 30 days Overall leaderboard