Skip to main content

Notifications

Copilot Studio - General
Unanswered

How to get topic details (like it name)

Posted on by

Hello everyone,

 

I am new to Power Virtual Agents and i am trying to understand if there is any way i can collect topic information like it name.

 

I am trying to collect this to automate and send an email with this information.

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: How to get topic details (like it name)

    Hi @Anonymous,

     

    Topic configurations are stored in the Chatbot subcomponent (botcomponent) table in Dataverse.

     

    You can access them through a Power Apps model-driven app, if you navigate to https://{DomainName}.crm{RegionNumber}.dynamics.com/main.aspx?forceUCI=1&pagetype=entitylist&etn=botcomponent.

     

    You can further filter Chatbot subcomponents:

    • To only include topics: ComponentType = Topic (there are 2 options for Topic, 0 and 9).
    • To only include the topics for a specific chatbot:
      • For production version of PVA, with the Chatbot subcomponent ↔ Chatbot (bot_botcomponent) many-to-many relationship.
      • For preview version of the unified authoring version of PVA, with the parentbotid (parentbotid) many-to-one relationship.

     

    Example of that these queries look like using the Web API:

    • Production version of PVA: https://{DomainName}.crm{RegionNumber}.dynamics.com/api/data/v9.2/botcomponents?$select=name,componenttype&$filter=bot_botcomponent/any(o:o/botid eq '{BotId}') and (componenttype eq 0 or componenttype eq 9)&$count=true
    • Preview version of PVA: https://{DomainName}.crm{RegionNumber}.dynamics.com/api/data/v9.2/botcomponents?$select=name&$filter=_parentbotid_value eq '{BotId}' and (componenttype eq 0 or componenttype eq 9)&$count=true

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Tuesday Tip #2 Global Search…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,651

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,493

Leaderboard