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

Community site session details

Session Id :
Copilot Studio - Bot Analytics
Suggested answer

Topic Name not identified when topics are launched from a redirection

(0) ShareShare
ReportReport
Posted on by 2
Hello everyone!
 
I am having issues with Copilot Studio Analytics:
  • If Topic 2 is triggered by a sentence written in Topic 1, both the Initial User Message and Topic Name in the Sessions log is properly identified;
  • However, if Topic 2 is reached through a redirection after a button was clicked in Topic 1, the Initial User Message in Sessions log is properly set to be the text of the button, but the Topic Name is empty.
Any idea on how to fill the Topic Name in this second case?
 
Thank you in advance!
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,988 Super User 2025 Season 2 on at
    Topic Name not identified when topics are launched from a redirection
    when redirecting from Topic 1 to Topic 2 using a button, the analytics log recognizes the button text as the initial user message but does not associate the session context with Topic 2 unless it is explicitly configured to do so. Here's how you can resolve this: 
     
    Use the "Redirect to Topic" Action Properly Ensure that the button in Topic 1 uses the "Redirect to another topic" action. When configuring the button: Click on the button in Topic 1. Choose the "Redirect to Topic" action. Select Topic 2 explicitly from the dropdown.
     
    In Topic 1, add a custom variable action - SetVariable("redirectToTopic", "Topic 2")
    In Topic 2, check for this variable in the topic trigger conditions or use it to update the session log.
  • CU25111623-0 Profile Picture
    2 on at
    Topic Name not identified when topics are launched from a redirection
    Thanks for your answer @@SaiRT14 I guess the important action here is when you mention "update the session log". How can I do that? I tried to set System.Recognizer.TriggeringMessage.Id = System.LastMessage.Id and System.Recognizer.TriggeringMessage.Text = System.LastMessage.Text but Copilot Studio gives me an error.
    Is there any other way I can modify the session log to force Copilot Studio to treat this information as a triggered Text Event?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 364 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 53 Moderator

Last 30 days Overall leaderboard

Featured topics