Announcements
Hi This is Allen, have a question for topics.
Is there anyway to source control the topics? (like export them as json files and deployment them to somewhere)
Also for the bot's workflows, currently they can be exported as json files. And these json files could only be used to imported? is it possible to CD(continuous deployment them)
Looking forward to your reply
Allen
Hi @Allen_Gao ,
Today you can export the chatbot and all topics inside the chatbot, you can use this documentation: https://docs.microsoft.com/en-us/power-virtual-agents/authoring-export-import-bots
But you cannot export only one or more than one topic without export the chatbot.
Regarding the workflow JSON file when you export, you can import in another environment and Office 365 user environment.
I already tried to export and modify the JSON (credentials, paths) and import again in some environments and work well but you need to have many attention to change everything.
HI @Allen_Gao - with the recent GA of Microsoft Power Platform Build Tools for Azure DevOps CI/CD of Power Virtual Agents (PVA) is now supported. Is it my understanding that as long as workflows/flows are created from within PVA or with PVA trigger action (not a stand alone flow), flows will be extracted and deployed as past of PVA.
As for topic by topic source control, as @renatoromao mentioned it's not supported today OOB but again everything is stored in CDS entities so there might be a way to get to individual topics which I have yet to explore.
Additional refence on build tools: Microsoft Power Platform Build Tools tasks
Thanks
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Allen_Gao,
To supplement on @renatoromao post. As he said, you can add the chatbot to a solution. You can then save the chatbot source (topics, entity, etc) to source control by using the CDS tooling specifically solution packager (or the unpack task from build tools). Solution Packager allows you to decompose the solution file and save the content (XML files) to your source control. You can also improve your ALM strategy by pack or preparing your Chatbot solution from source control and deploy to your target environments with the build tools.
Hope this helps!
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 704
Vish WR 249
Haque 244