Notifications
Announcements
Hi,
actually my requirement is I have a sample echo bot with waterfall dialog and i want to convert into composer which can upload to pva chat bot. I got the little bit information like below.
or
in the above screenshots they have mentioned we can upload the .dialog file which is generated from the composer into pva . but I'm unable to find file uploading option in pva canvas. could please give any information or documentation links for can we migrate waterfall dialog and convert it to a composer dialog which can be uploaded to PVA.
Hi @goutham010,
I'm not sure where these instructions come from, but there is no automated process to convert a Composer dialog to a PVA one. You'd need to recreate it in the PVA unified authoring canvas.
Henry
I found some sample code for uploading composer dialog files into PVA. does this concept fill my request. or else do we have any documentation for related my requirement.
same code below like
class Program { static async Task Main(string[] args) { // Set up HttpClient using (HttpClient client = new HttpClient()) { string pvaApiEndpoint = "https://<YOUR_PVA_INSTANCE_NAME>.api.crm.dynamics.com/api/botmanagement/v1.0/"; // Authenticate to the Power Virtual Agents API client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "<YOUR_PVA_API_TOKEN>"); // Create a new dialog in Power Virtual Agents string dialogName = "NewDialog"; string dialogContent = "<YOUR_COMPOSER_DIALOG_JSON>"; // Prepare the request body var requestBody = new { name = dialogName, content = dialogContent }; // Convert the request body to JSON var jsonContent = Newtonsoft.Json.JsonConvert.SerializeObject(requestBody); // Send the request to create the dialog var response = await client.PostAsync($"{pvaApiEndpoint}bots/<YOUR_BOT_ID>/dialogs", new StringContent(jsonContent, System.Text.Encoding.UTF8, "application/json")); // Check the response status if (response.IsSuccessStatusCode) { Console.WriteLine("Dialog created successfully!"); } else { Console.WriteLine("Failed to create the dialog. Status code: " + response.StatusCode); } } } }
@goutham010 as far as I know, there is no supported or documented way to programmatically deploy Bot Framework Composer dialogs to Power Virtual Agents. I'm not sure where this piece of code comes from.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 372
chiaraalina 125 Super User 2026 Season 1
Michael E. Gernaey 98 Moderator