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 / 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;
  }
  
  
  //
extra_message.jpg
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator 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,969 Moderator 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

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard