סוכן תומך מספק הדרכה בזמן אמת במהלך שיחות עם לקוחות, כדי לעזור לנציגי שירות אנושיים לבצע משימות מורכבות שכוללות כמה שלבים. תכונת תהליכי העבודה הרב-שלביים עוקבת אחרי השלבים הנדרשים ומספקת פרטים על המשימות בהקשר שלהן, כדי לשפר את הפרודוקטיביות של הנציגים, להאיץ את ההכשרה תוך כדי עבודה ולשמור על איכות שירות ועמידה בדרישות. התכונה הזו מזהה באופן אוטומטי את השלב הנכון על סמך התקדמות השיחה.
תכונות עיקריות
התכונה 'תהליכי עבודה מרובי-שלבים' בסוכן וירטואלי מספקת את היתרונות הבאים:
- תהליכים סטנדרטיים: עוזרים לכל נציג אנושי לפעול לפי אותם השלבים בדיוק, וכך לצמצם שגיאות תאימות ולקצר את זמן ההכשרה.
- חילוץ פרטים: המערכת מתעדת באופן אוטומטי פרטים חשובים מהודעות של לקוחות, כמו מספרי הזמנות, תאריכים או העדפות.
- הפעלה אוטומטית של כלי: מפעיל כלי מערכת באופן אוטומטי במהלך השיחה או ממתין לאישור של נציג אנושי לפני השלמת משימות חשובות.
- Human-in-the-loop: נציגים אנושיים שולטים בכל שלב. הם יכולים להתחיל תהליכי עבודה או לבטל אותם, לערוך מידע שמור, לסמן משימות כהושלמו ולחזור לשלבים קודמים.
איך זה עובד
סוכן מסייע מתחיל תהליכי עבודה מרובי-שלבים כשנציג אנושי מתחיל שיחה והנושא תואם לתהליך עבודה מסוים. בתהליכי עבודה מרובי-שלבים מוצגים 3 כרטיסי תהליך העבודה המובילים עם כותרת והוראות. לדוגמה, אם לקוח מתעניין בפגישה עם טכנאי, 3 כרטיסי זרימת העבודה העליונים יהיו:
- שאילתה לגבי פגישה
- ביטול הפגישה
- קביעת פגישות
ההוראות לבירור לגבי פגישה יכללו שלבים כמו:
- אימות הלקוח
- אחזור פרטי פגישות
- אישור פרטי הפגישה
תהליכי עבודה עם כמה שלבים פועלים במצב פרואקטיבי. הנציג הווירטואלי קורא כל הודעה לעסק ומציע עד שלושה תהליכי עבודה רלוונטיים. אחרי שהנציג האנושי מפעיל תהליך עבודה, מצב ההנחיה עוקב אחרי השלמת השלב ומפיק הצעות לתשובות ולפעולות הבאות בשלב הפעיל.
שלבים בתהליך העבודה
תהליכי עבודה מורכבים מחמישה שלבים עיקריים:
- הסבר ללקוח: מוצגות הוראות ותשובות מומלצות לנציג אנושי, שאותן הוא יכול לשתף עם הלקוחות.
- איסוף מידע: הגדרה של פרטים ספציפיים שנציג אנושי צריך לאסוף מהלקוח.
- פעולה ידנית: מכוונת את הנציג האנושי לבצע פעולה בכלי חיצוני או באפליקציית מחשב ולתעד משתני פלט.
- קריאה לכלי: סוכן ה-Companion מפעיל כלי מערכת אוטומטי ושומר את פרטי התגובה במשתני תהליך העבודה.
- סיום תהליך העבודה: מסמן את סיום של ענף בתהליך העבודה.
דוגמה לתהליך עבודה
בדוגמה הבאה של החזרה והחלפה של פריט פגום אפשר לראות איך יוצרים תהליך עבודה מלא עם הסתעפויות, מפרסמים אותו כגרסה הפעילה, ומצרפים אותו לסוכן תומך.
שלב 1: יצירת תהליך העבודה
אובייקט ה-JSON הבא מגדיר את המבנה המלא של טיוטת תהליך עבודה:
POST /v2beta1/projects/my-project/locations/global/companionAgentWorkflows
{
"displayName": "Damaged Item Return and Replacement",
"description": "Use this workflow when a customer reports receiving a damaged, broken, or defective item and requests a replacement or refund.",
"rootStepId": "step_1_collect_details",
"steps": [
{
"id": "step_1_collect_details",
"title": "Collect Order ID and Resolution Preference",
"type": "INFORMATION_COLLECTION",
"actions": [
{
"humanAgentAction": {
"informationCollectionAction": {
"displayDetails": {
"content": "Ask the customer for their **Order ID** and whether they prefer a **Replacement** or a **Refund**.",
"enableMarkdown": true
},
"messageSuggestionConfig": {
"content": "Ask the customer for their order number and whether they would like a free replacement or a full refund.",
"verbatim": false
},
"variables": [
{
"name": "order_id",
"description": "The customer's alphanumeric order identifier (for example, ORD-5510).",
"stringType": {}
},
{
"name": "resolution_preference",
"description": "Whether the customer wants a replacement unit or a refund.",
"enumType": {
"values": ["REPLACEMENT", "REFUND"]
}
}
]
}
}
}
],
"transitions": [
{
"targetStepId": "step_2_check_eligibility"
}
]
},
{
"id": "step_2_check_eligibility",
"title": "Verify Order Return Eligibility",
"type": "SYSTEM_ACTION",
"actions": [
{
"systemAction": {
"cesToolSpec": {
"cesTool": "projects/my-project/locations/global/apps/order-app/tools/lookup-order",
"confirmationRequirement": "NOT_REQUIRED"
},
"outputVariableMappings": [
{
"variable": {
"name": "order_eligible",
"description": "Whether the order is within the 30-day return window.",
"booleanType": {}
},
"fieldPaths": [
{"path": "order.returnEligible"},
{"path": "data.isEligible"}
]
}
]
}
}
],
"transitions": [
{
"targetStepId": "step_3a_log_replacement",
"condition": {
"variableCondition": "order_eligible == true && resolution_preference == 'REPLACEMENT'"
}
},
{
"targetStepId": "step_3b_refund_disclosure",
"condition": {
"variableCondition": "order_eligible == true && resolution_preference == 'REFUND'"
}
},
{
"targetStepId": "step_3c_explain_ineligible"
}
]
},
{
"id": "step_3a_log_replacement",
"title": "Create Replacement Shipment in Warehouse Portal",
"type": "MANUAL_ACTION",
"actions": [
{
"humanAgentAction": {
"manualExternalSystemAction": {
"displayDetails": {
"content": "Open the **Warehouse Portal**, select **Expedited Replacement**, and enter the new tracking number below.",
"enableMarkdown": true
},
"variables": [
{
"name": "replacement_tracking_id",
"description": "The tracking number generated in the Warehouse Portal.",
"stringType": {}
}
]
}
}
}
],
"transitions": [
{
"targetStepId": "step_4_end"
}
]
},
{
"id": "step_3b_refund_disclosure",
"title": "Read Mandatory Refund Disclosure",
"type": "INFORMATIONAL_MESSAGE",
"actions": [
{
"humanAgentAction": {
"informationalResponseAction": {
"displayDetails": {
"content": "Read the required refund policy disclosure verbatim to the customer.",
"enableMarkdown": false
},
"messageSuggestionConfig": {
"content": "Your full refund has been approved. Please note that refunds take 3 to 5 business days to post to your original payment method, and the damaged item must be dropped off using the prepaid return label within 14 calendar days.",
"verbatim": true
}
}
}
}
],
"transitions": [
{
"targetStepId": "step_4_end"
}
]
},
{
"id": "step_3c_explain_ineligible",
"title": "Explain Return Window Expiration",
"type": "INFORMATIONAL_MESSAGE",
"actions": [
{
"humanAgentAction": {
"informationalResponseAction": {
"messageSuggestionConfig": {
"content": "Politely inform the customer that the 30-day return window has expired and offer a 15% courtesy discount toward a replacement.",
"verbatim": false
}
}
}
}
],
"transitions": [
{
"targetStepId": "step_4_end"
}
]
},
{
"id": "step_4_end",
"title": "Complete Workflow",
"type": "END_WORKFLOW"
}
]
}
שלב 2: פרסום וקידום לשידור חי
שולחים בקשה לפרסום טיוטת תהליך העבודה ולהגדרת הסטטוס שלו כפעיל, כמו בדוגמה הבאה:
POST /v2beta1/projects/my-project/locations/global/companionAgentWorkflows/damaged-item-return:publish
{
"markLive": true
}
שלב 3: צירוף תהליך העבודה לסוכן וירטואלי
אובייקט ה-JSON הבא מציין את ההגדרות של הסוכן הנלווה ואת הגדרות הטריגר לצירוף תהליך העבודה:
PATCH /v2beta1/projects/my-project/locations/global/companionAgents/my-companion-agent?updateMask=companionAgentWorkflowSpecs,skillConfigs
{
"companionAgentWorkflowSpecs": [
{
"workflow": "projects/my-project/locations/global/companionAgentWorkflows/damaged-item-return",
"proactiveEnabled": true
}
],
"skillConfigs": [
{
"skillTriggeringEvent": "END_OF_UTTERANCE",
"guidanceSkillConfig": {}
}
]
}