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 - General
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
I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,528 Super User 2025 Season 2 on at
    Passing data into chatbot at instanciation time
    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,565 Super User 2025 Season 2 on at
    Passing data into chatbot at instanciation time
     
    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

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
CU15090955-0 Profile Picture

CU15090955-0 46

Last 30 days Overall leaderboard