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 / What's the correct way...
Copilot Studio
Unanswered

What's the correct way of having the bot interact with a Custom Website deployment? (DirectLine?)

(1) ShareShare
ReportReport
Posted on by
Hi,
 
We have a copilot published and embedded on a custom site using an iframe.
 
We're looking to use DirectLine to send an event to the bot, in order to facilitate communication with the site and the bot. The main example for this, is having the user select a particular "case" or "work item" on the website, fire the unique ID to copilot, and therefore have it available for a user to ask questions about their work.
 
The problem we're having is the conversation id - as far as I can tell, there's no way to extract the conversation ID from the iframe window, and ChatGPT/Claude is trying to start a conversation via DirectLine and extract that conversation id, which doesn't match up with the conversation in the window.
 
I feel like we've exhausted the documentation and can't work out the correct way to facilitate this functionality, and has left me questioning whether DirectLine is even the right approach at all.
 
Thanks for any assistance
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Have you figured out how to do this? I am investigating how to do something a bit similar and not sure how to approach it, 

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard