Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Plattformarna Copilot Studio och Dynamics 365 for Customer Service skiljer sig något åt i hur de stöder multimediemeddelanden baserat på kanal och multimediemeddelandetyp. Den här artikeln beskriver hur du kan stödja multimediemeddelanden i Copilot Studio.
Hämta agent-JSON för Apple Messages för företag
- På webbplatskartan för administrationscentret för Copilot-tjänsten väljer du Produktivitet i supportmiljön.
- På sidan Produktivitet väljer du Hantera för omfattande meddelanden.
- I listan över alla tillgängliga meddelanden i listan väljer du ett omfattande meddelande som du vill skicka till konversationen.
- För Apple Messages for Business omfattande meddelanden använder du API:et Microsoft.Omnichannel.sendMessageToConversation för att skicka JSON-filer.
Hämta agent-JSON för livechattformulär, anpassad JSON för livechatt och WhatsApp-föreslagna svar
På webbplatskartan för administrationscentret för Copilot-tjänsten väljer du Produktivitet i supportmiljön.
På sidan Produktivitet väljer du Hantera för omfattande meddelanden.
Leta reda på det multimediameddelande som du vill att en agent ska skicka, och om den har JSON tillgängligt visas det under kolumnen JSON för Copilot Studio . Välj Visa JSON och den specifika kanaltypen för att kopiera JSON.
: För Live Chat och WhatsApp rich media-mallar kan du klistra in JSON direkt i en adaptiv kortnod i Copilot Studio.
JSON-exempel för omfattande meddelanden för Apple Messages för företag
Det här avsnittet innehåller JSON-exempel för de omfattande meddelandetyper som är tillgängliga i Apple Messages för företag-kanalen i Flerkanal för Customer Service. Mer information: Hantera omfattande meddelanden
Anmärkning
Du kan inte skicka formaterade meddelanden av typen Formulär till konversationer.
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);
Authentication
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);
Anpassad JSON (iMessage-program)
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);
Väljare för lista
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);
Förslag till svar
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);
Tidsväljare
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);
Rik länk till video
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);
Rik länk till webbplats
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);
Konfigurera agenter för att skicka föreslagna svar och kort/karuseller i livechatten
Copilot Studio har stöd för föreslagna svar och grundläggande kort. Läs mer i Skicka ett meddelande – Microsoft Copilot Studio.
Anmärkning
Copilot Studio hänvisar till föreslagna svar som snabba svar.
Relaterad information
JavaScript API-referens för SDK för livechatt
JavaScript API-referens för Flerkanal
sendMessageToConversation