Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Platforme Copilot Studio i Dynamics 365 Customer Service neznatno se razlikuju u načinu na koji podržavaju bogate medijske poruke na osnovu kanala i tipa bogate medijske poruke. Ovaj članak opisuje kako možete podržati bogate medijske poruke u Copilot Studio-u.
Preuzmite agent JSON za Apple Messages for Business
- Na mapi sajta Copilot Service admin centra izaberite Produktivnost u iskustvu podrške.
- Na stranici Produktivnost izaberite Upravljanje za bogate poruke.
- Sa liste svih dostupnih poruka liste izaberite bogatu poruku koju želite da pošaljete u razgovor.
- Za Apple Messages for Business bogate poruke, koristite Microsoft.Omnichannel.sendMessageToConversation API za slanje JSON datoteka.
Preuzmite agent JSON za Live Chat obrasce, Live Chat prilagođeni JSON, i VhatsApp predložene odgovore
Na mapi sajta Copilot Service admin centra izaberite Produktivnost u iskustvu podrške.
Na stranici Produktivnost izaberite Upravljanje za bogate poruke.
Pronađite bogatu medijsku poruku koju želite da agent pošalje, a ako ima JSON na raspolaganju, pojavljuje se u koloni JSON za Copilot Studio . Izaberite Pogledaj JSON i određeni tip kanala da biste kopirali JSON.
Za Live Chat i VhatsApp bogate medijske šablone, JSON možete zalepiti direktno u čvor adaptivne kartice u Copilot Studio.
JSON uzorci za bogate poruke za Apple Messages for Business
Ovaj odeljak sadrži JSON uzorke za bogate tipove poruka dostupne u kanalu Apple Messages for Business u Dynamics 365 Customer Service. Dodatne informacije: Upravljanje bogatim porukama
Belešku
Ne možete slati bogate poruke tipa Forms u razgovore.
Jabuka Plati
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);
Potvrda identiteta
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);
Izbor liste
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);
Video bogata veza
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);
Sajt bogat link
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);
Konfigurišite agente za slanje predloženih odgovora i kartica / karusela
Copilot Studio podržava predložene odgovore i osnovne kartice iz kutije. Saznajte više u Pošalji poruku - Microsoft Copilot Studio.
Belešku
Copilot Studio se odnosi na predložene odgovore kao brze odgovore.
Srodne informacije
Live Chat SDK JavaScript API referenca
Omnichannel JavaScript API referenca
Srpskohrvatski / srpskohrvatski