Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.
Use Advanced Analysis on an agent for facts you want to report on, filter by or send to your systems, such as payment_promised (a Boolean) or promised_date (a Date). Status, duration and transcript are already in Logs without it.In the dashboard: Agents (listed under Assistants in the sidebar) → open an agent → Advanced Settings → Advanced Analysis. On a multi-prompt agent, open Global Settings → Advanced Analysis (see Global Settings).
Adding a Boolean goal variable and testing it on a past call
1
Add a variable
Open Advanced Analysis and click Add a new variable. The Add variables dialog opens.
Variable name (required): lower-case; spaces become _ as you type.
Type: one of the types below. The default is Boolean.
Enum options (required for Enum): type an option and press Enter or Add. Options are stored lower-case with _ for spaces.
Description (required): “What the analysis should extract from the call.” Write it as an instruction, for example “True if the customer agreed to pay by a specific date.”
Default value: “Fallback used when nothing is extracted.”
Use as goal: Boolean variables only (see The goal).
Analysis variables are separate from the agent’s custom variables, which you fill before a call.
The Add variables dialog
2
Add several at once (optional)
Click Add new variable inside the dialog for another blank form. The button at the bottom changes to Add 2, Add 3 and so on.
3
Save
Click Add. You see “Variable added” and the variable appears in the table with its Variable, Type and Default value. The goal variable carries a Goal chip.
The table lists your variable, and Test is now enabled.
Variables after saving
To change a variable, click its row (the dialog is titled Configure variable) or use the row menu: Edit or Delete. Each change saves immediately.A change applies to conversations analysed after you save it. Calls already analysed keep their results and can’t be re-analysed. On a multi-prompt agent, changes go into the draft and apply once you publish.
While adding, paste a JSON array (or one object) into a Variable name field, or drop a JSON file onto the dialog, to fill one form per item:
[ { "variableName": "payment_promised", "type": "boolean", "description": "True if the customer agreed to pay by a specific date.", "defaultValue": false, "useAsGoal": true }, { "variableName": "promised_date", "type": "date", "description": "The date the customer promised to pay, if any." }, { "variableName": "objection", "type": "enum", "values": ["already_paid", "no_money", "dispute", "none"], "description": "The customer's main reason for not paying." }]
Names are converted to snake_case. A type Ringg does not recognise becomes String, with the warning “Some types weren’t recognized”. Review the forms, then click Add.
The goal is one Boolean variable that says whether the conversation succeeded, for example payment_promised. Analytics uses it to calculate the agent’s success rate.
Only a Boolean can be the goal. On other types the switch reads “Only boolean variables can be used as goals.”
An agent has one goal at a time. Turning on Use as goal for another variable asks Replace current goal? first.
Changing the goal variable’s type asks Change variable type? and removes it as the goal.
Context (“Include additional context for better results”): one free-text note for the whole analysis, such as what counts as a valid promise to pay. Click Save; you see “Context saved”.
Log tool calls (“Include tool call logs to enhance advanced analysis.”): a switch. On, the analysis also reads the tool calls made during the conversation, such as an API lookup’s result.
Click Test. It is disabled until you have saved at least one variable.
2
Pick a call
In Test advanced analysis, paste a Call ID (copy it from the call panel in Logs), or pick from Or select from recent call log. The list shows this agent’s completed calls; sort it by date or duration. Picking a call from the list runs the test straight away.
3
Run it
If you pasted a Call ID, click Run analysis. You see the Analysis result next to the Call transcript (copy and download buttons). The link icon opens the call in Logs. Click Test another to try a different one.
The test is a preview: it doesn’t change the call’s stored results or send a webhook.
Analysis result shows a value for each variable that matches what was said in the transcript.
Goal achieved and Cost per goal, once you pick an agent or campaign. Boolean and Enum variables appear as Cohort analysis charts. With one agent selected, a slice opens the matching calls in Logs.
Agents that saved an analysis prompt or keys before the variable table existed keep the older editor. It has a Prompt box (“Enter your prompt for Advanced Analysis”), a list of keys (Define required keys for the prompt) with a type and default value, a tool-call-logs switch, Save and Test Analysis. Its types are String, Number, Integer, Boolean, Array, Date and DateTime. It has no goal. Everyone else gets the variable table described above.
Advanced Analysis variables are set up in the dashboard only; the public API has no operation for them. Read results per call from Get Call Details (the client_analysis field, returned when you send send_analysis=true) or from the client_analysis_completed webhook (Event Subscription). You need an API key and the call’s ID.
The dialog shows the server’s reason, or “Failed to run analysis” with “Check the call ID and make sure you have saved at least one variable before testing.” Check the call ID belongs to this agent and the call completed, then click Retry.
Does it run on WhatsApp chats?
Yes. Every agent, WhatsApp included, offers the Advanced Analysis Complete event and shows results in Logs. Only the Test dialog is limited to completed calls.
A variable is always empty or wrong
Rewrite its Description as a precise instruction, add a Default value, and use Context for definitions. Then run Test on a call where you know the answer.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ringg AI","description":"Build AI agents that make and answer phone calls, talk on your website and chat on WhatsApp, then run them from the Ringg AI dashboard or REST API.","colors":{"primary":"#0A0A0B","light":"#FFFFFF","dark":"#0A0A0B"},"logo":{"light":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/light.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=053f22dbaf5140cd8e5dadb1d4d057cd","dark":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=cf9075384ec572e1a19b939d5a8674af","href":"https://www.ringg.ai"},"favicon":"https://mintcdn.com/ringgai-0da73d20/ZLVFI55VhZ4gmYrF/favicon.svg?fit=max\u0026auto=format\u0026n=ZLVFI55VhZ4gmYrF\u0026q=85\u0026s=e612fcf76df43d6468baa340dc3fde50","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://prod-api.ringg.ai/ca/api/v0"}},"appearance":{"default":"dark"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"/resources/learn/all-lessons","label":"Learn"},{"href":"mailto:admin@ringg.ai","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ringg.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/ringg_ai","linkedin":"https://www.linkedin.com/company/ringg","youtube":"https://www.youtube.com/@RinggAI","instagram":"https://www.instagram.com/ringg_ai","discord":"https://discord.gg/YuEnb8Vsca"},"links":[{"header":"For AI agents","items":[{"label":"llms.txt","href":"https://docs.ringg.ai/llms.txt"},{"label":"skill.md","href":"https://docs.ringg.ai/skill.md"},{"label":"OpenAPI spec","href":"https://docs.ringg.ai/api-reference/openapi.json"},{"label":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"search":{"prompt":"Search the docs"},"seo":{"metatags":{"canonical":"https://docs.ringg.ai","og:site_name":"Ringg AI Docs","twitter:site":"@ringg_ai"},"organization":{"id":"https://www.ringg.ai/#organization","legalName":"Stoic AI Private Limited","url":"https://www.ringg.ai","logo":"https://assets.ringg.ai/images/logo/logo.svg","sameAs":["https://x.com/ringg_ai","https://www.linkedin.com/company/ringg","https://www.youtube.com/@RinggAI","https://www.instagram.com/ringg_ai","https://discord.gg/YuEnb8Vsca"]}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"errors":{"404":{"redirect":false,"title":"This page doesn't exist","description":"It may have moved in the docs rebuild. The suggestions below usually have it; otherwise start from [the introduction](/get-started/ringg-ai) or search above."}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","download-spec"],"display":"header"},"markdown":{"instructions":["To search or read these docs, connect the Ringg docs MCP server at https://docs.ringg.ai/mcp (no key needed; tools search_ringg_ai and query_docs_filesystem_ringg_ai) instead of browsing pages one by one. Setup for each client: https://docs.ringg.ai/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants.md","The dashboard labels agents \"Assistants\"; these docs say \"agent\". Both mean the same object, identified by agent_id.","API base URL: https://prod-api.ringg.ai/ca/api/v0. Send the workspace API key in the X-API-KEY header, from server-side code only.","Placing a call dials a real phone number and spends credits. Confirm the number with the user before calling.","To act on a Ringg workspace (place calls, edit agents, read transcripts), use the separate Ringg workspace MCP server at https://mcp.ringg.ai/mcp: https://docs.ringg.ai/resources/mcp-server/workspace-mcp-server/overview.md"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ringgai-0da73d20","hasAudioNarration":false,"actualSubdomain":"ringgai-0da73d20","customDomains":["docs.ringg.ai"],"gitSource":{"type":"github","owner":"stonkr","repo":"ringg-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6adb52e21a579503f2299e23","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Documentation","count":90},{"language":"default","tag":"API reference","count":52},{"language":"default","tag":"Build agents","count":37},{"language":"default","tag":"Resources","count":34},{"language":"default","tag":"Learn","count":27},{"language":"default","tag":"Inventory","count":23},{"language":"default","tag":"Deploy","count":22},{"language":"default","tag":"Customize agent behaviour","count":19},{"language":"default","tag":"Agents","count":17},{"language":"default","tag":"Calling","count":15}],"searchSettings":{"showContentSnippets":true,"maxResults":8}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:1.375rem!important;width:auto!important}.figure-card{display:flex;flex-direction:column;margin:0.5rem 0;overflow:hidden;border:1px solid rgb(10 10 11 / 0.08);border-radius:1rem;background:#ffffff;text-decoration:none!important;transition:border-color 150ms}.figure-card:hover{border-color:rgb(10 10 11 / 0.2)}.dark .figure-card{border-color:rgb(255 255 255 / 0.08);background:rgb(var(--background-dark))}.dark .figure-card:hover{border-color:rgb(255 255 255 / 0.2)}.figure-card-panel{display:flex;justify-content:center;height:12rem;margin:0.375rem 0.375rem 0;border-radius:0.75rem;-webkit-mask-image:linear-gradient(to bottom, #000 62%, transparent);mask-image:linear-gradient(to bottom, #000 62%, transparent);background:#f6f6f7 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%230a0a0b' stroke-opacity='0.03' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.dark .figure-card-panel{background:#0f0f11 url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='256' fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-width='1.5'%3E%3Ccircle cx='32' cy='32' r='25'/%3E%3Ccircle cx='96' cy='32' r='25'/%3E%3Crect x='135' y='7' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='32' r='25'/%3E%3Ccircle cx='288' cy='32' r='25'/%3E%3Ccircle cx='352' cy='32' r='25'/%3E%3Ccircle cx='32' cy='96' r='25'/%3E%3Ccircle cx='96' cy='96' r='25'/%3E%3Ccircle cx='160' cy='96' r='25'/%3E%3Ccircle cx='224' cy='96' r='25'/%3E%3Ccircle cx='288' cy='96' r='25'/%3E%3Ccircle cx='352' cy='96' r='25'/%3E%3Ccircle cx='32' cy='160' r='25'/%3E%3Crect x='71' y='135' width='50' height='50' rx='8'/%3E%3Ccircle cx='160' cy='160' r='25'/%3E%3Ccircle cx='224' cy='160' r='25'/%3E%3Crect x='263' y='135' width='50' height='50' rx='8'/%3E%3Crect x='327' y='135' width='50' height='50' rx='8'/%3E%3Crect x='7' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='96' cy='224' r='25'/%3E%3Crect x='135' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='224' cy='224' r='25'/%3E%3Crect x='263' y='199' width='50' height='50' rx='8'/%3E%3Ccircle cx='352' cy='224' r='25'/%3E%3C/svg%3E\") center / 192px 128px}.figure-card-panel{--hairline-plate: #f6f6f7}.dark .figure-card-panel{--hairline-plate: #0f0f11}.figure-card-panel>[data-hairline]{width:13.75rem}.figure-card-text{flex:1;padding:0.25rem 1.25rem 1.25rem}.figure-card-title{font-weight:600;color:rgb(17 24 39)}.dark .figure-card-title{color:rgb(255 255 255)}.figure-card-body{margin-top:0.25rem;font-size:0.9375rem;line-height:1.6;color:rgb(75 85 99)}.dark .figure-card-body{color:rgb(161 161 170)}"}],"page":{"pagePath":"documentation/build-agents/customize-agent-behaviour/advanced-analysis","slug":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis","pageMetadata":{"title":"Advanced Analysis","sidebarTitle":"Advanced Analysis","description":"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.","og:title":"Extract structured data from calls with Advanced Analysis","href":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,Check,CodeBlock,CodeGroup,Columns,Frame,Heading,OptimizedImage,ResponseField,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!Check)_missingMdxReference(`Check`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use Advanced Analysis on an `,_jsx(_components.a,{href:`/documentation/build-agents/agents/agent-types`,children:`agent`}),` for facts you want to report on, filter by or send to your systems, such as `,_jsx(_components.code,{children:`payment_promised`}),` (a Boolean) or `,_jsx(_components.code,{children:`promised_date`}),` (a Date). Status, duration and transcript are already in `,_jsx(_components.a,{href:`/documentation/monitor/logs`,children:`Logs`}),` without it.`]}),`\n`,_jsxs(_components.p,{children:[`In the dashboard: Agents (listed under `,_jsx(_components.strong,{children:`Assistants`}),` in the sidebar) → open an agent → `,_jsx(_components.strong,{children:`Advanced Settings → Advanced Analysis`}),`. On a `,_jsx(_components.a,{href:`/documentation/build-agents/agents/multi-prompt-agents/overview`,children:`multi-prompt agent`}),`, open `,_jsx(_components.strong,{children:`Global Settings → Advanced Analysis`}),` (see `,_jsx(_components.a,{href:`/documentation/build-agents/agents/multi-prompt-agents/global-settings#global-settings`,children:`Global Settings`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`An agent`,icon:`bot`,href:`/documentation/build-agents/agents/create-an-agent`,horizontal:true,children:_jsx(_components.p,{children:`The agent whose conversations you want analysed.`})}),_jsx(Card,{title:`A completed call`,icon:`phone`,href:`/documentation/build-agents/test-and-improve/test-an-agent`,horizontal:true,children:_jsxs(_components.p,{children:[`Optional: needed to `,_jsx(_components.strong,{children:`Test`}),` your variables. Place a test call first.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`add-variables`,children:`Add variables`}),`\n`,_jsx(Frame,{caption:`Adding a Boolean goal variable and testing it on a past call`,children:_jsx(`video`,{alt:`Adding a Boolean goal variable and testing it on a past call`,\"aria-label\":`Adding a Boolean goal variable and testing it on a past call`,controls:true,muted:true,playsInline:true,className:`mint-w-full mint-rounded-xl`,style:{aspectRatio:`16 / 10`},preload:`metadata`,controlsList:`nodownload noremoteplayback`,poster:`/media/agents-advanced-analysis/poster.webp`,children:_jsx(`source`,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/video.webm?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=6e81dc121edb1604ff8c99b7453059e1`,type:`video/webm; codecs=\"av01.0.09M.08\"`,\"data-path\":`media/agents-advanced-analysis/video.webm`})})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Add a variable`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Advanced Analysis`}),` and click `,_jsx(_components.strong,{children:`Add a new variable`}),`. The `,_jsx(_components.strong,{children:`Add variables`}),` dialog opens.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Variable name`}),` (required): lower-case; spaces become `,_jsx(_components.code,{children:`_`}),` as you type.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Type`}),`: one of the types below. The default is `,_jsx(_components.strong,{children:`Boolean`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enum options`}),` (required for `,_jsx(_components.strong,{children:`Enum`}),`): type an option and press Enter or `,_jsx(_components.strong,{children:`Add`}),`. Options are stored lower-case with `,_jsx(_components.code,{children:`_`}),` for spaces.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Description`}),` (required): “What the analysis should extract from the call.” Write it as an instruction, for example “True if the customer agreed to pay by a specific date.”`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default value`}),`: “Fallback used when nothing is extracted.”`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use as goal`}),`: Boolean variables only (see `,_jsx(_components.a,{href:`#the-goal`,children:`The goal`}),`).`]}),`\n`]}),_jsxs(_components.p,{children:[`Analysis variables are separate from the agent’s `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/custom-variables`,children:`custom variables`}),`, which you fill before a call.`]}),_jsx(Frame,{caption:`The Add variables dialog`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=cb640973b532538f3ba34e0e90ec2445`,alt:`Add variables dialog with Variable name payment_promised, Type Boolean, a description, Default value false and Use as goal switched on`,\"data-og-width\":`896`,width:`896`,\"data-og-height\":`1220`,height:`1220`,\"data-path\":`media/agents-advanced-analysis/add-variable.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=97948c8a73de6a97e9142e2b39f2e258 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=d388cf75978c56542e3871fd83e731cf 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=776ece4611b9bb5f31de5628ac4bb995 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=190faabbfe52ab4ff5b661e3eb611b74 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=5b40012ca5e7690707ace68f2a3e0c35 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/add-variable.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=7fc76280aa8954b2e9dd33d450a20b39 2500w`})})]}),_jsx(Step,{title:`Add several at once (optional)`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add new variable`}),` inside the dialog for another blank form. The button at the bottom changes to `,_jsx(_components.strong,{children:`Add 2`}),`, `,_jsx(_components.strong,{children:`Add 3`}),` and so on.`]})}),_jsxs(Step,{title:`Save`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add`}),`. You see “Variable added” and the variable appears in the table with its `,_jsx(_components.strong,{children:`Variable`}),`, `,_jsx(_components.strong,{children:`Type`}),` and `,_jsx(_components.strong,{children:`Default value`}),`. The goal variable carries a `,_jsx(_components.strong,{children:`Goal`}),` chip.`]}),_jsx(Check,{children:_jsxs(_components.p,{children:[`The table lists your variable, and `,_jsx(_components.strong,{children:`Test`}),` is now enabled.`]})}),_jsx(Frame,{caption:`Variables after saving`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=a0b603608a3612c8d785fa07b96e1196`,alt:`Advanced analysis table listing promised_date (Date), objection (Enum, default none), payment_promised (Boolean, default false) with a Goal chip, and amount_promised (Number)`,\"data-og-width\":`2236`,width:`2236`,\"data-og-height\":`640`,height:`640`,\"data-path\":`media/agents-advanced-analysis/variables.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=e9c40bde3719fc1ae872974baef3067a 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=9a463ad8b6aa856b6056951fa793b8d0 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=abe66bb5adb285996270b96cdefe071c 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=fc6ad873c3b9def02131083606638193 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=1403210731837259c8e09973de4e1edf 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/variables.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=e333df921928d4a20e3637c70c37c45e 2500w`})})]})]}),`\n`,_jsxs(_components.p,{children:[`To change a variable, click its row (the dialog is titled `,_jsx(_components.strong,{children:`Configure variable`}),`) or use the row menu: `,_jsx(_components.strong,{children:`Edit`}),` or `,_jsx(_components.strong,{children:`Delete`}),`. Each change saves immediately.`]}),`\n`,_jsxs(_components.p,{children:[`A change applies to conversations analysed after you save it. Calls already analysed keep their results and can’t be re-analysed. On a multi-prompt agent, changes go into the draft and apply once you `,_jsx(_components.a,{href:`/documentation/build-agents/test-and-improve/drafts-and-versions#publish-changes-on-a-multi-prompt-agent`,children:`publish`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`default-values`,children:`Default values`}),`\n`,_jsx(_components.p,{children:`The default is typed text, converted when the meaning is clear:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`You type`}),_jsx(_components.th,{children:`Stored as`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`null`}),` (any case)`]}),_jsxs(_components.td,{children:[`A real `,_jsx(_components.code,{children:`null`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` / `,_jsx(_components.code,{children:`false`}),` on a Boolean`]}),_jsx(_components.td,{children:`A Boolean`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A whole number on an Integer, any number on a Number`}),_jsx(_components.td,{children:`A number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Anything else`}),_jsx(_components.td,{children:`Text`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`paste-variables-as-json`,children:`Paste variables as JSON`}),`\n`,_jsxs(_components.p,{children:[`While adding, paste a JSON array (or one object) into a `,_jsx(_components.strong,{children:`Variable name`}),` field, or drop a JSON file onto the dialog, to fill one form per item:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"variableName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment_promised\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"True if the customer agreed to pay by a specific date.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"defaultValue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"useAsGoal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"variableName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"promised_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The date the customer promised to pay, if any.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"variableName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"objection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"values\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"already_paid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no_money\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dispute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"none\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The customer's main reason for not paying.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Names are converted to `,_jsx(_components.code,{children:`snake_case`}),`. A type Ringg does not recognise becomes `,_jsx(_components.strong,{children:`String`}),`, with the warning “Some types weren’t recognized”. Review the forms, then click `,_jsx(_components.strong,{children:`Add`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`variable-types`,children:`Variable types`}),`\n`,_jsxs(_components.p,{children:[`Each variable has one type. The name below is the value used in JSON; the label is what the `,_jsx(_components.strong,{children:`Type`}),` menu shows.`]}),`\n`,_jsx(ResponseField,{name:`array`,type:`Array`,id:`param-array`,children:`A list of mixed values.`}),`\n`,_jsx(ResponseField,{name:`array_of_numbers`,type:`Array of numbers`,id:`param-array-of-numbers`,children:`Several amounts or counts, such as EMIs mentioned.`}),`\n`,_jsx(ResponseField,{name:`array_of_strings`,type:`Array of strings`,id:`param-array-of-strings`,children:`Several items, such as products asked about.`}),`\n`,_jsx(ResponseField,{name:`boolean`,type:`Boolean`,id:`param-boolean`,children:`Yes/no facts.`}),`\n`,_jsx(ResponseField,{name:`date`,type:`Date`,id:`param-date`,children:`A day, such as a promised payment date.`}),`\n`,_jsx(ResponseField,{name:`datetime`,type:`DateTime`,id:`param-datetime`,children:`A day and time, such as a callback slot.`}),`\n`,_jsx(ResponseField,{name:`enum`,type:`Enum`,id:`param-enum`,children:`One of a fixed set of options you list.`}),`\n`,_jsx(ResponseField,{name:`integer`,type:`Integer`,id:`param-integer`,children:`Whole numbers, such as number of family members.`}),`\n`,_jsx(ResponseField,{name:`number`,type:`Number`,id:`param-number`,children:`Any number, such as an amount in rupees.`}),`\n`,_jsx(ResponseField,{name:`string`,type:`String`,id:`param-string`,children:`Free text, such as a short summary of the complaint.`}),`\n`,_jsx(Heading,{level:`3`,id:`names-you-cannot-use`,children:`Names you cannot use`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`revenue_collected`}),` is reserved by the platform (“This name is reserved by the platform.”).`]}),`\n`,_jsx(_components.li,{children:`A name already in the table (“A variable with this name already exists.”).`}),`\n`,_jsx(_components.li,{children:`The same name twice in one dialog (“Another variable above uses this name.”).`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-goal`,children:`The goal`}),`\n`,_jsxs(_components.p,{children:[`The goal is one Boolean variable that says whether the conversation succeeded, for example `,_jsx(_components.code,{children:`payment_promised`}),`. `,_jsx(_components.a,{href:`/documentation/monitor/analytics#where-the-goal-comes-from`,children:`Analytics`}),` uses it to calculate the agent’s success rate.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Only a `,_jsx(_components.strong,{children:`Boolean`}),` can be the goal. On other types the switch reads “Only boolean variables can be used as goals.”`]}),`\n`,_jsxs(_components.li,{children:[`An agent has one goal at a time. Turning on `,_jsx(_components.strong,{children:`Use as goal`}),` for another variable asks `,_jsx(_components.strong,{children:`Replace current goal?`}),` first.`]}),`\n`,_jsxs(_components.li,{children:[`Changing the goal variable’s type asks `,_jsx(_components.strong,{children:`Change variable type?`}),` and removes it as the goal.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`context-and-tool-calls`,children:`Context and tool calls`}),`\n`,_jsx(_components.p,{children:`Below the table:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Context`}),` (“Include additional context for better results”): one free-text note for the whole analysis, such as what counts as a valid promise to pay. Click `,_jsx(_components.strong,{children:`Save`}),`; you see “Context saved”.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Log tool calls`}),` (“Include tool call logs to enhance advanced analysis.”): a switch. On, the analysis also reads the `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/tools/overview`,children:`tool`}),` calls made during the conversation, such as an API lookup’s result.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`test-on-a-past-call`,children:`Test on a past call`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the test`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Test`}),`. It is disabled until you have saved at least one variable.`]})}),_jsx(Step,{title:`Pick a call`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Test advanced analysis`}),`, paste a `,_jsx(_components.strong,{children:`Call ID`}),` (copy it from the call panel in `,_jsx(_components.a,{href:`/documentation/monitor/logs#the-call-panel`,children:`Logs`}),`), or pick from `,_jsx(_components.strong,{children:`Or select from recent call log`}),`. The list shows this agent’s completed calls; sort it by date or duration. Picking a call from the list runs the test straight away.`]})}),_jsxs(Step,{title:`Run it`,children:[_jsxs(_components.p,{children:[`If you pasted a Call ID, click `,_jsx(_components.strong,{children:`Run analysis`}),`. You see the `,_jsx(_components.strong,{children:`Analysis result`}),` next to the `,_jsx(_components.strong,{children:`Call transcript`}),` (copy and download buttons). The link icon opens the call in `,_jsx(_components.a,{href:`/documentation/monitor/logs`,children:`Logs`}),`. Click `,_jsx(_components.strong,{children:`Test another`}),` to try a different one.\nThe test is a preview: it doesn’t change the call’s stored results or send a webhook.`]}),_jsx(Check,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Analysis result`}),` shows a value for each variable that matches what was said in the transcript.`]})}),_jsx(Frame,{caption:`A test result next to the transcript`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=3f21e81fb98a8f9da86a9b6239f2bd66`,alt:`Test advanced analysis dialog for a call with Rahul Verma: Promised Date 2026-10-08, Objection none, Payment Promised true, Amount Promised 12450, next to the call transcript`,\"data-og-width\":`2048`,width:`2048`,\"data-og-height\":`1472`,height:`1472`,\"data-path\":`media/agents-advanced-analysis/test-result.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=73322c1867799f81b00a5dddca36cf48 280w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=d86c8f3d4bd995bbd689a26c0d2adcf4 560w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=e884156419cebac6e9cac8fadbf1b602 840w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=04ec2ff99997095ac18aaa9cadd43dac 1100w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=8c61771857ad48cf45bb7291eda59b3b 1650w, https://mintcdn.com/ringgai-0da73d20/zhzhS2waLZvF8qXk/media/agents-advanced-analysis/test-result.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zhzhS2waLZvF8qXk\u0026q=85\u0026s=f7027601838abe2a47cea245ebbf7861 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-results-appear`,children:`Where results appear`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Where`}),_jsx(_components.th,{children:`What you see`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/monitor/logs`,children:`Logs`})}),_jsxs(_components.td,{children:[`The call’s `,_jsx(_components.strong,{children:`Advanced analysis`}),` tab, once the call has results. While it runs: “Advanced analysis is currently under process!”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/monitor/logs#custom-variables-and-advanced-analysis`,children:`Logs filters`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Advanced analysis`}),` filters calls by a variable’s value. Select exactly one agent first.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/monitor/analytics`,children:`Analytics`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Goal achieved`}),` and `,_jsx(_components.strong,{children:`Cost per goal`}),`, once you pick an agent or campaign. Boolean and Enum variables appear as `,_jsx(_components.a,{href:`/documentation/monitor/analytics#cohort-analysis`,children:_jsx(_components.strong,{children:`Cohort analysis`})}),` charts. With one agent selected, a slice opens the matching calls in Logs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/event-subscription`,children:`Event Subscription`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.strong,{children:`Advanced Analysis Complete`}),` event (`,_jsx(_components.code,{children:`client_analysis_completed`}),`) delivers the results to your server. See the `,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/webhooks/call-events#client-analysis-event`,children:`payload`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/tools/post-call-tools#post-call-tools`,children:`Tools`})}),_jsxs(_components.td,{children:[`Post-call tools and condition groups can read `,_jsx(_components.strong,{children:`Advanced Analysis`}),` fields (`,_jsx(_components.code,{children:`client_analysis`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/documentation/monitor/alerts#alert-on-an-advanced-analysis-field`,children:`Alerts`})}),_jsx(_components.td,{children:`An alert rule can fire on an Advanced Analysis field.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`agents-with-the-older-prompt-editor`,children:`Agents with the older prompt editor`}),`\n`,_jsxs(_components.p,{children:[`Agents that saved an analysis prompt or keys before the variable table existed keep the older editor. It has a `,_jsx(_components.strong,{children:`Prompt`}),` box (“Enter your prompt for Advanced Analysis”), a list of keys (`,_jsx(_components.strong,{children:`Define required keys for the prompt`}),`) with a type and default value, a tool-call-logs switch, `,_jsx(_components.strong,{children:`Save`}),` and `,_jsx(_components.strong,{children:`Test Analysis`}),`. Its types are String, Number, Integer, Boolean, Array, Date and DateTime. It has no goal. Everyone else gets the variable table described above.`]}),`\n`,_jsx(Heading,{level:`2`,id:`do-this-with-the-api`,children:`Do this with the API`}),`\n`,_jsxs(_components.p,{children:[`Advanced Analysis variables are set up in the dashboard only; the public API has no operation for them. Read results per call from `,_jsx(_components.a,{href:`/api-reference/monitoring/call-history/get-call-details`,children:`Get Call Details`}),` (the `,_jsx(_components.code,{children:`client_analysis`}),` field, returned when you send `,_jsx(_components.code,{children:`send_analysis=true`}),`) or from the `,_jsx(_components.code,{children:`client_analysis_completed`}),` webhook (`,_jsx(_components.a,{href:`/documentation/build-agents/customize-agent-behaviour/event-subscription`,children:`Event Subscription`}),`). You need an `,_jsx(_components.a,{href:`/documentation/manage-account/api-key`,children:`API key`}),` and the call’s ID.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/calling/call-details?id=550e8400-e29b-41d4-a716-446655440000\u0026send_analysis=true\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` URLSearchParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` send_analysis:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `https://prod-api.ringg.ai/ca/api/v0/calling/call-details?\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`params`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`RINGG_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`9`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prod-api.ringg.ai/ca/api/v0/calling/call-details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RINGG_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` params`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"send_analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`\"Failed to run analysis\"`,id:`failed-to-run-analysis`,children:_jsxs(_components.p,{children:[`The dialog shows the server’s reason, or “Failed to run analysis” with “Check the call ID and make sure you have saved at least one variable before testing.” Check the call ID belongs to this agent and the call completed, then click `,_jsx(_components.strong,{children:`Retry`}),`.`]})}),_jsx(Accordion,{title:`Does it run on WhatsApp chats?`,id:`does-it-run-on-whatsapp-chats`,children:_jsxs(_components.p,{children:[`Yes. Every agent, WhatsApp included, offers the `,_jsx(_components.strong,{children:`Advanced Analysis Complete`}),` event and shows results in Logs. Only the `,_jsx(_components.strong,{children:`Test`}),` dialog is limited to completed calls.`]})}),_jsx(Accordion,{title:`A variable is always empty or wrong`,id:`a-variable-is-always-empty-or-wrong`,children:_jsxs(_components.p,{children:[`Rewrite its `,_jsx(_components.strong,{children:`Description`}),` as a precise instruction, add a `,_jsx(_components.strong,{children:`Default value`}),`, and use `,_jsx(_components.strong,{children:`Context`}),` for definitions. Then run `,_jsx(_components.strong,{children:`Test`}),` on a call where you know the answer.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(Columns,{cols:3,children:[_jsx(Card,{title:`Receive the results on your server`,icon:`webhook`,href:`/documentation/build-agents/customize-agent-behaviour/event-subscription`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Advanced Analysis Complete`}),` event carries every field.`]})}),_jsx(Card,{title:`Test the agent`,icon:`play`,href:`/documentation/build-agents/test-and-improve/test-an-agent`,children:_jsxs(_components.p,{children:[`Place a call, then check its `,_jsx(_components.strong,{children:`Advanced analysis`}),` tab in Logs.`]})}),_jsx(Card,{title:`See the results in Analytics`,icon:`chart-line`,href:`/documentation/monitor/analytics`,children:_jsx(_components.p,{children:`Goal achieved, cost per goal and cohort charts per variable.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Advanced Analysis","sidebarTitle":"Advanced Analysis","description":"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.","og:title":"Extract structured data from calls with Advanced Analysis","href":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Add variables","slug":"add-variables","depth":2,"children":[{"title":"Default values","slug":"default-values","depth":3,"children":[]},{"title":"Paste variables as JSON","slug":"paste-variables-as-json","depth":3,"children":[]}]},{"title":"Variable types","slug":"variable-types","depth":2,"children":[{"title":"Names you cannot use","slug":"names-you-cannot-use","depth":3,"children":[]}]},{"title":"The goal","slug":"the-goal","depth":2,"children":[]},{"title":"Context and tool calls","slug":"context-and-tool-calls","depth":2,"children":[]},{"title":"Test on a past call","slug":"test-on-a-past-call","depth":2,"children":[]},{"title":"Where results appear","slug":"where-results-appear","depth":2,"children":[]},{"title":"Agents with the older prompt editor","slug":"agents-with-the-older-prompt-editor","depth":2,"children":[]},{"title":"Do this with the API","slug":"do-this-with-the-api","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ringgai-0da73d20/45c33e65ef05fabf/hairline.js"],"dynamicCss":".mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"ringgai-0da73d20","siteName":"Ringg AI","title":"Extract structured data from calls with Advanced Analysis","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-13T11:53:24.638Z","originalFileLocation":"documentation/build-agents/customize-agent-behaviour/advanced-analysis.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Extract structured data from calls with Advanced Analysis\">\u003cmeta data-mint-head property=\"og:description\" content=\"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ringg AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Customize+agent+behaviour\u0026amp;title=Advanced+Analysis\u0026amp;description=Define+the+typed+variables+Ringg+AI+extracts+after+each+conversation%2C+mark+a+Boolean+goal%2C+test+on+a+past+call%2C+and+read+results+in+Logs%2C+Analytics+and+webhooks\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=2c4c74f8d8d1570acb015112c64571158cffbb5f67781665fb45edd79901d0cf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Extract structured data from calls with Advanced Analysis\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ringgai-0da73d20.mintlify.site/_mintlify/api/og/v2?division=Customize+agent+behaviour\u0026amp;title=Advanced+Analysis\u0026amp;description=Define+the+typed+variables+Ringg+AI+extracts+after+each+conversation%2C+mark+a+Boolean+goal%2C+test+on+a+past+call%2C+and+read+results+in+Logs%2C+Analytics+and+webhooks\u0026amp;theme=737b8671029ef070100737b1\u0026amp;signature=2c4c74f8d8d1570acb015112c64571158cffbb5f67781665fb45edd79901d0cf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ringgai-0da73d20/p7P0VdTXwvUPgoLE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ringg AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/build-agents/customize-agent-behaviour/advanced-analysis.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ringg.ai/#organization\",\"name\":\"Ringg AI\",\"legalName\":\"Stoic AI Private Limited\",\"url\":\"https://www.ringg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.ringg.ai/images/logo/logo.svg\"},\"sameAs\":[\"https://x.com/ringg_ai\",\"https://www.linkedin.com/company/ringg\",\"https://www.youtube.com/@RinggAI\",\"https://www.instagram.com/ringg_ai\",\"https://discord.gg/YuEnb8Vsca\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ringg.ai#website\",\"name\":\"Ringg AI\",\"url\":\"https://docs.ringg.ai\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis#webpage\",\"url\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis\",\"name\":\"Advanced Analysis\",\"description\":\"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\",\"dateModified\":\"2026-10-13T11:53:24.638Z\",\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build agents\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/agents/agent-types\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customize agent behaviour\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/agent-prompt\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Advanced Analysis\",\"item\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis#article\",\"headline\":\"Advanced Analysis\",\"name\":\"Advanced Analysis\",\"description\":\"Define the typed variables Ringg AI extracts after each conversation, mark a Boolean goal, test on a past call, and read results in Logs, Analytics and webhooks.\",\"url\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ringg.ai/documentation/build-agents/customize-agent-behaviour/advanced-analysis#webpage\"},\"dateModified\":\"2026-10-13T11:53:24.638Z\",\"publisher\":{\"@id\":\"https://www.ringg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ringg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ringg AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ringg AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis.md","siteName":"Ringg AI","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":"/get-started/introduction"}]},{"tab":"Documentation","pages":[{"title":"Ringg AI documentation","sidebarTitle":"Introduction","icon":"book-open","href":"/documentation/introduction"},{"group":"Build agents","icon":"bot","pages":[{"group":"Agents","pages":[{"title":"Agent types","sidebarTitle":"Agent types","href":"/documentation/build-agents/agents/agent-types"},{"title":"Create an agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/create-an-agent"},{"group":"Multi-prompt agents","pages":[{"title":"Multi-prompt agents","sidebarTitle":"Overview","href":"/documentation/build-agents/agents/multi-prompt-agents/overview"},{"title":"Node types and connections","sidebarTitle":"Node types and connections","href":"/documentation/build-agents/agents/multi-prompt-agents/node-types-and-connections"},{"title":"Multi-prompt global settings","sidebarTitle":"Global settings","href":"/documentation/build-agents/agents/multi-prompt-agents/global-settings"},{"title":"Test and convert multi-prompt agents","sidebarTitle":"Test and convert","href":"/documentation/build-agents/agents/multi-prompt-agents/test-and-convert"}]},{"group":"WhatsApp agents","tag":"NEW","pages":[{"title":"WhatsApp agents","sidebarTitle":"Overview","href":"/documentation/build-agents/agents/whatsapp-agents/overview"},{"title":"Create a WhatsApp agent","sidebarTitle":"Create an agent","href":"/documentation/build-agents/agents/whatsapp-agents/create-an-agent"},{"title":"WhatsApp Flows","sidebarTitle":"Flows","href":"/documentation/build-agents/agents/whatsapp-agents/flows"},{"title":"Build WhatsApp Flows in Ringg","sidebarTitle":"Flow builder","href":"/documentation/build-agents/agents/whatsapp-agents/flow-builder"},{"title":"WhatsApp Flows with live data","sidebarTitle":"Flows with live data","href":"/documentation/build-agents/agents/whatsapp-agents/flows-live-data"},{"title":"Live data from your server","sidebarTitle":"Live data from your server","href":"/documentation/build-agents/agents/whatsapp-agents/flows-your-server"}]}]},{"group":"Customize agent behaviour","pages":[{"title":"Agent prompt","sidebarTitle":"Agent prompt","href":"/documentation/build-agents/customize-agent-behaviour/agent-prompt"},{"title":"Voice and language","sidebarTitle":"Voice and language","href":"/documentation/build-agents/customize-agent-behaviour/voice-and-language"},{"title":"Custom variables","sidebarTitle":"Custom variables","href":"/documentation/build-agents/customize-agent-behaviour/custom-variables"},{"title":"Attach a knowledge base","sidebarTitle":"Attach a knowledge base","href":"/documentation/build-agents/customize-agent-behaviour/attach-a-knowledge-base"},{"group":"Tools","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/documentation/build-agents/customize-agent-behaviour/tools/overview"},{"title":"API tools","sidebarTitle":"API tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/api-tools"},{"title":"Integration tools","sidebarTitle":"Integration tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/integration-tools"},{"title":"System tools","sidebarTitle":"System tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/system-tools"},{"title":"Function tools and conditions","sidebarTitle":"Function tools and conditions","href":"/documentation/build-agents/customize-agent-behaviour/tools/function-tools-and-conditions"},{"title":"Post-call tools","sidebarTitle":"Post-call tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/post-call-tools"},{"title":"Workspace tools","sidebarTitle":"Workspace tools","href":"/documentation/build-agents/customize-agent-behaviour/tools/workspace-tools"},{"title":"WhatsApp tools","sidebarTitle":"WhatsApp tools","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/tools/whatsapp-tools"}]},{"title":"Call settings","sidebarTitle":"Call settings","description":"Set an agent's call duration, inactivity timeouts, calling window, voicemail handling, interruption sensitivity, rate limits and chat session timeouts in Ringg AI.","href":"/documentation/build-agents/customize-agent-behaviour/call-settings"},{"title":"Advanced Analysis","sidebarTitle":"Advanced Analysis","href":"/documentation/build-agents/customize-agent-behaviour/advanced-analysis"},{"title":"Event Subscription","sidebarTitle":"Event Subscription","description":"Subscribe a Ringg AI agent to call, chat and analysis events from the dashboard: pick events, set the callback URL and headers, and know the per-event limits.","href":"/documentation/build-agents/customize-agent-behaviour/event-subscription"},{"group":"Webhooks","pages":[{"title":"Webhook setup and errors","sidebarTitle":"Setup and errors","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/setup-and-errors"},{"title":"Call events","sidebarTitle":"Call events","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/call-events"},{"title":"WhatsApp chat events","sidebarTitle":"WhatsApp chat events","tag":"NEW","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/whatsapp-chat-events"},{"title":"Webhook field reference","sidebarTitle":"Field reference","href":"/documentation/build-agents/customize-agent-behaviour/webhooks/field-reference"}]}]},{"group":"Test and improve","pages":[{"title":"Test an agent","sidebarTitle":"Test an agent","href":"/documentation/build-agents/test-and-improve/test-an-agent"},{"title":"Drafts and versions","sidebarTitle":"Drafts and versions","href":"/documentation/build-agents/test-and-improve/drafts-and-versions"}]},{"group":"Workflows","pages":[{"title":"Workflows","sidebarTitle":"Overview","href":"/documentation/build-agents/workflows/overview"},{"title":"Build a workflow","sidebarTitle":"Build a workflow","href":"/documentation/build-agents/workflows/build-a-workflow"},{"title":"Test and publish a workflow","sidebarTitle":"Test and publish","href":"/documentation/build-agents/workflows/test-and-publish"},{"title":"Workflow block reference","sidebarTitle":"Block reference","href":"/documentation/build-agents/workflows/block-reference"}]}]},{"group":"Inventory","icon":"package","pages":[{"title":"Knowledge base","sidebarTitle":"Knowledge base","href":"/documentation/inventory/knowledge-base"},{"group":"Tools (integrations)","pages":[{"title":"Connect an app","sidebarTitle":"Connect an app","href":"/documentation/inventory/tools-integrations/connect-an-app"},{"title":"Connect WhatsApp","sidebarTitle":"Connect WhatsApp","tag":"NEW","href":"/documentation/inventory/tools-integrations/connect-whatsapp"}]},{"group":"Phone numbers","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/documentation/inventory/phone-numbers/overview"},{"title":"Buy or import a number","sidebarTitle":"Buy or import a number","href":"/documentation/inventory/phone-numbers/buy-or-import-a-number"},{"group":"Your own telephony","pages":[{"title":"Bring your own telephony","sidebarTitle":"BYOT overview","href":"/documentation/inventory/phone-numbers/your-own-telephony/byot-overview"},{"title":"SIP trunking","sidebarTitle":"SIP trunking","href":"/documentation/inventory/phone-numbers/your-own-telephony/sip-trunking"},{"title":"Plivo","sidebarTitle":"Plivo","href":"/documentation/inventory/phone-numbers/your-own-telephony/plivo"},{"title":"Exotel","sidebarTitle":"Exotel","href":"/documentation/inventory/phone-numbers/your-own-telephony/exotel"},{"title":"Twilio","sidebarTitle":"Twilio","href":"/documentation/inventory/phone-numbers/your-own-telephony/twilio"},{"title":"Telnyx","sidebarTitle":"Telnyx","href":"/documentation/inventory/phone-numbers/your-own-telephony/telnyx"},{"title":"InTalk","sidebarTitle":"InTalk","href":"/documentation/inventory/phone-numbers/your-own-telephony/intalk"},{"title":"Ameyo","sidebarTitle":"Ameyo","href":"/documentation/inventory/phone-numbers/your-own-telephony/ameyo"},{"title":"Ozonetel","sidebarTitle":"Ozonetel","href":"/documentation/inventory/phone-numbers/your-own-telephony/ozonetel"},{"title":"New provider requirements","sidebarTitle":"New provider requirements","href":"/documentation/inventory/phone-numbers/your-own-telephony/new-provider-requirements"}]},{"title":"Number pools","sidebarTitle":"Number pools","href":"/documentation/inventory/phone-numbers/number-pools"},{"title":"Inbound agent number","sidebarTitle":"Inbound agent number","href":"/documentation/inventory/phone-numbers/inbound-agent-number"}]}]},{"group":"Deploy","icon":"rocket","pages":[{"group":"Campaigns","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/documentation/deploy/campaigns/overview"},{"title":"Create a campaign","sidebarTitle":"Create a campaign","href":"/documentation/deploy/campaigns/create-a-campaign"},{"title":"Workflow campaign","sidebarTitle":"Workflow campaign","href":"/documentation/deploy/campaigns/workflow-campaign"},{"title":"Campaigns by API","sidebarTitle":"Campaigns by API","href":"/documentation/deploy/campaigns/campaigns-by-api"},{"title":"Calling list","sidebarTitle":"Calling list","href":"/documentation/deploy/campaigns/calling-list"},{"title":"Manage a campaign","sidebarTitle":"Manage a campaign","href":"/documentation/deploy/campaigns/manage-a-campaign"}]},{"group":"Web and apps","pages":[{"group":"Web widget","pages":[{"title":"Web widget","sidebarTitle":"Overview","href":"/documentation/deploy/web-and-apps/web-widget/overview"},{"title":"Web widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/web-widget/configuration"},{"title":"Web widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/web-widget/events"},{"title":"Chat mode","sidebarTitle":"Chat mode","href":"/documentation/deploy/web-and-apps/web-widget/chat-mode"},{"title":"Chat components","sidebarTitle":"Components","href":"/documentation/deploy/web-and-apps/web-widget/components"},{"title":"Chat component data","sidebarTitle":"Data","href":"/documentation/deploy/web-and-apps/web-widget/data"},{"title":"Chat component recipes","sidebarTitle":"Recipes","href":"/documentation/deploy/web-and-apps/web-widget/recipes"},{"title":"Web widget styling","sidebarTitle":"Styling","href":"/documentation/deploy/web-and-apps/web-widget/styling"},{"title":"Web widget launch checklist","sidebarTitle":"Launch checklist","href":"/documentation/deploy/web-and-apps/web-widget/launch-checklist"}]},{"group":"Mobile apps","pages":[{"title":"Mobile app install","sidebarTitle":"Install","href":"/documentation/deploy/web-and-apps/mobile-apps/install"},{"title":"Mobile widget configuration","sidebarTitle":"Configuration","href":"/documentation/deploy/web-and-apps/mobile-apps/configuration"},{"title":"Mobile widget events","sidebarTitle":"Events","href":"/documentation/deploy/web-and-apps/mobile-apps/events"}]}]},{"group":"WhatsApp","tag":"NEW","pages":[{"title":"Start a conversation","sidebarTitle":"Start a conversation","href":"/documentation/deploy/whatsapp/start-a-conversation"},{"title":"WhatsApp Relay","sidebarTitle":"Relay overview","href":"/documentation/deploy/whatsapp/relay-overview"},{"title":"WhatsApp Relay integration guide","sidebarTitle":"Relay integration guide","href":"/documentation/deploy/whatsapp/relay-integration-guide"},{"title":"WhatsApp Relay troubleshooting","sidebarTitle":"Relay troubleshooting","href":"/documentation/deploy/whatsapp/relay-troubleshooting"}]}]},{"group":"Monitor","icon":"chart-line","pages":[{"title":"Logs","sidebarTitle":"Logs","href":"/documentation/monitor/logs"},{"title":"Analytics","sidebarTitle":"Analytics","href":"/documentation/monitor/analytics"},{"title":"Evals","sidebarTitle":"Evals","href":"/documentation/monitor/evals"},{"title":"Alerts","sidebarTitle":"Alerts","href":"/documentation/monitor/alerts"}]},{"group":"Manage account","icon":"settings","pages":[{"title":"Members","sidebarTitle":"Members","href":"/documentation/manage-account/members"},{"title":"API key","sidebarTitle":"API key","href":"/documentation/manage-account/api-key"},{"title":"Billing","sidebarTitle":"Billing","href":"/documentation/manage-account/billing"},{"title":"Call limits","sidebarTitle":"Call limits","href":"/documentation/manage-account/call-limits"},{"group":"Ringg Spaces","pages":[{"title":"Ringg Spaces","sidebarTitle":"Overview","href":"/documentation/manage-account/ringg-spaces/overview"},{"title":"Create and manage Ringg Spaces","sidebarTitle":"Create and manage","href":"/documentation/manage-account/ringg-spaces/create-and-manage"},{"title":"Ringg Spaces by API","sidebarTitle":"Ringg Spaces by API","href":"/documentation/manage-account/ringg-spaces/ringg-spaces-by-api"}]}]},{"group":"Ringg Labs","icon":"flask-conical","pages":[{"group":"Parrot STT","pages":[{"title":"Parrot STT Python SDK","sidebarTitle":"Python SDK","href":"/documentation/ringg-labs/parrot-stt/python-sdk"},{"title":"Parrot STT on TrueFoundry","sidebarTitle":"TrueFoundry","href":"/documentation/ringg-labs/parrot-stt/truefoundry"}]}]}]},{"tab":"Analytics platform","pages":[{"title":"Analytics platform","href":"/analytics-platform/introduction"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction/quickstart"}]},{"tab":"Resources","menu":[{"item":"MCP server","description":"Let Claude, ChatGPT or Cursor work in your workspace, or search these docs","pages":[{"title":"MCP server","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]},{"item":"Learn","description":"Lessons that build a payment-reminder system end to end","pages":[{"title":"Learn","href":"/resources/learn/all-lessons"}]},{"item":"Security","description":"How Ringg protects your data, and what to do on your side","pages":[{"title":"Security","href":"/resources/security/security"}]},{"item":"Changelog","description":"New features, API changes and new guides","pages":[{"title":"Changelog","href":"/resources/changelog/changelog"}]}],"pages":[{"title":"Resources","href":"/resources/mcp-server/docs-mcp-server/mcp-for-ai-assistants"}]}]},"basePath":"","title":"Extract structured data from calls with Advanced Analysis","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BXrZabKK.js","DynamicMarkdown-CtasenyM.js","zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js"]}