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 / Use source control for...
Copilot Studio
Answered

Use source control for the topics or workflows?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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.

  • Verified answer
    UdayAdhikari Profile Picture
    450 Most Valuable Professional on at

    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

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    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!

  • Allen_Gao Profile Picture
    Microsoft Employee on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 704

#2
Vish WR Profile Picture

Vish WR 249

#3
Haque Profile Picture

Haque 244

Last 30 days Overall leaderboard