הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
פלטפורמות Copilot Studio ו-Dynamics 365 Customer Service שונות מעט באופן שבו הן תומכות במסרים עשירים במדיה המבוססת על ערוץ וסוג הודעה עשירה. מאמר זה מתאר כיצד ניתן לתמוך בהודעות מדיה עשירה ב- Copilot Studio.
אחזור JSON של סוכן עבור Apple Messages for Business
- במפות האתר של מרכז הניהול של Copilot Service, יש לבחור פרודוקטיביות בחוויית התמיכה.
- בדף פרודוקטיביות , בחר נהל עבור הודעות מתקדמות.
- מהרשימה של כל ההודעות הזמינות ברשימה, בחר הודעה עשירה שברצונך לשלוח לשיחה.
- עבור הודעות עשירות של Apple Messages for Business, השתמש ב- API Microsoft.Omnichannel.sendMessageToConversation כדי לשלוח קבצי JSON.
אחזור JSON של סוכן עבור טפסי צ'אט חי, JSON מותאם אישית של צ'אט חי ותשובות מוצעות של WhatsApp
במפות האתר של מרכז הניהול של Copilot Service, יש לבחור פרודוקטיביות בחוויית התמיכה.
בדף פרודוקטיביות , בחר נהל עבור הודעות מתקדמות.
מצא את הודעת המדיה העשירה שברצונך שסוכן ישלח, ואם JSON זמין, היא תופיע תחת העמודה JSON עבור Copilot Studio . בחר הצג JSON ואת סוג הערוץ הספציפי כדי להעתיק את ה-JSON.
עבור תבניות מדיה עשירה של צ'אט חי ו-WhatsApp, אתה יכול להדביק את ה-JSON ישירות בצומת כרטיס מסתגל ב-Copilot Studio.
דוגמאות JSON עבור הודעות עשירות עבור 'הודעות Apple לעסקים'
סעיף זה כולל דוגמאות JSON לסוגי הודעות עשירים הזמינים בערוץ Apple Messages for Business ב-Dynamics 365 Customer Service. מידע נוסף: ניהול הודעות עשירות
הערה
לא ניתן לשלוח הודעות עשירות מסוג טפסים לשיחות.
אפל פיי
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 מתייחס לתשובות המוצעות כאל תשובות מהירות.
מידע קשור
חומר עזר בנושא API של JavaScript של SDK בצ'אט חי
חומר עזר בנושא API של JavaScript בריבוי ערוצים
sendMessageToConversation