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 / Passing data into chat...
Copilot Studio
Answered

Passing data into chatbot at instanciation time

(1) ShareShare
ReportReport
Posted on by 16
I have a CRM-like webbapp. I want the users to be able to chat about contact’s data in a contact gui panel. Is there a way to pass in the contact id to the copilot when the web app instantiate it on the contact panel? Otherwise the bot that lives in the panel of a specific contact have to always start by asking for contact id
Categories:
  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Moderator on at
    Hello,
     
    when you're integrating the chatbot via iframe, there's no option to pass any input parameters to the chatbot. If you need extended customizations like that, then I'd suggest you to create a chatbot by using Azure AI Foundry (former Azure AI Studio) with your own deployment and prepare the chat widget from scratch. That way you'd be able to send the contact id to the model before starting the conversation - in the system message for example.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!
  • Verified answer
    Vinoth Selvam Profile Picture
    1,597 Super User 2025 Season 1 on at
     
    When your agent is deployed on your custom website, we can pass context variables from your webpage to the agent.
     
    Try the below link:
     
    Please let know if u can achieve through this approach.
     
    Thanks.
    For Copilot studio technical blogs: Visit my Site

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 444

#2
11manish Profile Picture

11manish 198 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 185

Last 30 days Overall leaderboard