[{"data":1,"prerenderedAt":2080},["ShallowReactive",2],{"guide-webfuse-for-cognigy":3},{"id":4,"title":5,"audience":6,"body":7,"created":2038,"description":2039,"extension":2040,"eyebrow":2041,"facts":2042,"head":2045,"meta":2046,"navigation":2047,"ogImage":2045,"partner":2048,"path":2049,"robots":2045,"schemaOrg":2045,"seo":2050,"showcase":2051,"sitemap":2060,"stem":2061,"steps":2062,"time":2077,"titleAccent":2078,"totalMinutes":1579,"updated":2045,"__hash__":2079},"guides/guides/webfuse-for-cognigy.md","Give your Cognigy agent hands on the web","For NICE solution engineers",{"type":8,"value":9,"toc":2035},"minimark",[10,47,52,145,277,345,499,800,1679,1760,1922,2032],[11,12,15],"guide-section",{"id":13,"title":14},"how","How it works",[16,17,18],"guide-flow",{},[19,20,21,29,35,41],"ol",{},[22,23,24,28],"li",{},[25,26,27],"strong",{},"Customer"," Says hello in the Cognigy chat. The agent replies and sends a link.",[22,30,31,34],{},[25,32,33],{},"xApp"," The link opens a Webfuse session with the website, right next to the chat.",[22,36,37,40],{},[25,38,39],{},"Session"," The session tells Cognigy its ID. Cognigy now knows which browser to drive.",[22,42,43,46],{},[25,44,45],{},"AI Agent"," Uses the Webfuse tools over MCP to navigate, read, click and type in that session.",[11,48],{"id":49,"title":50,"lead":51},"needs","What you need, and how long it takes","A Webfuse Studio account, a Cognigy project with AI Agents and xApps, and a website to work on. We use DHL's service point locator here. Plan on about 30 minutes for the first one, from sign-up to a working demo. Pointing the same flow at a second website is mostly step 1 and a few prompt lines.",[53,54,56,99,117,124],"guide-step",{"id":55},"space",[19,57,58,77,84],{},[22,59,60,61,68,69,72,73,76],{},"Sign up or log in at ",[62,63,67],"a",{"href":64,"rel":65},"https://webfuse.com/studio",[66],"nofollow","webfuse.com/studio",". Open ",[25,70,71],{},"Get started with Automation"," and click ",[25,74,75],{},"Create an automation space manually"," at the bottom.",[22,78,79,80,83],{},"Name the Space and click ",[25,81,82],{},"Start session",".",[22,85,86,87,90,91,94,95,98],{},"In the session, click the settings icon, open ",[25,88,89],{},"Start Page",", choose ",[25,92,93],{},"Open a specific page or set of pages",", add the website's URL and click ",[25,96,97],{},"Save Changes",". Then close the session tab.",[100,101,102,110],"guide-shots",{},[103,104],"guide-shot",{"alt":105,"caption":106,"height":107,"src":108,"width":109},"Create your Automation space: name field","Name the Space. The URL follows the name.",956,"/guides/cognigy/img-04.jpg",1232,[103,111],{"alt":112,"caption":113,"height":114,"src":115,"width":116},"Start Page settings with https://locator.dhl.com/","Every session now opens on the website.",490,"/guides/cognigy/img-05.jpg",895,[103,118],{"alt":119,"caption":120,"height":121,"src":122,"width":123},"A Webfuse session opened on DHL's service point locator","Start a session and the website is already there, inside Webfuse.",560,"/guides/cognigy/img-06.jpg",1400,[125,126,129],"guide-note",{"title":127,"type":128},"Optional: keep the agent on one site","tip",[130,131,132,133,136,137,141,142,83],"p",{},"In the session's Automation panel, ",[25,134,135],{},"Automation app allowlist"," sets where the tools work. Replace ",[138,139,140],"code",{},"\u003Call_urls>"," with a pattern such as ",[138,143,144],{},"https://*.dhl.com/*",[53,146,148,188,194,263],{"id":147},"keys",[19,149,150,156,167,181],{},[22,151,152,153,83],{},"Open the Space in Studio and go to ",[25,154,155],{},"Developers",[22,157,158,159,162,163,166],{},"Copy the ",[25,160,161],{},"Automation key"," (starts with ",[138,164,165],{},"ak_",").",[22,168,169,170,173,174,177,178,166],{},"Click ",[25,171,172],{},"New API key",", keep ",[25,175,176],{},"Widget API key"," selected, create it and copy it (starts with ",[138,179,180],{},"wk_",[22,182,183,184,187],{},"Note the ",[25,185,186],{},"Space ID",", the number under the Space name.",[103,189],{"alt":190,"caption":191,"height":192,"src":193,"width":123},"Developers tab with Automation key and Widget API key, values blurred","The Developers tab. Key values are blurred here.",415,"/guides/cognigy/img-07.jpg",[195,196,197,213],"table",{},[198,199,200],"thead",{},[201,202,203,207,210],"tr",{},[204,205,206],"th",{},"Value",[204,208,209],{},"Looks like",[204,211,212],{},"Goes into",[214,215,216,230,242,254],"tbody",{},[201,217,218,222,227],{},[219,220,221],"td",{},"MCP server URL",[219,223,224],{},[138,225,226],{},"https://session-mcp.webfuse.com/mcp",[219,228,229],{},"Step 4, MCP Tool node",[201,231,232,234,239],{},[219,233,161],{},[219,235,236],{},[138,237,238],{},"ak_…",[219,240,241],{},"Step 4, Authorization header",[201,243,244,246,251],{},[219,245,176],{},[219,247,248],{},[138,249,250],{},"wk_…",[219,252,253],{},"Step 6, xApp HTML",[201,255,256,258,261],{},[219,257,186],{},[219,259,260],{},"4-digit number",[219,262,253],{},[125,264,266],{"title":265},"Want to see the tools work first?",[130,267,268,269,272,273,276],{},"Start a session and open the ",[25,270,271],{},"Automation Inspector"," from its top bar. It runs the same tools Cognigy will call. Try ",[138,274,275],{},"navigate"," with a URL and watch the web page change.",[53,278,280,319,322,336],{"id":279},"agent",[19,281,282,292,302,308],{},[22,283,284,285,72,288,291],{},"Go to ",[25,286,287],{},"Build › Agent",[25,289,290],{},"New AI Agent",". Give it a name and a one-line description.",[22,293,294,295,298,299,83],{},"Under ",[25,296,297],{},"Speaking Style",", move the first slider all the way to ",[25,300,301],{},"Concise",[22,303,294,304,307],{},[25,305,306],{},"Instructions",", replace the second default line as shown below.",[22,309,294,310,90,313,72,316,83],{},[25,311,312],{},"Job Selection",[25,314,315],{},"Personality Only",[25,317,318],{},"Create",[130,320,321],{},"We found that the default second line makes the agent ask a question after every answer, even when the customer already said what they need. So we recommend replacing it, so the agent acts, reports and stops.",[323,324,326],"guide-code",{"title":325},"Default",[327,328,334],"pre",{"className":329,"code":331,"language":332,"meta":333},[330],"language-text","- Only introduce yourself at the beginning of a conversation or when asked.\n- Ask a single follow-up question to keep the conversation going.\n","text","",[138,335,331],{"__ignoreMap":333},[323,337,339],{"title":338},"Replace with: Special Instructions",[327,340,343],{"className":341,"code":342,"language":332,"meta":333},[330],"- Only introduce yourself at the beginning of a conversation or when asked.\n- Do not ask follow-up questions. After completing a request, state the result and stop.\n- Ask a question only when you cannot continue without the answer.\n",[138,344,342],{"__ignoreMap":333},[53,346,348,439,455,461,470,486,492],{"id":347},"mcp",[19,349,350,366,376,397,421],{},[22,351,284,352,355,356,358,359,362,363,83],{},[25,353,354],{},"Build › Flows",", create a flow, and add an ",[25,357,45],{}," node under ",[25,360,361],{},"Start",". Select your new agent, give the job a name and a one-line description, and paste the prompt below into ",[25,364,365],{},"Instructions and Context",[22,367,368,369,372,373,83],{},"In the same node, open ",[25,370,371],{},"Advanced › LLM"," and pick a model that is good at tool calling. We used ",[25,374,375],{},"Claude Sonnet 4",[22,377,378,379,382,383,386,387,389,390,393,394,83],{},"Click the ",[25,380,381],{},"+"," to the right of the AI Agent node and add an ",[25,384,385],{},"MCP Tool",". Name it, set the server URL to ",[138,388,226],{}," and drag ",[25,391,392],{},"Timeout"," to ",[25,395,396],{},"30",[22,398,294,399,402,403,393,406,409,410,413,414,417,418,420],{},[25,400,401],{},"Advanced"," in the MCP Tool node, set ",[25,404,405],{},"Condition",[138,407,408],{},"{{context.webfuseId}}"," and add a custom header: key ",[138,411,412],{},"Authorization",", value ",[138,415,416],{},"Bearer"," followed by your ",[138,419,165],{}," key. Save.",[22,422,423,424,427,428,431,432,435,436,83],{},"Cognigy adds a ",[25,425,426],{},"Call MCP Tool"," node for you. Leave its defaults: ",[25,429,430],{},"Resolve Immediately"," on, ",[25,433,434],{},"Store in Input",", ",[138,437,438],{},"aiAgent.toolResult",[100,440,441,448],{},[103,442],{"alt":443,"caption":444,"height":445,"src":446,"width":447},"AI Agent node with Parcel Assistant selected and the job Service Point Finder","The AI Agent node with your new agent. The prompt goes into Instructions and Context.",905,"/guides/cognigy/img-08.jpg",720,[103,449],{"alt":450,"caption":451,"height":452,"src":453,"width":454},"Advanced section of the AI Agent node with Claude Sonnet 4 selected as LLM","Advanced › LLM. Pick a strong tool-calling model.",430,"/guides/cognigy/img-09.jpg",698,[125,456,458],{"title":457,"type":128},"Start from this prompt",[130,459,460],{},"We found that with a short prompt, the agent asked needless questions, said it was doing something without doing it, and took detours that used up its tool calls. So we recommend starting from this prompt, which fixed all three in our tests. Keep the structure, and rewrite the DHL section for your website in plain words: the page to start from, what the customer will ask for, and what to click.",[323,462,464],{"title":365,":wrap":463},"true",[327,465,468],{"className":466,"code":467,"language":332,"meta":333},[330],"# Environment\nYou are helping a customer find a DHL drop-off point through a conversation. The customer is watching a live browser session that you control. They cannot click anything themselves and rely on you to act for them. You act with the Webfuse tools: navigate, act_click, act_type, act_keyPress, act_scroll and see_domSnapshot. The result of your last tool call is in context.aiAgent.toolResult.\n# Session\nThe current session ID is available in context.webfuseId: {{context.webfuseId}}\nPass it as session_id on every tool call.\n# How to work\n1. Act, don't ask. Use the details the customer gave you straight away. Ask a question only when you cannot continue without the answer, such as a ZIP code.\n2. When the customer asks you to do something on the page, your first response must be a tool call. Do not write any text while you are still using tools. Write one message only, when you have the answer or need one. Never mention wf-ids, snapshots or tools to the customer.\n3. Use as few tool calls as you can. You can make at most 4 per customer message.\n4. To read the page, call see_domSnapshot with options {\"webfuseIDs\": true, \"quality\": 0.1, \"maxTokens\": 16000}. Target elements with the wf-id values the snapshot returns. If the element you need has no wf-id, target it with a CSS selector built from what the snapshot shows, such as its class.\n5. If you already have a snapshot of the current page from earlier in the conversation, act on it directly instead of taking a new one.\n6. If a cookie banner is in the way, click \"Strictly Necessary Only\".\n7. Never take the same snapshot twice in a row without acting in between. Do not use see_guiSnapshot.\n# The DHL service point locator\n- To search near a place, call navigate with https://locator.dhl.com/results?countryCode=US&address=ZIP&language=en, putting the customer's ZIP code or address in place of ZIP. Then read the results.\n- Each result shows the location name, address and distance.\n- For opening hours and services of one location, click the \"Detail\" text inside that location's result, then read the page.\n# Answering\nFor a search, name the three nearest locations with street address and distance, one sentence each. For a question about one location, answer exactly what was asked, such as its Saturday hours. Then stop. Do not offer further help and do not end with a question. Plain text only, no markdown.\n",[138,469,467],{"__ignoreMap":333},[100,471,472,479],{},[103,473],{"alt":474,"caption":475,"height":476,"src":477,"width":478},"MCP Tool node with server URL and timeout 30","MCP Tool: name, server URL and a 30 second timeout.",815,"/guides/cognigy/img-10.jpg",722,[103,480],{"alt":481,"caption":482,"height":483,"src":484,"width":485},"MCP Tool advanced settings with condition and Authorization header","Advanced: condition and header. Your real ak_ key goes after Bearer.",1050,"/guides/cognigy/img-11.jpg",690,[103,487],{"alt":488,"caption":489,"height":490,"src":491,"width":478},"Call MCP Tool node: Resolve Immediately on, Store in Input, aiAgent.toolResult","Call MCP Tool, added for you. Keep the defaults.",552,"/guides/cognigy/img-12.jpg",[125,493,496],{"title":494,"type":495},"Treat the Automation key like a password","warn",[130,497,498],{},"It controls every session in the Space. Keep it only in this header. If it leaks, delete it on the Developers tab and create a new one.",[53,500,502,505,547,562],{"id":501},"endpoint",[130,503,504],{},"The xApp uses this endpoint to send the session ID back into the conversation.",[19,506,507,520,530,541],{},[22,508,284,509,512,513,90,516,519],{},[25,510,511],{},"Deploy › Endpoints",", click ",[25,514,515],{},"New Endpoint",[25,517,518],{},"REST",", select your flow and save.",[22,521,522,523,393,526,529],{},"Set ",[25,524,525],{},"NLU Connector",[25,527,528],{},"No NLU"," and make sure the endpoint is enabled.",[22,531,532,533,536,537,540],{},"Open ",[25,534,535],{},"Transformer Functions",", turn on ",[25,538,539],{},"Enable Input Transformer",", replace the code with the transformer below and save.",[22,542,158,543,546],{},[25,544,545],{},"Endpoint URL",". You need it in step 6.",[100,548,549,555],{},[103,550],{"alt":551,"caption":552,"height":553,"src":554,"width":478},"New Endpoint with REST selected","Choose REST.",695,"/guides/cognigy/img-13.jpg",[103,556],{"alt":557,"caption":558,"height":559,"src":560,"width":561},"Endpoint settings with the Parcel Support Agent flow, endpoint URL (blurred) and No NLU","Flow, Endpoint URL (blurred) and No NLU.",952,"/guides/cognigy/img-14.jpg",1242,[323,563,565],{"title":564},"Input Transformer",[327,566,570],{"className":567,"code":568,"language":569,"meta":333,"style":333},"language-js shiki shiki-themes github-dark github-dark","createRestTransformer({\n    handleInput: async ({ endpoint, request, response }) => {\n        const { userId, sessionId, text, data } = request.body;\n        // data can arrive as a string\n        const parsedData = typeof data === 'string' ? JSON.parse(data) : data;\n        return { userId, sessionId, text, data: parsedData };\n    },\n    handleOutput: async ({ output }) => {\n        return output;\n    },\n    handleExecutionFinished: async ({ processedOutput }) => {\n        return processedOutput;\n    }\n});\n","js",[138,571,572,585,623,659,666,710,719,725,746,754,759,780,788,794],{"__ignoreMap":333},[573,574,577,581],"span",{"class":575,"line":576},"line",1,[573,578,580],{"class":579},"sFR8T","createRestTransformer",[573,582,584],{"class":583},"suv1-","({\n",[573,586,588,591,594,598,601,604,606,609,611,614,617,620],{"class":575,"line":587},2,[573,589,590],{"class":579},"    handleInput",[573,592,593],{"class":583},": ",[573,595,597],{"class":596},"sOPea","async",[573,599,600],{"class":583}," ({ ",[573,602,501],{"class":603},"s-3mD",[573,605,435],{"class":583},[573,607,608],{"class":603},"request",[573,610,435],{"class":583},[573,612,613],{"class":603},"response",[573,615,616],{"class":583}," }) ",[573,618,619],{"class":596},"=>",[573,621,622],{"class":583}," {\n",[573,624,626,629,632,636,638,641,643,645,647,650,653,656],{"class":575,"line":625},3,[573,627,628],{"class":596},"        const",[573,630,631],{"class":583}," { ",[573,633,635],{"class":634},"s8ozJ","userId",[573,637,435],{"class":583},[573,639,640],{"class":634},"sessionId",[573,642,435],{"class":583},[573,644,332],{"class":634},[573,646,435],{"class":583},[573,648,649],{"class":634},"data",[573,651,652],{"class":583}," } ",[573,654,655],{"class":596},"=",[573,657,658],{"class":583}," request.body;\n",[573,660,662],{"class":575,"line":661},4,[573,663,665],{"class":664},"sJ8bj","        // data can arrive as a string\n",[573,667,669,671,674,677,680,683,686,690,693,696,698,701,704,707],{"class":575,"line":668},5,[573,670,628],{"class":596},[573,672,673],{"class":634}," parsedData",[573,675,676],{"class":596}," =",[573,678,679],{"class":596}," typeof",[573,681,682],{"class":583}," data ",[573,684,685],{"class":596},"===",[573,687,689],{"class":688},"s4wv1"," 'string'",[573,691,692],{"class":596}," ?",[573,694,695],{"class":634}," JSON",[573,697,83],{"class":583},[573,699,700],{"class":579},"parse",[573,702,703],{"class":583},"(data) ",[573,705,706],{"class":596},":",[573,708,709],{"class":583}," data;\n",[573,711,713,716],{"class":575,"line":712},6,[573,714,715],{"class":596},"        return",[573,717,718],{"class":583}," { userId, sessionId, text, data: parsedData };\n",[573,720,722],{"class":575,"line":721},7,[573,723,724],{"class":583},"    },\n",[573,726,728,731,733,735,737,740,742,744],{"class":575,"line":727},8,[573,729,730],{"class":579},"    handleOutput",[573,732,593],{"class":583},[573,734,597],{"class":596},[573,736,600],{"class":583},[573,738,739],{"class":603},"output",[573,741,616],{"class":583},[573,743,619],{"class":596},[573,745,622],{"class":583},[573,747,749,751],{"class":575,"line":748},9,[573,750,715],{"class":596},[573,752,753],{"class":583}," output;\n",[573,755,757],{"class":575,"line":756},10,[573,758,724],{"class":583},[573,760,762,765,767,769,771,774,776,778],{"class":575,"line":761},11,[573,763,764],{"class":579},"    handleExecutionFinished",[573,766,593],{"class":583},[573,768,597],{"class":596},[573,770,600],{"class":583},[573,772,773],{"class":603},"processedOutput",[573,775,616],{"class":583},[573,777,619],{"class":596},[573,779,622],{"class":583},[573,781,783,785],{"class":575,"line":782},12,[573,784,715],{"class":596},[573,786,787],{"class":583}," processedOutput;\n",[573,789,791],{"class":575,"line":790},13,[573,792,793],{"class":583},"    }\n",[573,795,797],{"class":575,"line":796},14,[573,798,799],{"class":583},"});\n",[53,801,803,809,919,925,931],{"id":802},"xapp",[130,804,805,806,808],{},"An xApp is a page Cognigy shows next to the chat. Ours starts the Webfuse session, shows it to the customer, and posts the session ID to your endpoint. Build this branch under the AI Agent's ",[25,807,325],{}," exit:",[195,810,811,821],{},[198,812,813],{},[201,814,815,818],{},[204,816,817],{},"Node",[204,819,820],{},"Setting",[214,822,823,839,857,877,887,905],{},[201,824,825,830],{},[219,826,827],{},[25,828,829],{},"If",[219,831,832,835,836],{},[138,833,834],{},"{{input.text}}"," = ",[138,837,838],{},"__ACTIVATE_WEBFUSE_SESSION__",[201,840,841,847],{},[219,842,843,844],{},"Then: ",[25,845,846],{},"Add To Context",[219,848,849,850,413,853,856],{},"Key ",[138,851,852],{},"webfuseId",[138,854,855],{},"{{input.data.webfuseId}}",", mode Simple",[201,858,859,864],{},[219,860,861,862],{},"Else: ",[25,863,829],{},[219,865,866,869,870,435,874],{},[25,867,868],{},"xApp Session URL"," token, ",[871,872,873],"em",{},"not contains",[138,875,876],{},"cognigy",[201,878,879,884],{},[219,880,843,881],{},[25,882,883],{},"xApp: Init Session",[219,885,886],{},"Defaults",[201,888,889,895],{},[219,890,891,892],{},"Next: ",[25,893,894],{},"Say",[219,896,897,898,901,902,904],{},"Text: ",[871,899,900],{},"Open your live browser session here:"," plus the ",[25,903,868],{}," token",[201,906,907,912],{},[219,908,891,909],{},[25,910,911],{},"xApp: Show HTML",[219,913,914,915,918],{},"Content ",[25,916,917],{},"HTML Body only",", paste the code below",[103,920],{"alt":921,"caption":922,"height":109,"src":923,"width":924},"The finished Cognigy flow","The finished flow.","/guides/cognigy/img-15.jpg",955,[130,926,927,928,930],{},"In the code, replace the three marked values: your endpoint URL from step 5, your ",[138,929,180],{}," widget key and your Space ID.",[323,932,933],{"title":911},[327,934,938],{"className":935,"code":936,"language":937,"meta":333,"style":333},"language-html shiki shiki-themes github-dark github-dark","\u003Cscript src=\"/sdk/app-page-sdk.js\">\u003C/script>\n\u003Cstyle>\n  html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }\n  #session-container { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }\n\u003C/style>\n\u003C!-- Must be an iframe -->\n\u003Ciframe id=\"session-container\">\u003C/iframe>\n\u003Cscript>\n  const COGNIGY_USER_ID = \"{{input.userId}}\";\n  const COGNIGY_SESSION_ID = \"{{input.sessionId}}\";\n  const COGNIGY_ENDPOINT = \"PASTE_YOUR_ENDPOINT_URL_HERE\";\n  (function (w, e, b, f, u, s) {\n    w[f] = w[f] || { initSpace: function () { return new Promise(r => { w[f].q = arguments; w[f].resolve = r; }); } };\n    u = e.createElement(b); s = e.getElementsByTagName(b)[0];\n    u.async = 1; u.src = 'https://webfuse.com/surfly.js';\n    s.parentNode.insertBefore(u, s);\n  })(window, document, 'script', 'webfuse');\n  webfuse.initSpace('PASTE_YOUR_wk_WIDGET_KEY_HERE', 'YOUR_SPACE_ID', {})\n    .then(async space => {\n      const session = space.session();\n      session.on('session_started', async (session) => {\n        const info = await session.getSessionInfo();\n        const response = await fetch(COGNIGY_ENDPOINT, {\n          method: 'POST',\n          headers: { 'Content-Type': 'application/json' },\n          body: JSON.stringify({\n            userId: COGNIGY_USER_ID,\n            sessionId: COGNIGY_SESSION_ID,\n            text: '__ACTIVATE_WEBFUSE_SESSION__',\n            data: { webfuseId: info.sessionId }\n          })\n        });\n        console.log('Cognigy response status:', response.status);\n      });\n      await session.start('#session-container');\n    })\n    .catch(error => console.error('Failed to start Webfuse session:', error));\n\u003C/script>\n","html",[138,939,940,965,974,1041,1096,1105,1110,1131,1139,1155,1169,1183,1225,1284,1315,1336,1348,1365,1386,1406,1426,1455,1476,1499,1511,1528,1544,1555,1566,1577,1583,1589,1595,1612,1618,1636,1642,1670],{"__ignoreMap":333},[573,941,942,945,949,952,954,957,960,962],{"class":575,"line":576},[573,943,944],{"class":583},"\u003C",[573,946,948],{"class":947},"sxg3X","script",[573,950,951],{"class":579}," src",[573,953,655],{"class":583},[573,955,956],{"class":688},"\"/sdk/app-page-sdk.js\"",[573,958,959],{"class":583},">\u003C/",[573,961,948],{"class":947},[573,963,964],{"class":583},">\n",[573,966,967,969,972],{"class":575,"line":587},[573,968,944],{"class":583},[573,970,971],{"class":947},"style",[573,973,964],{"class":583},[573,975,976,979,981,984,986,989,991,994,997,1000,1002,1004,1006,1009,1011,1014,1017,1019,1022,1024,1026,1028,1030,1033,1035,1038],{"class":575,"line":625},[573,977,978],{"class":947},"  html",[573,980,435],{"class":583},[573,982,983],{"class":947},"body",[573,985,631],{"class":583},[573,987,988],{"class":634},"margin",[573,990,593],{"class":583},[573,992,993],{"class":634},"0",[573,995,996],{"class":583},"; ",[573,998,999],{"class":634},"padding",[573,1001,593],{"class":583},[573,1003,993],{"class":634},[573,1005,996],{"class":583},[573,1007,1008],{"class":634},"width",[573,1010,593],{"class":583},[573,1012,1013],{"class":634},"100",[573,1015,1016],{"class":596},"%",[573,1018,996],{"class":583},[573,1020,1021],{"class":634},"height",[573,1023,593],{"class":583},[573,1025,1013],{"class":634},[573,1027,1016],{"class":596},[573,1029,996],{"class":583},[573,1031,1032],{"class":634},"overflow",[573,1034,593],{"class":583},[573,1036,1037],{"class":634},"hidden",[573,1039,1040],{"class":583},"; }\n",[573,1042,1043,1046,1048,1051,1053,1056,1058,1061,1063,1065,1067,1069,1071,1073,1075,1077,1079,1081,1083,1085,1087,1090,1092,1094],{"class":575,"line":661},[573,1044,1045],{"class":579},"  #session-container",[573,1047,631],{"class":583},[573,1049,1050],{"class":634},"position",[573,1052,593],{"class":583},[573,1054,1055],{"class":634},"absolute",[573,1057,996],{"class":583},[573,1059,1060],{"class":634},"inset",[573,1062,593],{"class":583},[573,1064,993],{"class":634},[573,1066,996],{"class":583},[573,1068,1008],{"class":634},[573,1070,593],{"class":583},[573,1072,1013],{"class":634},[573,1074,1016],{"class":596},[573,1076,996],{"class":583},[573,1078,1021],{"class":634},[573,1080,593],{"class":583},[573,1082,1013],{"class":634},[573,1084,1016],{"class":596},[573,1086,996],{"class":583},[573,1088,1089],{"class":634},"border",[573,1091,593],{"class":583},[573,1093,993],{"class":634},[573,1095,1040],{"class":583},[573,1097,1098,1101,1103],{"class":575,"line":668},[573,1099,1100],{"class":583},"\u003C/",[573,1102,971],{"class":947},[573,1104,964],{"class":583},[573,1106,1107],{"class":575,"line":712},[573,1108,1109],{"class":664},"\u003C!-- Must be an iframe -->\n",[573,1111,1112,1114,1117,1120,1122,1125,1127,1129],{"class":575,"line":721},[573,1113,944],{"class":583},[573,1115,1116],{"class":947},"iframe",[573,1118,1119],{"class":579}," id",[573,1121,655],{"class":583},[573,1123,1124],{"class":688},"\"session-container\"",[573,1126,959],{"class":583},[573,1128,1116],{"class":947},[573,1130,964],{"class":583},[573,1132,1133,1135,1137],{"class":575,"line":727},[573,1134,944],{"class":583},[573,1136,948],{"class":947},[573,1138,964],{"class":583},[573,1140,1141,1144,1147,1149,1152],{"class":575,"line":748},[573,1142,1143],{"class":596},"  const",[573,1145,1146],{"class":634}," COGNIGY_USER_ID",[573,1148,676],{"class":596},[573,1150,1151],{"class":688}," \"{{input.userId}}\"",[573,1153,1154],{"class":583},";\n",[573,1156,1157,1159,1162,1164,1167],{"class":575,"line":756},[573,1158,1143],{"class":596},[573,1160,1161],{"class":634}," COGNIGY_SESSION_ID",[573,1163,676],{"class":596},[573,1165,1166],{"class":688}," \"{{input.sessionId}}\"",[573,1168,1154],{"class":583},[573,1170,1171,1173,1176,1178,1181],{"class":575,"line":761},[573,1172,1143],{"class":596},[573,1174,1175],{"class":634}," COGNIGY_ENDPOINT",[573,1177,676],{"class":596},[573,1179,1180],{"class":688}," \"PASTE_YOUR_ENDPOINT_URL_HERE\"",[573,1182,1154],{"class":583},[573,1184,1185,1188,1191,1194,1197,1199,1202,1204,1207,1209,1212,1214,1217,1219,1222],{"class":575,"line":782},[573,1186,1187],{"class":583},"  (",[573,1189,1190],{"class":596},"function",[573,1192,1193],{"class":583}," (",[573,1195,1196],{"class":603},"w",[573,1198,435],{"class":583},[573,1200,1201],{"class":603},"e",[573,1203,435],{"class":583},[573,1205,1206],{"class":603},"b",[573,1208,435],{"class":583},[573,1210,1211],{"class":603},"f",[573,1213,435],{"class":583},[573,1215,1216],{"class":603},"u",[573,1218,435],{"class":583},[573,1220,1221],{"class":603},"s",[573,1223,1224],{"class":583},") {\n",[573,1226,1227,1230,1232,1235,1238,1240,1243,1245,1247,1250,1253,1256,1259,1262,1265,1268,1271,1273,1276,1279,1281],{"class":575,"line":790},[573,1228,1229],{"class":583},"    w[f] ",[573,1231,655],{"class":596},[573,1233,1234],{"class":583}," w[f] ",[573,1236,1237],{"class":596},"||",[573,1239,631],{"class":583},[573,1241,1242],{"class":579},"initSpace",[573,1244,593],{"class":583},[573,1246,1190],{"class":596},[573,1248,1249],{"class":583}," () { ",[573,1251,1252],{"class":596},"return",[573,1254,1255],{"class":596}," new",[573,1257,1258],{"class":634}," Promise",[573,1260,1261],{"class":583},"(",[573,1263,1264],{"class":603},"r",[573,1266,1267],{"class":596}," =>",[573,1269,1270],{"class":583}," { w[f].q ",[573,1272,655],{"class":596},[573,1274,1275],{"class":634}," arguments",[573,1277,1278],{"class":583},"; w[f].resolve ",[573,1280,655],{"class":596},[573,1282,1283],{"class":583}," r; }); } };\n",[573,1285,1286,1289,1291,1294,1297,1300,1302,1304,1307,1310,1312],{"class":575,"line":796},[573,1287,1288],{"class":583},"    u ",[573,1290,655],{"class":596},[573,1292,1293],{"class":583}," e.",[573,1295,1296],{"class":579},"createElement",[573,1298,1299],{"class":583},"(b); s ",[573,1301,655],{"class":596},[573,1303,1293],{"class":583},[573,1305,1306],{"class":579},"getElementsByTagName",[573,1308,1309],{"class":583},"(b)[",[573,1311,993],{"class":634},[573,1313,1314],{"class":583},"];\n",[573,1316,1318,1321,1323,1326,1329,1331,1334],{"class":575,"line":1317},15,[573,1319,1320],{"class":583},"    u.async ",[573,1322,655],{"class":596},[573,1324,1325],{"class":634}," 1",[573,1327,1328],{"class":583},"; u.src ",[573,1330,655],{"class":596},[573,1332,1333],{"class":688}," 'https://webfuse.com/surfly.js'",[573,1335,1154],{"class":583},[573,1337,1339,1342,1345],{"class":575,"line":1338},16,[573,1340,1341],{"class":583},"    s.parentNode.",[573,1343,1344],{"class":579},"insertBefore",[573,1346,1347],{"class":583},"(u, s);\n",[573,1349,1351,1354,1357,1359,1362],{"class":575,"line":1350},17,[573,1352,1353],{"class":583},"  })(window, document, ",[573,1355,1356],{"class":688},"'script'",[573,1358,435],{"class":583},[573,1360,1361],{"class":688},"'webfuse'",[573,1363,1364],{"class":583},");\n",[573,1366,1368,1371,1373,1375,1378,1380,1383],{"class":575,"line":1367},18,[573,1369,1370],{"class":583},"  webfuse.",[573,1372,1242],{"class":579},[573,1374,1261],{"class":583},[573,1376,1377],{"class":688},"'PASTE_YOUR_wk_WIDGET_KEY_HERE'",[573,1379,435],{"class":583},[573,1381,1382],{"class":688},"'YOUR_SPACE_ID'",[573,1384,1385],{"class":583},", {})\n",[573,1387,1389,1392,1395,1397,1399,1402,1404],{"class":575,"line":1388},19,[573,1390,1391],{"class":583},"    .",[573,1393,1394],{"class":579},"then",[573,1396,1261],{"class":583},[573,1398,597],{"class":596},[573,1400,1401],{"class":603}," space",[573,1403,1267],{"class":596},[573,1405,622],{"class":583},[573,1407,1409,1412,1415,1417,1420,1423],{"class":575,"line":1408},20,[573,1410,1411],{"class":596},"      const",[573,1413,1414],{"class":634}," session",[573,1416,676],{"class":596},[573,1418,1419],{"class":583}," space.",[573,1421,1422],{"class":579},"session",[573,1424,1425],{"class":583},"();\n",[573,1427,1429,1432,1435,1437,1440,1442,1444,1446,1448,1451,1453],{"class":575,"line":1428},21,[573,1430,1431],{"class":583},"      session.",[573,1433,1434],{"class":579},"on",[573,1436,1261],{"class":583},[573,1438,1439],{"class":688},"'session_started'",[573,1441,435],{"class":583},[573,1443,597],{"class":596},[573,1445,1193],{"class":583},[573,1447,1422],{"class":603},[573,1449,1450],{"class":583},") ",[573,1452,619],{"class":596},[573,1454,622],{"class":583},[573,1456,1458,1460,1463,1465,1468,1471,1474],{"class":575,"line":1457},22,[573,1459,628],{"class":596},[573,1461,1462],{"class":634}," info",[573,1464,676],{"class":596},[573,1466,1467],{"class":596}," await",[573,1469,1470],{"class":583}," session.",[573,1472,1473],{"class":579},"getSessionInfo",[573,1475,1425],{"class":583},[573,1477,1479,1481,1484,1486,1488,1491,1493,1496],{"class":575,"line":1478},23,[573,1480,628],{"class":596},[573,1482,1483],{"class":634}," response",[573,1485,676],{"class":596},[573,1487,1467],{"class":596},[573,1489,1490],{"class":579}," fetch",[573,1492,1261],{"class":583},[573,1494,1495],{"class":634},"COGNIGY_ENDPOINT",[573,1497,1498],{"class":583},", {\n",[573,1500,1502,1505,1508],{"class":575,"line":1501},24,[573,1503,1504],{"class":583},"          method: ",[573,1506,1507],{"class":688},"'POST'",[573,1509,1510],{"class":583},",\n",[573,1512,1514,1517,1520,1522,1525],{"class":575,"line":1513},25,[573,1515,1516],{"class":583},"          headers: { ",[573,1518,1519],{"class":688},"'Content-Type'",[573,1521,593],{"class":583},[573,1523,1524],{"class":688},"'application/json'",[573,1526,1527],{"class":583}," },\n",[573,1529,1531,1534,1537,1539,1542],{"class":575,"line":1530},26,[573,1532,1533],{"class":583},"          body: ",[573,1535,1536],{"class":634},"JSON",[573,1538,83],{"class":583},[573,1540,1541],{"class":579},"stringify",[573,1543,584],{"class":583},[573,1545,1547,1550,1553],{"class":575,"line":1546},27,[573,1548,1549],{"class":583},"            userId: ",[573,1551,1552],{"class":634},"COGNIGY_USER_ID",[573,1554,1510],{"class":583},[573,1556,1558,1561,1564],{"class":575,"line":1557},28,[573,1559,1560],{"class":583},"            sessionId: ",[573,1562,1563],{"class":634},"COGNIGY_SESSION_ID",[573,1565,1510],{"class":583},[573,1567,1569,1572,1575],{"class":575,"line":1568},29,[573,1570,1571],{"class":583},"            text: ",[573,1573,1574],{"class":688},"'__ACTIVATE_WEBFUSE_SESSION__'",[573,1576,1510],{"class":583},[573,1578,1580],{"class":575,"line":1579},30,[573,1581,1582],{"class":583},"            data: { webfuseId: info.sessionId }\n",[573,1584,1586],{"class":575,"line":1585},31,[573,1587,1588],{"class":583},"          })\n",[573,1590,1592],{"class":575,"line":1591},32,[573,1593,1594],{"class":583},"        });\n",[573,1596,1598,1601,1604,1606,1609],{"class":575,"line":1597},33,[573,1599,1600],{"class":583},"        console.",[573,1602,1603],{"class":579},"log",[573,1605,1261],{"class":583},[573,1607,1608],{"class":688},"'Cognigy response status:'",[573,1610,1611],{"class":583},", response.status);\n",[573,1613,1615],{"class":575,"line":1614},34,[573,1616,1617],{"class":583},"      });\n",[573,1619,1621,1624,1626,1629,1631,1634],{"class":575,"line":1620},35,[573,1622,1623],{"class":596},"      await",[573,1625,1470],{"class":583},[573,1627,1628],{"class":579},"start",[573,1630,1261],{"class":583},[573,1632,1633],{"class":688},"'#session-container'",[573,1635,1364],{"class":583},[573,1637,1639],{"class":575,"line":1638},36,[573,1640,1641],{"class":583},"    })\n",[573,1643,1645,1647,1650,1652,1655,1657,1660,1662,1664,1667],{"class":575,"line":1644},37,[573,1646,1391],{"class":583},[573,1648,1649],{"class":579},"catch",[573,1651,1261],{"class":583},[573,1653,1654],{"class":603},"error",[573,1656,1267],{"class":596},[573,1658,1659],{"class":583}," console.",[573,1661,1654],{"class":579},[573,1663,1261],{"class":583},[573,1665,1666],{"class":688},"'Failed to start Webfuse session:'",[573,1668,1669],{"class":583},", error));\n",[573,1671,1673,1675,1677],{"class":575,"line":1672},38,[573,1674,1100],{"class":583},[573,1676,948],{"class":947},[573,1678,964],{"class":583},[53,1680,1682,1706,1720,1736],{"id":1681},"test",[19,1683,1684,1690,1693,1700],{},[22,1685,532,1686,1689],{},[25,1687,1688],{},"Chat with your Agent"," (top right) and say hello. The agent replies and sends the session link.",[22,1691,1692],{},"Open the link once, in a tab you keep in front. The website loads in the session.",[22,1694,1695,1696,1699],{},"Give a ZIP code and ask: ",[871,1697,1698],{},"10001. Where's the nearest place I can drop off a DHL Express package?"," The agent searches the locator and names the three nearest drop-off points.",[22,1701,1702,1703],{},"Then ask: ",[871,1704,1705],{},"Which of those are run by DHL itself, not a partner?",[100,1707,1708,1714],{},[103,1709],{"alt":1710,"caption":1711,"height":559,"src":1712,"width":1713},"Agent asks for the ZIP code and sends the session link (blurred)","The greeting and the session link.","/guides/cognigy/img-16.jpg",920,[103,1715],{"alt":1716,"caption":1717,"height":1718,"src":1719,"width":1713},"Agent answers that DHL Express at 225 West 23rd St is run by DHL and the other two are partners","The follow-up needs no tool call. The agent answers from the page it already read.",700,"/guides/cognigy/img-17.jpg",[100,1721,1722,1729],{},[103,1723],{"alt":1724,"caption":1725,"height":1726,"src":1727,"width":1728},"Debug output: Tool Call navigate with the DHL locator search URL for 10001","The chat shows each tool call and its arguments. Here the agent searched by ZIP code in a single step.",198,"/guides/cognigy/img-18.jpg",882,[103,1730],{"alt":1731,"caption":1732,"height":1733,"src":1734,"width":1735},"The xApp next to the chat showing DHL results for 10001","What the customer sees in the xApp at that moment.",732,"/guides/cognigy/img-19.jpg",800,[125,1737,1739],{"title":1738},"Good to know while testing",[1740,1741,1742,1748,1754],"ul",{},[22,1743,1744,1747],{},[25,1745,1746],{},"Open each link once."," A second open joins the session as another participant. Need a fresh start? Reset the chat and say hello again for a new link.",[22,1749,1750,1753],{},[25,1751,1752],{},"Keep the session tab in front, and its size steady."," Browsers slow down background tabs, and a resize can change the page layout halfway through a run.",[22,1755,1756,1759],{},[25,1757,1758],{},"Saving a node restarts the test chat."," Greet again after every change.",[11,1761,1765,1794,1800],{"id":1762,"title":1763,"lead":1764},"debug","Debugging tips","When the agent does something unexpected, these are the checks that helped us most, roughly in the order we would try them.",[125,1766,1768,1774,1788],{"title":1767,"type":128},"1. Try it by hand in the Automation Inspector",[130,1769,1770,1771,1773],{},"Start a session from your Space and click the robot icon in the session's top bar to open the ",[25,1772,271],{},". It runs the same tools Cognigy calls.",[130,1775,1776,1777,1779,1780,1783,1784,1787],{},"Use ",[138,1778,275],{}," to open the page, ",[138,1781,1782],{},"see_domSnapshot"," to see what the agent sees, and ",[138,1785,1786],{},"act_click"," on the element it should click. If a step does not work by hand, the agent will not manage it either, and you have found what to change in the prompt.",[130,1789,1790,1791,83],{},"In the Inspector, enter a wf-id as the number only, for example ",[138,1792,1793],{},"560",[103,1795],{"alt":1796,"caption":1797,"height":1798,"src":1799,"width":123},"Automation Inspector next to a DHL session: navigate to the results URL succeeded","The Inspector next to the session. One navigate call, and the DHL results are on screen.",809,"/guides/cognigy/img-20.jpg",[195,1801,1802,1812],{},[198,1803,1804],{},[201,1805,1806,1809],{},[204,1807,1808],{},"What you see",[204,1810,1811],{},"Try this",[214,1813,1814,1833,1847,1866,1878,1886,1894,1902,1914],{},[201,1815,1816,1819],{},[219,1817,1818],{},"You are not sure what the agent did",[219,1820,1821,1822,1825,1826,1829,1830,1832],{},"Read the ",[25,1823,1824],{},"AI Agent: Tool Call"," entries in the test chat. Check that ",[138,1827,1828],{},"session_id"," is filled in and the arguments look right. An empty ",[138,1831,1828],{}," means the xApp never reported back: check the endpoint URL in the xApp code and that the input transformer is on.",[201,1834,1835,1838],{},[219,1836,1837],{},"The agent never uses the Webfuse tools",[219,1839,1840,1841,1843,1844,1846],{},"Check the MCP Tool ",[25,1842,405],{}," is ",[138,1845,408],{}," and the session link was opened.",[201,1848,1849,1852],{},[219,1850,1851],{},"The agent clicks the wrong thing, or says it cannot find a button you can see",[219,1853,1854,1855,1858,1859,1861,1862,1865],{},"Some sites make plain text clickable, like DHL's ",[25,1856,1857],{},"Detail"," link. Find it in a ",[138,1860,1782],{}," in the Inspector. If it has no wf-id, keep the full snapshot in the prompt (not ",[138,1863,1864],{},"interactiveOnly","), so the agent can still target it.",[201,1867,1868,1871],{},[219,1869,1870],{},"The agent says the page is empty or still loading",[219,1872,1873,1874,1877],{},"Large pages can be cut off, and some results load a moment later. Raise ",[138,1875,1876],{},"maxTokens"," in the prompt, and where the site allows it, send the agent straight to a results URL instead of filling a form.",[201,1879,1880,1883],{},[219,1881,1882],{},"\"Infinite Loop Detected\"",[219,1884,1885],{},"Cognigy allows about four tool calls per customer message. Give the agent the shortest path in the prompt, such as a search URL. Journeys that need more steps are a job for a custom tool (see below).",[201,1887,1888,1891],{},[219,1889,1890],{},"The agent asks follow-up questions",[219,1892,1893],{},"Replace the default instruction from step 3.",[201,1895,1896,1899],{},[219,1897,1898],{},"The agent says \"I am searching\" but nothing moves",[219,1900,1901],{},"Switch the AI Agent node's LLM to a stronger tool-calling model.",[201,1903,1904,1907],{},[219,1905,1906],{},"The session area stays empty",[219,1908,1909,1910,1913],{},"The container in the xApp code must be an ",[138,1911,1912],{},"\u003Ciframe id=\"session-container\">",". Check the widget key and Space ID.",[201,1915,1916,1919],{},[219,1917,1918],{},"\"You are not allowed to join this session\"",[219,1920,1921],{},"The link was opened twice. Reset the chat and say hello again to get a new one.",[11,1923,1927,1930,1933,1967,1972,1983,1990,2016],{"id":1924,"title":1925,"eyebrow":1926},"next","You just built what used to take an expert human agent","Where you are now",[130,1928,1929],{},"Until now, a customer stuck on a website needed a person who knows that site, works from a handbook and walks them through it. Your Cognigy agent now does almost the same job. It opens the right page, reads it, clicks and types for the customer, right inside their conversation. It needed no handbook, no API from the site owner and no integration project.",[130,1931,1932],{},"To be honest about where that leaves you: today your agent works like a skilled person on their first day at the job. It reads every page, works out the next step and checks the result, every single time. That is why it works on any website. It is also why it takes a little while per request and reads a lot of page along the way.",[1934,1935,1936],"guide-ladder",{},[19,1937,1938,1944,1955,1961],{},[22,1939,1940,1943],{},[25,1941,1942],{},"Human navigation"," A person, a handbook and years of knowing where everything is.",[22,1945,1946,1949,1950,1954],{},[25,1947,1948],{},"Agentic discovery"," ",[1951,1952,1953],"guide-pin",{},"You are here"," Your agent reads the live page and works out each step, like an expert would. Works on any website from day one, at the pace of someone finding their way.",[22,1956,1957,1960],{},[25,1958,1959],{},"Custom tools"," The routines your customers need every day become one call each. Much faster, with far fewer tokens.",[22,1962,1963,1966],{},[25,1964,1965],{},"Website as an API"," Those routines become endpoints any of your systems can call.",[1968,1969,1971],"h3",{"id":1970},"your-next-step-make-it-fast-with-custom-tools","Your next step: make it fast with custom tools",[130,1973,1974,1975,1978,1979,1982],{},"Most customers ask for the same few things. At Level 1 the agent rediscovers the way to each of them on every request. A custom tool remembers the way. It wraps one routine, such as ",[871,1976,1977],{},"look up an order"," or ",[871,1980,1981],{},"fill the claim form",": the agent calls it once with the inputs, and the tool does the clicks and checks inside the session and returns just the answer.",[130,1984,1985,1986,1989],{},"On DHL, a shipping quote takes about fifteen steps on the site, more than Cognigy allows in one turn. As a custom tool, ",[138,1987,1988],{},"getShippingQuote"," is a single call. Reading one location's opening hours works the same way.",[1740,1991,1992,1998,2004,2010],{},[22,1993,1994,1997],{},[25,1995,1996],{},"Much faster."," One call instead of a read, decide and click loop. The customer gets the answer sooner, and journeys too long for Cognigy's limit of about four tool calls per message now fit in one.",[22,1999,2000,2003],{},[25,2001,2002],{},"Far fewer tokens."," The agent no longer reads whole pages to find its way, so every conversation costs less.",[22,2005,2006,2009],{},[25,2007,2008],{},"Nothing to change in Cognigy."," Custom tools appear in the same MCP Tool node, next to the built-in ones.",[22,2011,2012,2015],{},[25,2013,2014],{},"Level 1 stays underneath."," If a website changes, the agent reads the new page and still gets the job done.",[130,2017,2018,2021,2022,2025,2026,2031],{},[25,2019,2020],{},"How to make them."," Record the steps in the Automation Inspector's ",[25,2023,2024],{},"Playback"," tab and save them as a tool, with no code. Or ask your coding agent (Claude Code, for example) to build a small Space Extension that registers them: describe the routine, point it at the ",[62,2027,2030],{"href":2028,"rel":2029},"https://dev.webfuse.com/custom-mcp-tools",[66],"custom tools docs",", and let it build and test them for you.",[971,2033,2034],{},"html pre.shiki code .sFR8T, html code.shiki .sFR8T{--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suv1-, html code.shiki .suv1-{--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sOPea, html code.shiki .sOPea{--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .s-3mD, html code.shiki .s-3mD{--shiki-default:#FFAB70;--shiki-dark:#FFAB70}html pre.shiki code .s8ozJ, html code.shiki .s8ozJ{--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s4wv1, html code.shiki .s4wv1{--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sxg3X, html code.shiki .sxg3X{--shiki-default:#85E89D;--shiki-dark:#85E89D}",{"title":333,"searchDepth":587,"depth":587,"links":2036},[2037],{"id":1970,"depth":625,"text":1971},"2026-10-06","Your Cognigy AI Agent talks to the customer. Webfuse opens the website in a live session the customer can watch, and the agent clicks, types and reads in it for them. You set it up in Webfuse Studio and Cognigy, without writing code.","md","Implementation guide · Cognigy",[2043,2044],"No code","Any public website",null,{},true,"Cognigy","/guides/webfuse-for-cognigy",{"title":5,"description":2039},{"site":2052,"siteAlt":2053,"siteWidth":123,"siteHeight":2054,"chat":2055,"chatAlt":2056,"chatWidth":1713,"chatHeight":2057,"url":2058,"caption":2059},"/guides/cognigy/img-02.jpg","The live Webfuse session on DHL's service point locator with results and map for 10001",811,"/guides/cognigy/img-03.jpg","Cognigy test chat: the agent lists the three nearest DHL drop-off points to ZIP 10001",515,"locator.dhl.com/results","What you will have at the end. The customer asks in the chat, the agent searches DHL's service point locator in the live session and answers from it.",{"loc":2049},"guides/webfuse-for-cognigy",[2063,2065,2067,2069,2071,2073,2075],{"id":55,"title":2064,"minutes":661},"Sign up and create an Automation Space",{"id":147,"title":2066,"minutes":587},"Copy the keys and Space ID",{"id":279,"title":2068,"minutes":625},"Create the AI Agent in Cognigy",{"id":347,"title":2070,"minutes":712},"Add the prompt and connect Webfuse over MCP",{"id":501,"title":2072,"minutes":625},"Add a REST endpoint",{"id":802,"title":2074,"minutes":721},"Add the xApp that shows the session",{"id":1681,"title":2076,"minutes":756},"Test it","About 30 minutes to a working demo","hands on the web","AfIcsE2Rli_LM0BAxowP3_mvQLRhapD6pybFqzo-ZqE",1791294757137]