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 / start different conver...
Copilot Studio
Unanswered

start different conversation topics depending on what page the bot is triggered from

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I am migrating our business from intercom to power virtual agents / copilot studio. 

 

our current set up with intercom has a bunch of different conversation topics (called bots in intercom) triggering based on what page the user is on. so for the home page we have a generic greeting conversation, and for a product page we might have a specific product conversation. if we capture details for a callback on a product page it goes deeper into the sales funnel, to that specific product team. 

 

I am not sure how to get different conversation topics triggering in copilot studio. I am playing around with javascript custom events feeding back into copilot without success, is there a better way to do this? its a standard function in most of the other chatbot platforms I have looked at. 

 

I have already tweaked copilot to proactively launch into a conversation after a brief pause when a user lands on a page, as our current implementation of intercom does. the bots primary function right now is a sales/marketing tool with help and support as a secondary concern. I now need it to launch different conversations based on the webpage its on. 

 

thanks! 

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    Just to clarify, moving between pages will reset the conversation?

  • LB123 Profile Picture
    on at

    As I am replacing an existing fairly refined set of bot conversations I am looking to replicate how things are currently set up - 

     

    1. user lands on the home page, receives the home page greeting. the user ignores the greeting and browses to a product page. when the user lands on the product page, the bot will proactively greet them with a product specific greeting and different options. 

    2. user lands on the home page, receives the home page greeting and interacts with it. the user browses to a product page, and the existing conversation follows them without being reset. 

     

    this can be achieved without engineering support on the incumbent platform we are currently using without having to modify the code on the home or product pages. I am looking for a similar low code answer, or if that is not possible help on where to get started. 

     

    Copilot studio offers far better integration into D365, which is why we are making the swap. 

  • everleap Profile Picture
    10 on at

     I am looking for a similar solution. It seems pretty basic but see no solution. 

    Code snippet that opens the bot via TheURL which is the token endpoint.

          fetch(theURL)
                .then(response => response.json())
                .then(conversationInfo => {
                    window.WebChat.renderWebChat(
                        {
                            directLine: window.WebChat.createDirectLine({
                                domain: `${directline}v3/directline`,
                                token: conversationInfo.token,
                            }),
                            styleOptions
                        },
                        document.getElementById('webchat')
                    );
                })

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

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 671

#2
Vish WR Profile Picture

Vish WR 266

#3
Haque Profile Picture

Haque 265

Last 30 days Overall leaderboard