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 / extra message show - R...
Copilot Studio
Unanswered

extra message show - REDUX / direct line API + Copilot studio intergration

(2) ShareShare
ReportReport
Posted on by 14
Hi,
I am having webchat.js intergrated with copilot studio using direct line API.
I used the below snippet to send message back to the bot.
But the copilot studio is sending and showing the message, but adding an extra message after this.
 
Any way to avoid this extra message coming. Attaching the screen shot below (last one is the extra message, but i dont need that one). How to prevent that behaviour ??

Kindly share your thoughts on this issue

//
if (userresponse === "disLiked") {
    // Send a message back to the bot
    
    store.dispatch({
      type: 'WEB_CHAT/SEND_MESSAGE',
      // type: 'DIRECT_LINE/POST_ACTIVITY',
      payload: {
        text: apologyMessage,
      }
    });
    return;
  }
  
  
  //
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
     
    So this is probably the fallback or one of the specific Topics that triggers when a conversation is initiated.
     
    If you are going to trigger your own topics on purpose, I would turn off the ones you do not need. 
     
    If you were to look at each Topic, its probably one of the default system ones, but it's based on how your topic structure is, and whether there is an Error/Fallback situation etc that means your Topic couldn't' do what you wanted so it triggered a default one to respond with "After".
     
    Also, I'd have to see your topic to see if you are ending the conversation or what
  • AK-18071435-0 Profile Picture
    14 on at
    I added the debugs to these ootb system message topics, but none of these are the one which sends that extra message back to the bot.
    Is there a way to see what Topic is triggering those messages.

  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
     
    logistically it would be on the Activity tabs

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 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard