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.
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,
Was this reply helpful?YesNo
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.