Napomena
Za pristup ovoj stranici potrebna je autorizacija. Možete se pokušati prijaviti ili promijeniti direktorije.
Za pristup ovoj stranici potrebna je autorizacija. Možete pokušati promijeniti direktorije.
Platforme Copilot Studio i Dynamics 365 Customer Service neznatno se razlikuju u načinu podrške za poruke bogatih medija, ovisno o kanalu i tipu poruke. Ovaj članak opisuje kako možete podržati bogate medijske poruke u Copilot Studiju.
Dohvaćanje JSON-a agenta za Apple Messages za tvrtke
- Na karti web-mjesta centra za administratore Copilot Service odaberite Produktivnost u iskustvu podrške.
- Na stranici Produktivnost odaberite Upravljanje za obogaćene poruke.
- S popisa svih dostupnih poruka popisa odaberite obogaćenu poruku koju želite poslati u razgovor.
- Za obogaćene poruke servisa Apple Messages za tvrtke upotrijebite API Microsoft.Omnichannel.sendMessageToConversation za slanje JSON datoteka.
Dohvaćanje JSON-a agenta za obrasce za chat uživo, prilagođeni JSON za chat uživo i predložene odgovore WhatsAppa
Na karti web-mjesta centra za administratore Copilot Service odaberite Produktivnost u iskustvu podrške.
Na stranici Produktivnost odaberite Upravljanje za obogaćene poruke.
Pronađite bogatu medijsku poruku koju želite da agent pošalje, a ako ima dostupan JSON, pojavljuje se u stupcu JSON za Copilot Studio . Odaberite Prikaz JSON-a i određenu vrstu kanala da biste kopirali JSON.
Za Live Chat i WhatsApp bogate medijske predloške, JSON možete zalijepiti izravno u čvor adaptivne kartice u Copilot Studiju.
JSON uzorci za obogaćene poruke za Apple Messages za tvrtke
Ovaj odjeljak uključuje JSON uzorke za bogate vrste poruka dostupne u Apple Messages for Business kanalu u Dynamics 365 Customer Service. Dodatne informacije: Upravljanje obogaćenim porukama
Napomena
Ne možete slati obogaćene poruke tipa Forms u razgovore.
Apple Pay
let applePayJSON = // <copy_and_paste_details_content>
applePayJSON.survey = { Questions: JSON.parse(applePayJSON.survey)[0].Questions, Answers: JSON.parse(applePayJSON.survey)[1].Answers };
applePayJSON.survey.Answers.AppleMessagesforBusinessJSON = JSON.parse(applePayJSON.survey.Answers.AppleMessagesforBusinessJSON);
applePayJSON.survey.Answers.AppleMessagesforBusinessJSON = JSON.stringify(applePayJSON.survey.Answers.AppleMessagesforBusinessJSON);
applePayJSON.survey = JSON.stringify(applePayJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(applePayJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(applePayJSON);
Provjera autentičnosti
let authJSON = // <copy_and_paste_details_content>
authJSON.survey = { Questions: JSON.parse(authJSON.survey)[0].Questions, Answers: JSON.parse(authJSON.survey)[1].Answers };
authJSON.survey = JSON.stringify(authJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(authJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(authJSON);
Prilagođeni JSON (iMessage aplikacija)
let customJSON = // <copy_and_paste_details_content>
customJSON.survey = { Questions: JSON.parse(customJSON.survey)[0].Questions, Answers: JSON.parse(customJSON.survey)[1].Answers };
customJSON.survey.Answers.AppleMessagesforBusinessJSON = JSON.parse(customJSON.survey.Answers.AppleMessagesforBusinessJSON);
customJSON.survey.Answers.AppleMessagesforBusinessJSON = JSON.stringify(customJSON.survey.Answers.AppleMessagesforBusinessJSON);
customJSON.survey = JSON.stringify(customJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(customJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(customJSON);
Birač popisa
listPickerJSON = // <copy_and_paste_details_content>
listPickerJSON.survey = { Questions: JSON.parse(lpFromDetails.survey)[0].Questions, Answers: JSON.parse(listPickerJSON.survey)[1].Answers };
listPickerJSON.survey = JSON.stringify(listPickerJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(listPickerJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(listPickerJSON);
Predloženi odgovor
suggestedReplyJSON = // <copy_and_paste_details_content>
suggestedReplyJSON.survey = { Questions: JSON.parse(suggestedReplyJSON.survey)[0].Questions, Answers: JSON.parse(suggestedReplyJSON.survey)[1].Answers };
suggestedReplyJSON.survey = JSON.stringify(suggestedReplyJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(suggestedReplyJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(suggestedReplyJSON);
Birač vremena
timePickerJSON = // <copy_and_paste_details_content>
timePickerJSON.survey = { Questions: JSON.parse(timePickerJSON.survey)[0].Questions, Answers: JSON.parse(timePickerJSON.survey)[1].Answers };
timePickerJSON.survey = JSON.stringify(timePickerJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(timePickerJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(timePickerJSON);
Obogaćena poveznica videozapisa
videoRichLinkJSON = // <copy_and_paste_details_content>
videoRichLinkJSON.survey = { Questions: JSON.parse(videoRichLinkJSON.survey)[0].Questions, Answers: JSON.parse(videoRichLinkJSON.survey)[1].Answers };
timePickerJSON.survey = JSON.stringify(videoRichLinkJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(videoRichLinkJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(videoRichLinkJSON);
Bogata poveznica na web stranicu
websiteRichLinkJSON = // <copy_and_paste_details_content>
websiteRichLinkJSON.survey = { Questions: JSON.parse(websiteRichLinkJSON.survey)[0].Questions, Answers: JSON.parse(websiteRichLinkJSON.survey)[1].Answers };
timePickerJSON.survey = JSON.stringify(websiteRichLinkJSON.survey);
// Can now send this payload using the API
Microsoft.Omnichannel.sendMessageToConversation(websiteRichLinkJSON, false);
// Or take the JSON elsewhere for use in bringing your own logic
copy(websiteRichLinkJSON);
Konfiguriranje agenata za slanje predloženih odgovora i kartica/vrtuljaka putem chata uživo
Copilot Studio podržava predložene odgovore i osnovne kartice iz kutije. Saznajte više u članku Slanje poruke – Microsoft Copilot Studio.
Napomena
Copilot Studio predložene odgovore naziva brzim odgovorima.
Povezane informacije
Referenca JavaScript API-ja za chat SDK za chat uživo
Referenca JavaScript API-ja za Svi kanali
sendMessageToConversation