रिच संदेशों को पुनर्प्राप्त और स्वरूपित करें

Copilot Studio और Dynamics 365 Customer Service प्लेटफ़ॉर्म चैनल और रिच मीडिया संदेश प्रकार के आधार पर रिच मीडिया संदेशों का समर्थन करने के तरीके में थोड़ा भिन्न हैं। यह आलेख वर्णन करता है कि आप Copilot Studio में रिच मीडिया संदेशों का समर्थन कैसे कर सकते हैं।

व्यवसाय के लिए Apple संदेश के लिए एजेंट JSON पुनर्प्राप्त करें

  1. Copilot सेवा व्यवस्थापन केंद्र के साइट मानचित्र में, समर्थन अनुभव में उत्पादकता का चयन करें.
  2. उत्पादकता पृष्ठ पर, रिच संदेशों के लिए प्रबंधित करें का चयन करें.
  3. सभी उपलब्ध सूची संदेशों की सूची से, उस रिच संदेश का चयन करें जिसे आप वार्तालाप को भेजना चाहते हैं.
  4. व्यवसाय के लिए Apple संदेश समृद्ध संदेशों के लिए, JSON फ़ाइलें भेजने के लिए Microsoft.Omnichannel.sendMessageToConversation API का उपयोग करें।

लाइव चैट फ़ॉर्म, लाइव चैट कस्टम JSON और WhatsApp द्वारा सुझाए गए उत्तरों के लिए एजेंट JSON पुनर्प्राप्त करें

  1. Copilot सेवा व्यवस्थापन केंद्र के साइट मानचित्र में, समर्थन अनुभव में उत्पादकता का चयन करें.

  2. उत्पादकता पृष्ठ पर, रिच संदेशों के लिए प्रबंधित करें का चयन करें.

  3. वह समृद्ध मीडिया संदेश ढूंढें जिसे आप किसी एजेंट को भेजना चाहते हैं, और यदि उसके पास JSON उपलब्ध है, तो यह Copilot Studio कॉलम के लिए JSON के अंतर्गत दिखाई देता है। JSON को कॉपी करने के लिए JSON देखें और विशिष्ट चैनल प्रकार चुनें।

    रिच संदेश JSON JSON

  4. लाइव चैट और व्हाट्सएप समृद्ध मीडिया टेम्प्लेट के लिए, आप JSON को सीधे Copilot Studio में एक अनुकूली कार्ड नोड में पेस्ट कर सकते हैं।

व्यवसाय के लिए Apple संदेश के लिए रिच संदेशों के लिए JSON नमूने

इस अनुभाग में Dynamics 365 Customer Service में व्यवसाय के लिए Apple संदेश चैनल में उपलब्ध रिच संदेश प्रकारों के लिए JSON नमूने शामिल हैं. अधिक जानकारी: रिच संदेश प्रबंधित करें

नोट

आप वार्तालापों के लिए प्रपत्र प्रकार रिच संदेश नहीं भेज सकते.

मोटी वेतन

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

प्रमाणीकरण

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

कस्टम JSON (iMessage एप्लिकेशन)

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

सूची पिकर

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

सुझाया गया उत्तर

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

समय चुनने वाला

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

लाइव चैट सुझाए गए जवाब और कार्ड/कैरोसेल भेजने के लिए एजेंटों को कॉन्फ़िगर करें

Copilot Studio सुझाए गए उत्तरों और बॉक्स से बाहर बुनियादी कार्डों का समर्थन करता है। संदेश भेजें - Microsoft Copilot Studio में और जानें।

नोट

Copilot Studio सुझाए गए उत्तरों को त्वरित उत्तर के रूप में संदर्भित करता है।

लाइव चैट SDK टूल JavaScript API का संदर्भ
Omnichannel JavaScript API संदर्भ
sendMessageToConversation