Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Topic Creation & Management
Unanswered

How to Send a Welcome Message again in Copilot After User Deletes Chat in Teams Channel

(0) ShareShare
ReportReport
Posted on by 20
Hi Team,
 
Could you please help in this,
 
I'm working with Copilot in a Teams channel and need to configure the bot to send a welcome message when a user opens a conversation after deleting the previous chat history. The goal is to ensure the bot detects that the conversation is new and automatically triggers the welcome message, treating it as a fresh interaction. I am currently using topics in my Copilot development.
 
what would be the activity check needs to be used so that we can send a welcome message?
 
Please find below screenshots for the same
 
 
 
Here after deleting the previous chat history with bot, we would like to show the welcome message again 
 
 
 
Thanks
 
 
Categories:
  • NaveenR Profile Picture
    NaveenR 20 on at
    How to Send a Welcome Message again in Copilot After User Deletes Chat in Teams Channel
    Thanks for the response.
     
    We have added that already however it works only when user re-add the copilot not when user delete the chat and open the bot again without remove/uninstall.
     
    Activity type "Installation update" only works when user installs the bot. when user deletes the chat and remove/uninstall and reinstall/re-add the bot then it works.
     
     
     
    Here after deleting the previous chat history with bot, we would like to show the welcome message again 
     
     
    Thanks
     
  • HenryJammes Profile Picture
    HenryJammes on at
    How to Send a Welcome Message again in Copilot After User Deletes Chat in Teams Channel
    An agent in Microsoft Teams 1:1 chat uses the same ongoing conversation thread, even if the copilot is removed or the chat is deleted. When you re-add a copilot and want it to start a conversation with a message, you can use Copilot Studio to add a new topic.  
     
    1. Create a new topic from scratch.
    2. Change the topic trigger to "Activity Received". 
    3. Click into the properties of the trigger. Change the "Activity type" to "Installation update".
    4. Click the + button to add another node. 
    5. Click "Topic Management" > "Go to another topic" and select the "Conversation Start" node. 
    6. Next to the Save button, click on the "... More" and open the Code Editor.
    7. In the Code Editor YAML, add startBehavior: UseLatestPublishedContentAndCancelOtherTopics. An example is shown below.
    8. Save the topic and publish the copilot.
    Example
     
    kind: AdaptiveDialog
    startBehavior: UseLatestPublishedContentAndCancelOtherTopics
    beginDialog:
      kind: OnActivity
      id: main
      type: InstallationUpdate
      actions:
        - kind: BeginDialog
          id: {your node id}
          dialog: {your agent schema name.topic.ConversationStart
     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,318 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,111 Most Valuable Professional

Leaderboard

Featured topics