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 / take echo bot waterfal...
Copilot Studio
Unanswered

take echo bot waterfall dialog and convert it to a composer dialog which can be uploaded to PVA chat bot

(0) ShareShare
ReportReport
Posted on by 8

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.

goutham010_0-1685462061728.png

 

 or 

goutham010_1-1685462152187.png

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.

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

    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

  • goutham010 Profile Picture
    8 on at

    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);
     }
     }
     }
    }

     

  • HenryJammes Profile Picture
    Microsoft Employee on at

    @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.

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!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 445

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
chiaraalina Profile Picture

chiaraalina 59 Super User 2026 Season 1

Last 30 days Overall leaderboard