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 / Populate Regarding Lea...
Copilot Studio
Unanswered

Populate Regarding Lead on active conversation form in D365 Customer Service Omnichannel from Power Virtual Agents

(0) ShareShare
ReportReport
Posted on by 40

Hello Community,

Now that we can customize the active conversation form in D365 Omnichannel, if we add the Regarding Lead (lookup) field on the active conversation form, is there a way we can populate the Regarding Lead field by the Power Virtual Agents bot? The scenario is as follow:

- when customer initiates a live chat, the customer will exchange some questions/answers with the Power Virtual Agents bot which is integrated with the chat channel

- based on the information gathered from the customer in the chat, the Power Virtual Agents bot calls a Power Automate flow to create a Lead record in Dataverse. This Lead record will be linked to the conversation record.

- the Power Virtual Agents bot then transfers the chat conversation to a live agent

- the live agent accepts the incoming chat conversation request

- the active conversation form opens. When the form opens, we would like to see the Lead record that has been created in the previous step above populated in the Regarding Lead lookup field on the active conversation form.

 

We can see through Advanced Find that when the Lead record is created, it's linked to the conversation record via the Regarding Lead field. But for some reasons, it's not showing up on the active conversation form when the form is opened. How can we display the Lead record onto the form? Do we use context variable in the Power Virtual Agents bot to pass this information back to Omnichannel? If yes, how would we define this context variable?

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

    Hi @D365EL,

     

    This questions relates more to Dynamics 365 Omnichannel for Customer Service, so I suggest you raise this question on this community: Dynamics 365 Customer Service Forum - Support & Help

     

    As Dynamics 365 Customer Service leverages Power Apps model-driven apps forms, I would also explore the customization options that are highlighted here: Create or edit model-driven app main forms in Power Apps - Power Apps | Microsoft Learn.

     

    Henry

  • furqanmajeed Profile Picture
    71 on at

    @HenryJammes @D365EL  were you able to solve this? I have added leads and tasks byt want to pre-populate as it works for case. 

  • D365EL Profile Picture
    40 on at

    Hi @furqanmajeed, yes, we were able to resolve that by populating the Regarding (Lead) lookup field on the Conversation record using the Power Automate flow after the Lead has been created.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 257

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 214 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 196

Last 30 days Overall leaderboard