[{"data":1,"prerenderedAt":1761},["ShallowReactive",2],{"navigation-en":3,"page-en-/product-guide/ai-agents":280,"en-/product-guide/ai-agents-surround":1756},[4,102,129,156,252,273],{"title":5,"path":6,"stem":7,"children":8,"icon":11},"دليل المنتج","/product-guide","0.product-guide/01.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82,87,92,97],{"title":10,"path":6,"stem":7,"icon":11},"نظرة عامة","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"لوحة التحكم والتنقل","/product-guide/getting-started","0.product-guide/02.getting-started","i-lucide-layout-dashboard",{"title":18,"path":19,"stem":20,"icon":21},"أعضاء الفريق والصلاحيات","/product-guide/team-permissions","0.product-guide/03.team-permissions","i-lucide-users-2",{"title":23,"path":24,"stem":25,"icon":26},"ربط واتساب","/product-guide/whatsapp-connect","0.product-guide/04.whatsapp-connect","i-lucide-qr-code",{"title":28,"path":29,"stem":30,"icon":31},"إعدادات واتساب","/product-guide/whatsapp-settings","0.product-guide/05.whatsapp-settings","i-lucide-settings-2",{"title":33,"path":34,"stem":35,"icon":36},"جهات اتصال واتساب","/product-guide/whatsapp-contacts","0.product-guide/06.whatsapp-contacts","i-lucide-users",{"title":38,"path":39,"stem":40,"icon":41},"حملات واتساب","/product-guide/whatsapp-campaigns","0.product-guide/07.whatsapp-campaigns","i-lucide-megaphone",{"title":43,"path":44,"stem":45,"icon":46},"تيليجرام","/product-guide/telegram","0.product-guide/08.telegram","i-lucide-send",{"title":48,"path":49,"stem":50,"icon":51},"إنستغرام","/product-guide/instagram","0.product-guide/09.instagram","i-simple-icons-instagram",{"title":53,"path":54,"stem":55,"icon":56},"لينكدإن","/product-guide/linkedin","0.product-guide/10.linkedin","i-simple-icons-linkedin",{"title":58,"path":59,"stem":60,"icon":61},"صندوق الوارد الموحّد","/product-guide/inbox","0.product-guide/11.inbox","i-lucide-inbox",{"title":63,"path":64,"stem":65,"icon":66},"قاعدة المعرفة","/product-guide/knowledge-base","0.product-guide/12.knowledge-base","i-lucide-book-text",{"title":68,"path":69,"stem":70,"icon":71},"وكلاء الذكاء الاصطناعي","/product-guide/ai-agents","0.product-guide/13.ai-agents","i-lucide-bot",{"title":73,"path":74,"stem":75,"icon":76},"إعدادات الرد الآلي","/product-guide/ai-reply-settings","0.product-guide/14.ai-reply-settings","i-lucide-message-square-reply",{"title":78,"path":79,"stem":80,"icon":81},"الدردشة الحية","/product-guide/web-chat","0.product-guide/15.web-chat","i-lucide-message-circle",{"title":83,"path":84,"stem":85,"icon":86},"الحجوزات","/product-guide/bookings","0.product-guide/16.bookings","i-lucide-calendar",{"title":88,"path":89,"stem":90,"icon":91},"الطلبات","/product-guide/orders","0.product-guide/17.orders","i-lucide-package",{"title":93,"path":94,"stem":95,"icon":96},"تكامل سلة","/product-guide/salla","0.product-guide/18.salla","i-lucide-shopping-bag",{"title":98,"path":99,"stem":100,"icon":101},"الإعدادات","/product-guide/settings","0.product-guide/19.settings","i-lucide-settings",{"title":103,"path":104,"stem":105,"children":106,"icon":109},"Partner Guide","/partner-guide","1.partner-guide/0.index",[107,110,115,120,125],{"title":108,"path":104,"stem":105,"icon":109},"Overview","i-lucide-handshake",{"title":111,"path":112,"stem":113,"icon":114},"Partner Portal Overview","/partner-guide/overview","1.partner-guide/1.overview","i-lucide-building-2",{"title":116,"path":117,"stem":118,"icon":119},"Create & Manage Sub-Accounts","/partner-guide/accounts","1.partner-guide/2.accounts","i-lucide-users-round",{"title":121,"path":122,"stem":123,"icon":124},"Login as Client & Return","/partner-guide/login-as","1.partner-guide/3.login-as","i-lucide-log-in",{"title":126,"path":127,"stem":128,"icon":109},"Partner Plans & Referrals","/partner-guide/plans-referrals","1.partner-guide/4.plans-referrals",{"title":130,"path":131,"stem":132,"children":133,"icon":135},"Introduction","/getting-started","2.getting-started/1.index",[134,136,141,146,151],{"title":130,"path":131,"stem":132,"icon":135},"i-lucide-house",{"title":137,"path":138,"stem":139,"icon":140},"Authentication","/getting-started/authentication","2.getting-started/2.authentication","i-lucide-key-round",{"title":142,"path":143,"stem":144,"icon":145},"Rate Limits","/getting-started/rate-limits","2.getting-started/3.rate-limits","i-lucide-gauge",{"title":147,"path":148,"stem":149,"icon":150},"Error Handling","/getting-started/errors","2.getting-started/4.errors","i-lucide-triangle-alert",{"title":152,"path":153,"stem":154,"icon":155},"Country IDs","/getting-started/country-ids","2.getting-started/5.country-ids","i-lucide-globe",{"title":157,"path":158,"stem":159,"children":160,"icon":162},"API Reference","/rest-api","3.rest-api/1.index",[161,163,168,172,176,181,186,190,195,200,205,209,213,217,222,226,230,234,239,243,247],{"title":157,"path":158,"stem":159,"icon":162},"i-lucide-code-2",{"title":164,"path":165,"stem":166,"icon":167},"Lists & Segments","/rest-api/lists","3.rest-api/10.lists","i-lucide-list",{"title":169,"path":170,"stem":171,"icon":71},"AI Agents","/rest-api/ai-agents","3.rest-api/11.ai-agents",{"title":173,"path":174,"stem":175,"icon":46},"Campaigns","/rest-api/campaigns","3.rest-api/12.campaigns",{"title":177,"path":178,"stem":179,"icon":180},"Support Tickets","/rest-api/tickets","3.rest-api/13.tickets","i-lucide-ticket",{"title":182,"path":183,"stem":184,"icon":185},"Web Chat","/rest-api/web-chat","3.rest-api/14.web-chat","i-lucide-message-square",{"title":187,"path":188,"stem":189,"icon":11},"Knowledge Base","/rest-api/knowledge-base","3.rest-api/15.knowledge-base",{"title":191,"path":192,"stem":193,"icon":194},"Voice","/rest-api/voice","3.rest-api/16.voice","i-lucide-mic",{"title":196,"path":197,"stem":198,"icon":199},"Media","/rest-api/media","3.rest-api/17.media","i-lucide-image",{"title":201,"path":202,"stem":203,"icon":204},"Channels","/rest-api/channels","3.rest-api/18.channels","i-lucide-plug",{"title":206,"path":207,"stem":208,"icon":109},"Partners","/rest-api/partners","3.rest-api/19.partners",{"title":210,"path":211,"stem":212,"icon":36},"Contacts","/rest-api/contacts","3.rest-api/2.contacts",{"title":214,"path":215,"stem":216,"icon":56},"LinkedIn","/rest-api/linkedin","3.rest-api/20.linkedin",{"title":218,"path":219,"stem":220,"icon":221},"Chat Completions (LLM)","/rest-api/chat-completions","3.rest-api/21.chat-completions","i-lucide-sparkles",{"title":223,"path":224,"stem":225,"icon":81},"Messages","/rest-api/messages","3.rest-api/3.messages",{"title":227,"path":228,"stem":229,"icon":86},"Bookings","/rest-api/bookings","3.rest-api/4.bookings",{"title":231,"path":232,"stem":233,"icon":96},"Orders","/rest-api/orders","3.rest-api/5.orders",{"title":235,"path":236,"stem":237,"icon":238},"Webhooks API","/rest-api/webhooks-api","3.rest-api/6.webhooks-api","i-lucide-webhook",{"title":240,"path":241,"stem":242,"icon":114},"Account","/rest-api/account","3.rest-api/7.account",{"title":244,"path":245,"stem":246,"icon":21},"Team Members","/rest-api/team","3.rest-api/8.team",{"title":248,"path":249,"stem":250,"icon":251},"Tags","/rest-api/tags","3.rest-api/9.tags","i-lucide-tag",{"title":253,"path":254,"stem":255,"children":256,"icon":258},"Webhooks Overview","/webhooks","4.webhooks/1.index",[257,259,263,268],{"title":253,"path":254,"stem":255,"icon":258},"i-lucide-zap",{"title":260,"path":261,"stem":262,"icon":167},"Events & Payloads","/webhooks/events","4.webhooks/2.events",{"title":264,"path":265,"stem":266,"icon":267},"Signature Verification","/webhooks/security","4.webhooks/3.security","i-lucide-shield-check",{"title":269,"path":270,"stem":271,"icon":272},"Delivery & Retries","/webhooks/delivery","4.webhooks/4.delivery","i-lucide-refresh-cw",{"title":274,"path":275,"stem":276,"children":277,"icon":279},"Changelog","/changelog","5.changelog/1.index",[278],{"title":274,"path":275,"stem":276,"icon":279},"i-lucide-history",{"id":281,"title":68,"body":282,"description":1749,"extension":1750,"links":1751,"meta":1752,"navigation":1753,"path":69,"seo":1754,"stem":70,"__hash__":1755},"docs_en/0.product-guide/13.ai-agents.md",{"type":283,"value":284,"toc":1696},"minimark",[285,289,294,298,301,305,352,354,358,373,375,379,384,487,491,494,508,513,523,527,530,535,541,545,548,553,559,563,568,571,577,581,584,590,594,597,666,670,673,739,747,751,754,771,775,778,801,803,807,810,880,884,955,958,1019,1023,1089,1091,1095,1099,1154,1158,1187,1189,1193,1197,1203,1207,1213,1215,1219,1289,1291,1295,1299,1381,1385,1388,1404,1406,1410,1414,1420,1425,1444,1448,1453,1457,1474,1478,1483,1487,1501,1505,1510,1514,1528,1532,1537,1541,1560,1564,1569,1573,1587,1589,1593,1597,1611,1615,1629,1633,1650,1654,1668,1670,1674],[286,287,169],"h1",{"id":288},"ai-agents",[290,291,293],"h2",{"id":292},"purpose","Purpose",[295,296,297],"p",{},"AI Agents are the personas behind SkyLight Chat's automated responses. Each agent has its own personality, instructions, and behavior settings. You can create multiple agents for different purposes — sales, support, booking — and assign them to contacts or channels.",[299,300],"hr",{},[290,302,304],{"id":303},"who-can-access","Who Can Access",[306,307,308,321],"table",{},[309,310,311],"thead",{},[312,313,314,318],"tr",{},[315,316,317],"th",{},"Requirement",[315,319,320],{},"Details",[322,323,324,336,344],"tbody",{},[312,325,326,330],{},[327,328,329],"td",{},"Permission",[327,331,332],{},[333,334,335],"code",{},"manage_ai_writer",[312,337,338,341],{},[327,339,340],{},"Plan",[327,342,343],{},"Pro or higher with AI features",[312,345,346,349],{},[327,347,348],{},"Role",[327,350,351],{},"Admin or Agent with permission",[299,353],{},[290,355,357],{"id":356},"prerequisites","Prerequisites",[359,360,361,365,370],"ul",{},[362,363,364],"li",{},"Pro plan or higher with AI features",[362,366,367,369],{},[333,368,335],{}," permission",[362,371,372],{},"Knowledge Base with content (recommended for best results)",[299,374],{},[290,376,378],{"id":377},"full-walkthrough","Full Walkthrough",[380,381,383],"h3",{"id":382},"creating-an-ai-agent","Creating an AI Agent",[385,386,387,394,415,435,452,466,482],"ol",{},[362,388,389,390],{},"Click ",[391,392,393],"strong",{},"+ Create Agent",[362,395,396,397,400,401],{},"Fill in the ",[391,398,399],{},"Basic Information",":\n",[359,402,403,409],{},[362,404,405,408],{},[391,406,407],{},"Name"," — Internal identifier (e.g., \"Sales Assistant\")",[362,410,411,414],{},[391,412,413],{},"System Prompt"," — Core instructions (see below)",[362,416,417,418,400,421],{},"Configure ",[391,419,420],{},"Personality & Style",[359,422,423,429],{},[362,424,425,428],{},[391,426,427],{},"Personality Prompt"," — Tone and character description",[362,430,431,434],{},[391,432,433],{},"Instruction Prompt"," — Task-specific guidelines",[362,436,437,438,400,441],{},"Set ",[391,439,440],{},"Response Guidelines",[359,442,443,446,449],{},[362,444,445],{},"Language preference",[362,447,448],{},"Tone (formal/casual)",[362,450,451],{},"Maximum length",[362,453,417,454,457,458],{},[391,455,456],{},"Sub-Agent Instructions"," (optional):\n",[359,459,460,463],{},[362,461,462],{},"Booking agent instructions",[362,464,465],{},"Memory agent instructions",[362,467,437,468,400,471],{},[391,469,470],{},"Timing & Behavior",[359,472,473,476,479],{},[362,474,475],{},"First contact wait time",[362,477,478],{},"In-conversation wait time",[362,480,481],{},"Conversation window",[362,483,389,484],{},[391,485,486],{},"Create Agent",[380,488,490],{"id":489},"writing-the-system-prompt","Writing the System Prompt",[295,492,493],{},"The system prompt is the core instruction set. It should include:",[359,495,496,499,502,505],{},[362,497,498],{},"Who the agent is",[362,500,501],{},"What company/brand it represents",[362,503,504],{},"What it can and cannot do",[362,506,507],{},"Key policies or constraints",[295,509,510],{},[391,511,512],{},"Example system prompt:",[514,515,520],"pre",{"className":516,"code":518,"language":519},[517],"language-text","You are a helpful sales assistant for Nakheel Trading, a premium date fruit retailer in Saudi Arabia.\n\nYour role:\n- Answer questions about our products, pricing, and availability\n- Help customers find the right products for their needs\n- Provide information about shipping and delivery\n- Direct complex inquiries to human support\n\nGuidelines:\n- Always be polite and professional\n- Use the customer's name when known\n- Never make up information — if unsure, offer to connect with support\n- Respect customer privacy — never ask for sensitive information\n","text",[333,521,518],{"__ignoreMap":522},"",[380,524,526],{"id":525},"configuring-the-personality-prompt","Configuring the Personality Prompt",[295,528,529],{},"The personality prompt shapes how the agent communicates:",[295,531,532],{},[391,533,534],{},"Example personality prompt:",[514,536,539],{"className":537,"code":538,"language":519},[517],"Friendly, warm, and genuinely helpful. Speak as if you're a knowledgeable shop assistant who loves what they sell. Use the customer's first name when available. Express enthusiasm about products without being pushy. End interactions by asking if there's anything else you can help with.\n",[333,540,538],{"__ignoreMap":522},[380,542,544],{"id":543},"setting-instruction-prompts","Setting Instruction Prompts",[295,546,547],{},"Task-specific instructions for particular scenarios:",[295,549,550],{},[391,551,552],{},"Example instruction prompt:",[514,554,557],{"className":555,"code":556,"language":519},[517],"When discussing products:\n- Always mention the origin and quality grade\n- Offer the premium option first, then alternatives\n- If asking about bulk orders, mention our wholesale pricing\n- For gift options, suggest our presentation boxes\n\nWhen the customer seems ready to buy:\n- Provide the product link or ordering instructions\n- Mention current promotions if applicable\n- Offer to answer any final questions\n",[333,558,556],{"__ignoreMap":522},[380,560,562],{"id":561},"configuring-sub-agent-instructions","Configuring Sub-Agent Instructions",[564,565,567],"h4",{"id":566},"booking-agent-instructions","Booking Agent Instructions",[295,569,570],{},"If you use the booking feature, provide guidance:",[514,572,575],{"className":573,"code":574,"language":519},[517],"When handling bookings:\n- Always ask for the preferred date and time first\n- Confirm the customer's location for in-person appointments\n- For vehicle services, request a photo of the vehicle\n- Collect phone number for confirmation SMS\n- Double-check time zone if customer seems international\n",[333,576,574],{"__ignoreMap":522},[564,578,580],{"id":579},"memory-agent-instructions","Memory Agent Instructions",[295,582,583],{},"Control what the AI remembers about contacts:",[514,585,588],{"className":586,"code":587,"language":519},[517],"Remember about each customer:\n- Their preferred products and past purchases\n- Preferred contact time (morning/afternoon/evening)\n- Any dietary restrictions or preferences mentioned\n- Special occasions (birthdays, anniversaries) they share\n\nSegment customers:\n- Tag as \"VIP\" after 3+ orders\n- Tag as \"Wholesale\" if inquiring about bulk\n- Tag as \"International\" if outside Saudi Arabia\n",[333,589,587],{"__ignoreMap":522},[380,591,593],{"id":592},"setting-response-guidelines","Setting Response Guidelines",[295,595,596],{},"Configure response formatting:",[306,598,599,612],{},[309,600,601],{},[312,602,603,606,609],{},[315,604,605],{},"Setting",[315,607,608],{},"Options",[315,610,611],{},"Description",[322,613,614,627,640,653],{},[312,615,616,621,624],{},[327,617,618],{},[391,619,620],{},"Language",[327,622,623],{},"Arabic, English, Auto",[327,625,626],{},"Response language",[312,628,629,634,637],{},[327,630,631],{},[391,632,633],{},"Tone",[327,635,636],{},"Formal, Casual, Professional",[327,638,639],{},"Communication style",[312,641,642,647,650],{},[327,643,644],{},[391,645,646],{},"Max Length",[327,648,649],{},"1-5 sentences, Unlimited",[327,651,652],{},"Response brevity",[312,654,655,660,663],{},[327,656,657],{},[391,658,659],{},"Style",[327,661,662],{},"Conversational, Informative, Sales",[327,664,665],{},"Overall approach",[380,667,669],{"id":668},"configuring-timing","Configuring Timing",[295,671,672],{},"Control response timing to feel natural:",[306,674,675,689],{},[309,676,677],{},[312,678,679,681,684,687],{},[315,680,605],{},[315,682,683],{},"Default",[315,685,686],{},"Range",[315,688,611],{},[322,690,691,707,723],{},[312,692,693,698,701,704],{},[327,694,695],{},[391,696,697],{},"First Contact Wait",[327,699,700],{},"60 seconds",[327,702,703],{},"0-300s",[327,705,706],{},"Delay before first reply",[312,708,709,714,717,720],{},[327,710,711],{},[391,712,713],{},"In-Conversation Wait",[327,715,716],{},"2 seconds",[327,718,719],{},"0-30s",[327,721,722],{},"Delay between messages",[312,724,725,730,733,736],{},[327,726,727],{},[391,728,729],{},"Conversation Window",[327,731,732],{},"20 minutes",[327,734,735],{},"5-60m",[327,737,738],{},"Inactivity before \"new\" conversation",[740,741,744],"callout",{"color":742,"icon":743},"primary","i-lucide-info",[295,745,746],{},"Timing delays make AI responses feel more natural and give customers time to send follow-up messages.",[380,748,750],{"id":749},"setting-an-agent-as-default","Setting an Agent as Default",[295,752,753],{},"The default agent handles all new conversations:",[385,755,756,759,765,768],{},[362,757,758],{},"Open the agent you want as default",[362,760,389,761,764],{},[391,762,763],{},"Set as Default"," or toggle the Default switch",[362,766,767],{},"Confirm the change",[362,769,770],{},"Previous default agent loses the flag",[380,772,774],{"id":773},"testing-an-agent","Testing an Agent",[295,776,777],{},"Preview how the agent responds:",[385,779,780,783,792,795,798],{},[362,781,782],{},"Open the agent settings",[362,784,389,785,788,789],{},[391,786,787],{},"Test Agent"," or ",[391,790,791],{},"Preview",[362,793,794],{},"Enter a sample customer message",[362,796,797],{},"View the AI's response",[362,799,800],{},"Adjust prompts as needed",[299,802],{},[290,804,806],{"id":805},"field-control-glossary","Field & Control Glossary",[380,808,399],{"id":809},"basic-information",[306,811,812,827],{},[309,813,814],{},[312,815,816,819,822,825],{},[315,817,818],{},"Field",[315,820,821],{},"Type",[315,823,824],{},"Required",[315,826,611],{},[322,828,829,842,854,868],{},[312,830,831,833,836,839],{},[327,832,407],{},[327,834,835],{},"Text",[327,837,838],{},"Yes",[327,840,841],{},"Internal display name (max 255 chars)",[312,843,844,846,849,851],{},[327,845,413],{},[327,847,848],{},"Textarea",[327,850,838],{},[327,852,853],{},"Core AI instructions",[312,855,856,859,862,865],{},[327,857,858],{},"Is Active",[327,860,861],{},"Toggle",[327,863,864],{},"No",[327,866,867],{},"Whether agent can be used",[312,869,870,873,875,877],{},[327,871,872],{},"Is Default",[327,874,861],{},[327,876,864],{},[327,878,879],{},"Assign to new contacts automatically",[380,881,883],{"id":882},"prompt-fields","Prompt Fields",[306,885,886,898],{},[309,887,888],{},[312,889,890,892,894,896],{},[315,891,818],{},[315,893,821],{},[315,895,824],{},[315,897,611],{},[322,899,900,911,922,933,944],{},[312,901,902,904,906,908],{},[327,903,413],{},[327,905,848],{},[327,907,838],{},[327,909,910],{},"Foundation instructions",[312,912,913,915,917,919],{},[327,914,433],{},[327,916,848],{},[327,918,864],{},[327,920,921],{},"Task-specific guidelines",[312,923,924,926,928,930],{},[327,925,427],{},[327,927,848],{},[327,929,864],{},[327,931,932],{},"Tone and character",[312,934,935,937,939,941],{},[327,936,567],{},[327,938,848],{},[327,940,864],{},[327,942,943],{},"Rules for booking sub-agent",[312,945,946,948,950,952],{},[327,947,580],{},[327,949,848],{},[327,951,864],{},[327,953,954],{},"Rules for memory/segmentation",[380,956,440],{"id":957},"response-guidelines",[306,959,960,972],{},[309,961,962],{},[312,963,964,966,968,970],{},[315,965,818],{},[315,967,821],{},[315,969,608],{},[315,971,683],{},[322,973,974,986,997,1008],{},[312,975,976,978,981,983],{},[327,977,620],{},[327,979,980],{},"Dropdown",[327,982,623],{},[327,984,985],{},"Auto",[312,987,988,990,992,994],{},[327,989,633],{},[327,991,980],{},[327,993,636],{},[327,995,996],{},"Professional",[312,998,999,1001,1003,1005],{},[327,1000,646],{},[327,1002,980],{},[327,1004,649],{},[327,1006,1007],{},"3 sentences",[312,1009,1010,1012,1014,1016],{},[327,1011,659],{},[327,1013,980],{},[327,1015,662],{},[327,1017,1018],{},"Conversational",[380,1020,1022],{"id":1021},"timing-settings","Timing Settings",[306,1024,1025,1037],{},[309,1026,1027],{},[312,1028,1029,1031,1033,1035],{},[315,1030,818],{},[315,1032,821],{},[315,1034,686],{},[315,1036,683],{},[322,1038,1039,1052,1064,1076],{},[312,1040,1041,1043,1046,1049],{},[327,1042,697],{},[327,1044,1045],{},"Number",[327,1047,1048],{},"0-300 seconds",[327,1050,1051],{},"60s",[312,1053,1054,1056,1058,1061],{},[327,1055,713],{},[327,1057,1045],{},[327,1059,1060],{},"0-30 seconds",[327,1062,1063],{},"2s",[312,1065,1066,1068,1070,1073],{},[327,1067,729],{},[327,1069,1045],{},[327,1071,1072],{},"5-60 minutes",[327,1074,1075],{},"20m",[312,1077,1078,1081,1083,1086],{},[327,1079,1080],{},"Reactions Enabled",[327,1082,861],{},[327,1084,1085],{},"On/Off",[327,1087,1088],{},"Off",[299,1090],{},[290,1092,1094],{"id":1093},"statuses-badges","Statuses & Badges",[380,1096,1098],{"id":1097},"agent-status","Agent Status",[306,1100,1101,1114],{},[309,1102,1103],{},[312,1104,1105,1108,1111],{},[315,1106,1107],{},"Status",[315,1109,1110],{},"Badge",[315,1112,1113],{},"Meaning",[322,1115,1116,1129,1142],{},[312,1117,1118,1123,1126],{},[327,1119,1120],{},[391,1121,1122],{},"Active",[327,1124,1125],{},"🟢 Green",[327,1127,1128],{},"Agent can respond to messages",[312,1130,1131,1136,1139],{},[327,1132,1133],{},[391,1134,1135],{},"Inactive",[327,1137,1138],{},"⚪ Gray",[327,1140,1141],{},"Agent is paused/disabled",[312,1143,1144,1148,1151],{},[327,1145,1146],{},[391,1147,683],{},[327,1149,1150],{},"⭐ Star",[327,1152,1153],{},"Assigned to new conversations",[380,1155,1157],{"id":1156},"assignment-status","Assignment Status",[306,1159,1160,1169],{},[309,1161,1162],{},[312,1163,1164,1167],{},[315,1165,1166],{},"Indicator",[315,1168,1113],{},[322,1170,1171,1179],{},[312,1172,1173,1176],{},[327,1174,1175],{},"Assigned to X contacts",[327,1177,1178],{},"Number of contacts using this agent",[312,1180,1181,1184],{},[327,1182,1183],{},"X conversations today",[327,1185,1186],{},"Activity count",[299,1188],{},[290,1190,1192],{"id":1191},"nested-screens","Nested Screens",[380,1194,1196],{"id":1195},"createedit-agent-modal","Create/Edit Agent Modal",[514,1198,1201],{"className":1199,"code":1200,"language":519},[517],"┌─────────────────────────────────────────────────────────────────────────────┐\n│ Create AI Agent                                                         [X] │\n├─────────────────────────────────────────────────────────────────────────────┤\n│                                                                              │\n│ Basic Information                                                            │\n│ ┌─────────────────────────────────────────────────────────────────────────┐ │\n│ │ Name                                                                     │ │\n│ │ [Sales Assistant                                                       ]│ │\n│ └─────────────────────────────────────────────────────────────────────────┘ │\n│                                                                              │\n│ ┌─────────────────────────────────────────────────────────────────────────┐ │\n│ │ System Prompt *                                                          │ │\n│ │ [You are a helpful sales assistant for Nakheel Trading...              ]│ │\n│ │ [                                                                       ]│ │\n│ │ [                                                                       ]│ │\n│ └─────────────────────────────────────────────────────────────────────────┘ │\n│                                                                              │\n│ Personality & Instructions                                                   │\n│ ┌─────────────────────────────────────────────────────────────────────────┐ │\n│ │ Personality Prompt                                                       │ │\n│ │ [Friendly, warm, and genuinely helpful...                              ]│ │\n│ └─────────────────────────────────────────────────────────────────────────┘ │\n│                                                                              │\n│ ┌─────────────────────────────────────────────────────────────────────────┐ │\n│ │ Instruction Prompt                                                       │ │\n│ │ [When discussing products: Always mention origin...                    ]│ │\n│ └─────────────────────────────────────────────────────────────────────────┘ │\n│                                                                              │\n│ [▼ Sub-Agent Instructions]  [▼ Response Guidelines]  [▼ Timing]             │\n│                                                                              │\n│                                           [Cancel]  [Create Agent]           │\n└─────────────────────────────────────────────────────────────────────────────┘\n",[333,1202,1200],{"__ignoreMap":522},[380,1204,1206],{"id":1205},"test-agent-panel","Test Agent Panel",[514,1208,1211],{"className":1209,"code":1210,"language":519},[517],"┌─────────────────────────────────────────────────────────────────┐\n│ Test Agent: Sales Assistant                                 [X] │\n├─────────────────────────────────────────────────────────────────┤\n│                                                                  │\n│ Enter a test message:                                           │\n│ ┌─────────────────────────────────────────────────────────────┐ │\n│ │ What dates do you have in stock?                            │ │\n│ └─────────────────────────────────────────────────────────────┘ │\n│                                           [Test Response]        │\n│                                                                  │\n│ Agent Response:                                                 │\n│ ┌─────────────────────────────────────────────────────────────┐ │\n│ │ Hello! We have a wonderful selection of premium dates       │ │\n│ │ currently in stock. Our most popular varieties are:         │ │\n│ │                                                              │ │\n│ │ • Sukkari dates from Al-Qassim (sweet, soft)               │ │\n│ │ • Ajwa dates from Madinah (rich, slightly firm)            │ │\n│ │ • Medjool dates (large, caramel-like)                      │ │\n│ │                                                              │ │\n│ │ Would you like details on any specific variety?             │ │\n│ └─────────────────────────────────────────────────────────────┘ │\n│                                                                  │\n│ Response time: 1.2s  •  Tokens: 87                              │\n│                                                                  │\n└─────────────────────────────────────────────────────────────────┘\n",[333,1212,1210],{"__ignoreMap":522},[299,1214],{},[290,1216,1218],{"id":1217},"how-it-connects","How It Connects",[306,1220,1221,1231],{},[309,1222,1223],{},[312,1224,1225,1228],{},[315,1226,1227],{},"Feature",[315,1229,1230],{},"Relationship",[322,1232,1233,1242,1252,1261,1270,1279],{},[312,1234,1235,1239],{},[327,1236,1237],{},[391,1238,187],{},[327,1240,1241],{},"Agents use KB for response grounding",[312,1243,1244,1249],{},[327,1245,1246],{},[391,1247,1248],{},"Inbox",[327,1250,1251],{},"Agent assignment shows in conversation",[312,1253,1254,1258],{},[327,1255,1256],{},[391,1257,210],{},[327,1259,1260],{},"Contacts can have assigned agent",[312,1262,1263,1267],{},[327,1264,1265],{},[391,1266,201],{},[327,1268,1269],{},"Default agent per channel configurable",[312,1271,1272,1276],{},[327,1273,1274],{},[391,1275,227],{},[327,1277,1278],{},"Booking sub-agent handles scheduling",[312,1280,1281,1286],{},[327,1282,1283],{},[391,1284,1285],{},"Memory",[327,1287,1288],{},"Memory sub-agent manages contact info",[299,1290],{},[290,1292,1294],{"id":1293},"limits-plan-behavior","Limits & Plan Behavior",[380,1296,1298],{"id":1297},"plan-limits","Plan Limits",[306,1300,1301,1317],{},[309,1302,1303],{},[312,1304,1305,1308,1311,1314],{},[315,1306,1307],{},"Aspect",[315,1309,1310],{},"Pro",[315,1312,1313],{},"Business",[315,1315,1316],{},"Enterprise",[322,1318,1319,1332,1346,1358,1369],{},[312,1320,1321,1323,1326,1329],{},[327,1322,169],{},[327,1324,1325],{},"3",[327,1327,1328],{},"10",[327,1330,1331],{},"Unlimited",[312,1333,1334,1337,1340,1343],{},[327,1335,1336],{},"System prompt length",[327,1338,1339],{},"4,000 chars",[327,1341,1342],{},"8,000 chars",[327,1344,1345],{},"16,000 chars",[312,1347,1348,1351,1354,1356],{},[327,1349,1350],{},"Custom guidelines",[327,1352,1353],{},"✓",[327,1355,1353],{},[327,1357,1353],{},[312,1359,1360,1363,1365,1367],{},[327,1361,1362],{},"Sub-agent instructions",[327,1364,1353],{},[327,1366,1353],{},[327,1368,1353],{},[312,1370,1371,1374,1377,1379],{},[327,1372,1373],{},"Advanced timing",[327,1375,1376],{},"—",[327,1378,1353],{},[327,1380,1353],{},[380,1382,1384],{"id":1383},"what-happens-at-limit","What Happens at Limit",[295,1386,1387],{},"When you reach the agent limit:",[385,1389,1390,1395,1398,1401],{},[362,1391,1392,1394],{},[391,1393,393],{}," button is disabled",[362,1396,1397],{},"Banner shows: \"Agent limit reached. Upgrade to create more.\"",[362,1399,1400],{},"Existing agents can still be edited",[362,1402,1403],{},"Delete unused agents to free up slots",[299,1405],{},[290,1407,1409],{"id":1408},"troubleshooting","Troubleshooting",[380,1411,1413],{"id":1412},"agent-not-responding","Agent Not Responding",[295,1415,1416,1419],{},[391,1417,1418],{},"Symptoms:"," AI doesn't reply to messages",[295,1421,1422],{},[391,1423,1424],{},"Solutions:",[385,1426,1427,1432,1435,1438,1441],{},[362,1428,1429,1430],{},"Verify agent status is ",[391,1431,1122],{},[362,1433,1434],{},"Check AI auto-reply is enabled (channel settings)",[362,1436,1437],{},"Ensure agent is assigned to contact or is default",[362,1439,1440],{},"Verify Knowledge Base has relevant content",[362,1442,1443],{},"Check timing settings aren't causing excessive delay",[380,1445,1447],{"id":1446},"responses-are-off-topic","Responses Are Off-Topic",[295,1449,1450,1452],{},[391,1451,1418],{}," Agent gives irrelevant answers",[295,1454,1455],{},[391,1456,1424],{},[385,1458,1459,1462,1465,1468,1471],{},[362,1460,1461],{},"Review and refine system prompt",[362,1463,1464],{},"Add more specific instruction prompts",[362,1466,1467],{},"Ensure Knowledge Base covers the topic",[362,1469,1470],{},"Add constraints for what agent should NOT discuss",[362,1472,1473],{},"Test with the Preview feature",[380,1475,1477],{"id":1476},"responses-too-longshort","Responses Too Long/Short",[295,1479,1480,1482],{},[391,1481,1418],{}," Answers don't match desired length",[295,1484,1485],{},[391,1486,1424],{},[385,1488,1489,1495,1498],{},[362,1490,1491,1492,1494],{},"Adjust ",[391,1493,646],{}," in response guidelines",[362,1496,1497],{},"Add length instructions in system prompt",[362,1499,1500],{},"Example: \"Keep responses under 3 sentences\"",[380,1502,1504],{"id":1503},"agent-sounds-wrong","Agent Sounds Wrong",[295,1506,1507,1509],{},[391,1508,1418],{}," Tone doesn't match brand",[295,1511,1512],{},[391,1513,1424],{},[385,1515,1516,1519,1522,1525],{},[362,1517,1518],{},"Refine the personality prompt",[362,1520,1521],{},"Add specific tone words and examples",[362,1523,1524],{},"Include sample phrases the agent should use",[362,1526,1527],{},"Specify what to avoid (\"Never use slang\")",[380,1529,1531],{"id":1530},"timing-feels-unnatural","Timing Feels Unnatural",[295,1533,1534,1536],{},[391,1535,1418],{}," Replies too fast or slow",[295,1538,1539],{},[391,1540,1424],{},[385,1542,1543,1548,1554,1557],{},[362,1544,1491,1545,1547],{},[391,1546,697],{}," for initial replies",[362,1549,1550,1551,1553],{},"Modify ",[391,1552,713],{}," for flow",[362,1555,1556],{},"Consider 30-60s for first contact",[362,1558,1559],{},"Use 2-5s for ongoing conversation",[380,1561,1563],{"id":1562},"cannot-set-as-default","Cannot Set as Default",[295,1565,1566,1568],{},[391,1567,1418],{}," Default toggle doesn't work",[295,1570,1571],{},[391,1572,1424],{},[385,1574,1575,1581,1584],{},[362,1576,1577,1578,1580],{},"Ensure agent is set to ",[391,1579,1122],{}," first",[362,1582,1583],{},"Only one agent can be default",[362,1585,1586],{},"The previous default is automatically unset",[299,1588],{},[290,1590,1592],{"id":1591},"best-practices","Best Practices",[380,1594,1596],{"id":1595},"prompt-engineering","Prompt Engineering",[359,1598,1599,1602,1605,1608],{},[362,1600,1601],{},"Start with clear role definition",[362,1603,1604],{},"Include specific do's and don'ts",[362,1606,1607],{},"Provide example scenarios and responses",[362,1609,1610],{},"Test extensively before deploying",[380,1612,1614],{"id":1613},"managing-multiple-agents","Managing Multiple Agents",[359,1616,1617,1620,1623,1626],{},[362,1618,1619],{},"Create specialized agents for different purposes",[362,1621,1622],{},"Use descriptive names (Sales, Support, Booking)",[362,1624,1625],{},"Keep only relevant agents active",[362,1627,1628],{},"Review and update prompts regularly",[380,1630,1632],{"id":1631},"testing-strategy","Testing Strategy",[385,1634,1635,1638,1641,1644,1647],{},[362,1636,1637],{},"Test common customer questions",[362,1639,1640],{},"Test edge cases and unusual requests",[362,1642,1643],{},"Test in both Arabic and English if bilingual",[362,1645,1646],{},"Test handoff scenarios",[362,1648,1649],{},"Review actual conversation logs",[380,1651,1653],{"id":1652},"timing-optimization","Timing Optimization",[359,1655,1656,1659,1662,1665],{},[362,1657,1658],{},"First contact: 30-60 seconds feels thoughtful",[362,1660,1661],{},"In-conversation: 2-5 seconds feels natural",[362,1663,1664],{},"Avoid instant replies (feels robotic)",[362,1666,1667],{},"Avoid long delays (frustrates customers)",[299,1669],{},[290,1671,1673],{"id":1672},"related-articles","Related Articles",[359,1675,1676,1681,1686,1691],{},[362,1677,1678],{},[1679,1680,187],"a",{"href":64},[362,1682,1683],{},[1679,1684,1685],{"href":74},"AI Reply Settings",[362,1687,1688],{},[1679,1689,1690],{"href":59},"Unified Inbox",[362,1692,1693],{},[1679,1694,1695],{"href":170},"AI Agents API",{"title":522,"searchDepth":1697,"depth":1698,"links":1699},1,2,[1700,1701,1702,1703,1715,1721,1725,1729,1730,1734,1742,1748],{"id":292,"depth":1698,"text":293},{"id":303,"depth":1698,"text":304},{"id":356,"depth":1698,"text":357},{"id":377,"depth":1698,"text":378,"children":1704},[1705,1707,1708,1709,1710,1711,1712,1713,1714],{"id":382,"depth":1706,"text":383},3,{"id":489,"depth":1706,"text":490},{"id":525,"depth":1706,"text":526},{"id":543,"depth":1706,"text":544},{"id":561,"depth":1706,"text":562},{"id":592,"depth":1706,"text":593},{"id":668,"depth":1706,"text":669},{"id":749,"depth":1706,"text":750},{"id":773,"depth":1706,"text":774},{"id":805,"depth":1698,"text":806,"children":1716},[1717,1718,1719,1720],{"id":809,"depth":1706,"text":399},{"id":882,"depth":1706,"text":883},{"id":957,"depth":1706,"text":440},{"id":1021,"depth":1706,"text":1022},{"id":1093,"depth":1698,"text":1094,"children":1722},[1723,1724],{"id":1097,"depth":1706,"text":1098},{"id":1156,"depth":1706,"text":1157},{"id":1191,"depth":1698,"text":1192,"children":1726},[1727,1728],{"id":1195,"depth":1706,"text":1196},{"id":1205,"depth":1706,"text":1206},{"id":1217,"depth":1698,"text":1218},{"id":1293,"depth":1698,"text":1294,"children":1731},[1732,1733],{"id":1297,"depth":1706,"text":1298},{"id":1383,"depth":1706,"text":1384},{"id":1408,"depth":1698,"text":1409,"children":1735},[1736,1737,1738,1739,1740,1741],{"id":1412,"depth":1706,"text":1413},{"id":1446,"depth":1706,"text":1447},{"id":1476,"depth":1706,"text":1477},{"id":1503,"depth":1706,"text":1504},{"id":1530,"depth":1706,"text":1531},{"id":1562,"depth":1706,"text":1563},{"id":1591,"depth":1698,"text":1592,"children":1743},[1744,1745,1746,1747],{"id":1595,"depth":1706,"text":1596},{"id":1613,"depth":1706,"text":1614},{"id":1631,"depth":1706,"text":1632},{"id":1652,"depth":1706,"text":1653},{"id":1672,"depth":1698,"text":1673},"Create and configure AI agent personas with prompts, guidelines, timing controls, sub-agent instructions, and response formatting.","md",null,{},{"icon":71},{"title":68,"description":1749},"FVoylFzl7L0iggvk_tJEdiZd0iugya24GDlYTJNk2hc",[1757,1759],{"title":63,"path":64,"stem":65,"description":1758,"icon":66,"children":-1},"Build your AI's knowledge with text, voice recordings, documents, product catalogs, and website crawling — manage content segments for better answers.",{"title":73,"path":74,"stem":75,"description":1760,"icon":76,"children":-1},"Enable and control AI auto-replies globally and per-contact — configure when AI responds, when to hand off, and how to interact with AI in the inbox.",1785928661631]