Configure the LLM-powered Ask Block to capture specific user inputs effectively.
The Ask Block is an LLM-powered component designed to ask a single, specific question to the user. It simplifies your conversation workflow by dedicating one optimized block to one specific task.Instead of writing complex logic chains, the Ask Block utilizes a pre-trained model to handle user inputs, understand context, and drive the conversation forward.
This is the core instruction for the Voice AI Agent. Because the block is pre-trained, you do not need to provide a complex system prompt.Simply input the specific question you want the agent to ask. The system will automatically convert this into a highly optimized Voice AI prompt.Example:
Do: “What is the size of the apartment you are looking to buy?”
Don’t: “You are a real estate agent. You need to ask the user about the apartment size. If they say small, ask…“
Use this section to train the AI on specific edge cases to improve model accuracy. You can provide “Few-Shot” examples (conversation history + expected agent response).
Finetuning is highly recommended if your question involves industry-specific jargon or if you expect ambiguous answers from users.
“After how many tries should the bot exit the block?”This setting prevents the agent from getting stuck in an infinite loop.
Function: If the user fails to provide the required information after the specified count, the agent will “hard exit” the block and follow the Fallback Node connection.
Use Case: Ideal for optional information collection. If the user declines to answer multiple times, the agent can gracefully move on.
This control determines if the user can interrupt the agent while it is speaking.
Enabled (Recommended): Creates a natural, humane conversation flow.
Disabled: Use this for compliance statements or critical instructions where the agent must finish speaking. User audio during this time is ignored by the flow logic but is still captured in the transcript.
When Barge-in is enabled, Smart Interruption determines how the agent reacts — distinguishing genuine interruptions from acknowledgements and background noise, and resuming from where it left off.
AnswerFlow allows the Ask Block to leverage your knowledge base (RAG) to answer user queries that might arise during the block’s execution.
Document Selection: Select specific tags (e.g., refund, credit-card) to limit the knowledge base scope. If left blank, the entire library is used.
Response Formatting: Define the persona or format for the answer (e.g., “Short and concise,” “Descriptive”).
Latency Alert: Enabling AnswerFlow requires the agent to search and retrieve documents, which will add latency to the response time. Use only when necessary.
These conditions determine when the agent successfully leaves the block. You can also extract variables (slots) from the conversation here.
Performance Best Practice: Extracting variables at this stage leads to higher latency.We recommend avoiding variable extraction within the Ask Block unless that data is immediately required in the very next step of the flow. For data analysis, utilize Post-Call Insights to extract information after the call concludes.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Verloop.io Developer Docs","colors":{"primary":"#CA071A","light":"#FFFDF5","dark":"#151515"},"logo":{"light":"https://mintcdn.com/verloop-e1b50698/aPfc6m50tr8vi1yo/logo/verloop_logo_light.svg?fit=max\u0026auto=format\u0026n=aPfc6m50tr8vi1yo\u0026q=85\u0026s=a4830f0a4c6847e27e804fa5c7bc7c95","dark":"https://mintcdn.com/verloop-e1b50698/54BWXfeOd7KSBWgK/logo/verloop_logo_dark.svg?fit=max\u0026auto=format\u0026n=54BWXfeOd7KSBWgK\u0026q=85\u0026s=85ccf892cd6bf847ba178f6892202842"},"favicon":"https://mintcdn.com/verloop-e1b50698/aPfc6m50tr8vi1yo/favicon.png?fit=max\u0026auto=format\u0026n=aPfc6m50tr8vi1yo\u0026q=85\u0026s=7ddbeb96558ba241bdfa151f09d361b2","background":{"color":{"light":"#FFFDF5","dark":"#151515"}},"navbar":{"links":[{"href":"mailto:hello@verloop.io","label":"Support"}],"primary":{"type":"button","label":"Book a Demo","href":"https://www.verloop.io/get-demo/?ref=support-docs"}},"footer":{"socials":{"x":"https://x.com/verloopio","github":"https://github.com/verloop","linkedin":"https://linkedin.com/company/verloopio"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Verloop.io Developer Docs","canonical":"https://docs.verloop.io","og:locale":"en_US","twitter:site":"@verloopio","google-site-verification":"pIe5c9jF3HkH4Hq7zy93siRRQU4p3VnGnARslRal0gI"},"indexing":"all"},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Verloop.io","icon":"house","href":"https://verloop.io"},{"anchor":"Blog","icon":"newspaper","href":"https://www.verloop.io/blog/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"verloop-e1b50698","hasAudioNarration":false,"actualSubdomain":"verloop-e1b50698","customDomains":["docs.verloop.io"],"gitSource":{"type":"github","owner":"sgaurav","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":false,"thumbs":true},"entitlements":{},"buildId":"6ae924eaa03c4da4bef3b07f:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"Build","count":21},{"language":"default","tag":"Create Voice Agent","count":10},{"language":"default","tag":"Recipe Blocks","count":6},{"language":"default","tag":"Integrate Telephony","count":5},{"language":"default","tag":"Test \u0026 Debug","count":4},{"language":"default","tag":"Best Practices","count":3},{"language":"default","tag":"Configure Voice \u0026 Accent","count":3},{"language":"default","tag":"Post Call Insights","count":3},{"language":"default","tag":"Overview","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"build/recipe-builder/recipe-block/ask-block","slug":"/build/recipe-builder/recipe-block/ask-block","pageMetadata":{"title":"Ask Block","description":"Configure the LLM-powered Ask Block to capture specific user inputs effectively.","href":"/build/recipe-builder/recipe-block/ask-block"},"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: \"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\"\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`,em:`em`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Ask Block`}),` is an LLM-powered component designed to ask a single, specific question to the user. It simplifies your conversation workflow by dedicating one optimized block to one specific task.`]}),`\n`,_jsx(_components.p,{children:`Instead of writing complex logic chains, the Ask Block utilizes a pre-trained model to handle user inputs, understand context, and drive the conversation forward.`}),`\n`,_jsx(Heading,{level:`2`,id:`key-components`,children:`Key Components`}),`\n`,_jsx(Heading,{level:`3`,id:`1-prompt-section`,children:`1. Prompt Section`}),`\n`,_jsx(_components.p,{children:`This is the core instruction for the Voice AI Agent. Because the block is pre-trained, you do not need to provide a complex system prompt.`}),`\n`,_jsx(_components.p,{children:`Simply input the specific question you want the agent to ask. The system will automatically convert this into a highly optimized Voice AI prompt.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Do:`}),` “What is the size of the apartment you are looking to buy?”`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Don’t:`}),` “You are a real estate agent. You need to ask the user about the apartment size. If they say small, ask…“`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-add-condition`,children:`2. Add Condition`}),`\n`,_jsx(_components.p,{children:`This optional setting acts as a “Gatekeeper” for the conversation flow. It defines the logic required for the agent to move to the next node.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`How it works:`}),` If the condition is not met, the agent will loop on this node until the user provides the required information.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Example:`}),` “The condition is achieved if the user has stated their apartment size requirement in sqft.”`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-finetuning`,children:`3. Finetuning`}),`\n`,_jsx(_components.p,{children:`Use this section to train the AI on specific edge cases to improve model accuracy. You can provide “Few-Shot” examples (conversation history + expected agent response).`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Finetuning is highly recommended if your question involves industry-specific jargon or if you expect ambiguous answers from users.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`settings-\u0026-configuration`,children:`Settings \u0026 Configuration`}),`\n`,_jsx(_components.p,{children:`The Settings section provides granular control over the AI Agent’s behavior, specifically regarding latency, interruptions, and fallback logic.`}),`\n`,_jsx(Heading,{level:`3`,id:`retry-logic`,children:`Retry Logic`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`“After how many tries should the bot exit the block?”`})}),`\n`,_jsx(_components.p,{children:`This setting prevents the agent from getting stuck in an infinite loop.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Function:`}),` If the user fails to provide the required information after the specified count, the agent will “hard exit” the block and follow the `,_jsx(_components.strong,{children:`Fallback Node`}),` connection.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Case:`}),` Ideal for optional information collection. If the user declines to answer multiple times, the agent can gracefully move on.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`conversation-history`,children:`Conversation History`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Enable Conversation History`}),` allows the agent to remember context from earlier in the call.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled:`}),` The agent delivers a personalized experience referencing previous answers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disabled:`}),` Useful for mandatory disclosures or legal statements where the script must be followed exactly without being influenced by prior context.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`barge-in-interruptions`,children:`Barge-in (Interruptions)`}),`\n`,_jsx(_components.p,{children:`This control determines if the user can interrupt the agent while it is speaking.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled (Recommended):`}),` Creates a natural, humane conversation flow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disabled:`}),` Use this for compliance statements or critical instructions where the agent `,_jsx(_components.em,{children:`must`}),` finish speaking. User audio during this time is ignored by the flow logic but is still captured in the transcript.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`When Barge-in is enabled, `,_jsx(_components.a,{href:`/build/recipe-builder/smart-interruption`,children:`Smart Interruption`}),` determines `,_jsx(_components.em,{children:`how`}),` the agent reacts — distinguishing genuine interruptions from acknowledgements and background noise, and resuming from where it left off.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`nudge`,children:`Nudge`}),`\n`,_jsx(_components.p,{children:`Controls how the agent handles extended periods of silence.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default:`}),` The agent repeats the question in a slightly altered way to re-engage the user.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disabled:`}),` The agent will wait indefinitely (or until global timeout) if the user does not speak.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`answerflow`,children:`AnswerFlow`}),`\n`,_jsx(_components.p,{children:`AnswerFlow allows the Ask Block to leverage your knowledge base (RAG) to answer user queries that might arise during the block’s execution.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Document Selection:`}),` Select specific tags (e.g., `,_jsx(_components.code,{children:`refund`}),`, `,_jsx(_components.code,{children:`credit-card`}),`) to limit the knowledge base scope. If left blank, the entire library is used.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Response Formatting:`}),` Define the persona or format for the answer (e.g., “Short and concise,” “Descriptive”).`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Latency Alert:`}),` Enabling AnswerFlow requires the agent to search and retrieve documents, which will add latency to the response time. Use only when necessary.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`speech-normalization`,children:`Speech Normalization`}),`\n`,_jsx(_components.p,{children:`Converts structured data (numbers, dates, units) into natural speech text. You can choose from the list of normalization options supported.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Example:`}),` Converts “1000sqft” to “one thousand square feet.”`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Latency Alert:`}),` Only add normalizations required for the specific block. Adding unnecessary normalizations increases processing time and latency.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`expressiveness`,children:`Expressiveness`}),`\n`,_jsx(_components.p,{children:`This setting adjusts the flexibility of the AI Agent’s tone, allowing you to control the creativity and variance of responses.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Range`}),`: 0 (Concise) to 1 (Chatty).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Default`}),`: 0.5.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage Guidelines:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Low (Concise)`}),`: Use for consistent, precise answers where factual accuracy is prioritized.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`High (Chatty)`}),`: Use for more creative, varied responses to make the conversation feel more natural and human-like.`]}),`\n`]}),`\n`,_jsxs(Tip,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Best Practices:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For sections that require `,_jsx(_components.strong,{children:`exact compliance`}),` with policies or strict scripts, it is best to use a `,_jsx(_components.strong,{children:`low value`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`When creating `,_jsx(_components.strong,{children:`introductions`}),` or small talk, we recommend a setting of at least `,_jsx(_components.strong,{children:`mid-way (0.5 or higher)`}),` to ensure naturalness.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`exit-condition-\u0026-variable-extraction`,children:`Exit Condition \u0026 Variable Extraction`}),`\n`,_jsx(_components.p,{children:`These conditions determine when the agent successfully leaves the block. You can also extract variables (slots) from the conversation here.`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Performance Best Practice:`}),` Extracting variables at this stage leads to higher latency.`]}),_jsxs(_components.p,{children:[`We recommend `,_jsx(_components.strong,{children:`avoiding variable extraction`}),` within the Ask Block unless that data is immediately required in the very next step of the flow. For data analysis, utilize `,_jsx(_components.strong,{children:`Post-Call Insights`}),` to extract information after the call concludes.`]})]})]})}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":"Ask Block","description":"Configure the LLM-powered Ask Block to capture specific user inputs effectively.","href":"/build/recipe-builder/recipe-block/ask-block"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Key Components","slug":"key-components","depth":2,"children":[{"title":"1. Prompt Section","slug":"1-prompt-section","depth":3,"children":[]},{"title":"2. Add Condition","slug":"2-add-condition","depth":3,"children":[]},{"title":"3. Finetuning","slug":"3-finetuning","depth":3,"children":[]}]},{"title":"Settings \u0026 Configuration","slug":"settings-\u0026-configuration","depth":2,"children":[{"title":"Retry Logic","slug":"retry-logic","depth":3,"children":[]},{"title":"Conversation History","slug":"conversation-history","depth":3,"children":[]},{"title":"Barge-in (Interruptions)","slug":"barge-in-interruptions","depth":3,"children":[]},{"title":"Nudge","slug":"nudge","depth":3,"children":[]},{"title":"AnswerFlow","slug":"answerflow","depth":3,"children":[]},{"title":"Speech Normalization","slug":"speech-normalization","depth":3,"children":[]},{"title":"Expressiveness","slug":"expressiveness","depth":3,"children":[]},{"title":"Exit Condition \u0026 Variable Extraction","slug":"exit-condition-\u0026-variable-extraction","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"verloop-e1b50698","siteName":"Verloop.io Developer Docs","title":"Ask Block - Verloop.io Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T07:35:11.848Z","originalFileLocation":"build/recipe-builder/recipe-block/ask-block.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=\"system\"}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=\"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verloop.io Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ask Block - Verloop.io Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verloop.io Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://verloop-e1b50698.mintlify.site/_mintlify/api/og/v2?division=Recipe+Blocks\u0026amp;title=Ask+Block\u0026amp;description=Configure+the+LLM-powered+Ask+Block+to+capture+specific+user+inputs+effectively.\u0026amp;theme=b4a3d9934f6ae844542e41d2\u0026amp;signature=9926e9ec0c0ca4f7a733db25b3c06db1c7fdaef534eb83e0d62856bec8955fdf\">\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=\"Ask Block - Verloop.io Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verloop-e1b50698.mintlify.site/_mintlify/api/og/v2?division=Recipe+Blocks\u0026amp;title=Ask+Block\u0026amp;description=Configure+the+LLM-powered+Ask+Block+to+capture+specific+user+inputs+effectively.\u0026amp;theme=b4a3d9934f6ae844542e41d2\u0026amp;signature=9926e9ec0c0ca4f7a733db25b3c06db1c7fdaef534eb83e0d62856bec8955fdf\">\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/verloop-e1b50698/kzZIXpcwxI9-0aEs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verloop.io Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#CA071A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"pIe5c9jF3HkH4Hq7zy93siRRQU4p3VnGnARslRal0gI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/recipe-builder/recipe-block/ask-block.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verloop.io/#organization\",\"name\":\"Verloop.io Developer Docs\",\"url\":\"https://docs.verloop.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/verloop-e1b50698/aPfc6m50tr8vi1yo/logo/verloop_logo_light.svg?fit=max\u0026auto=format\u0026n=aPfc6m50tr8vi1yo\u0026q=85\u0026s=a4830f0a4c6847e27e804fa5c7bc7c95\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verloop.io#website\",\"name\":\"Verloop.io Developer Docs\",\"url\":\"https://docs.verloop.io\",\"publisher\":{\"@id\":\"https://docs.verloop.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block#webpage\",\"url\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block\",\"name\":\"Ask Block\",\"description\":\"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\",\"dateModified\":\"2026-08-14T07:35:11.848Z\",\"isPartOf\":{\"@id\":\"https://docs.verloop.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Build\",\"item\":\"https://docs.verloop.io/build/recipe-builder/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Voice Agent\",\"item\":\"https://docs.verloop.io/build/recipe-builder/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Recipe Blocks\",\"item\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/message-block\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Ask Block\",\"item\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block#article\",\"headline\":\"Ask Block\",\"name\":\"Ask Block\",\"description\":\"Configure the LLM-powered Ask Block to capture specific user inputs effectively.\",\"url\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verloop.io/build/recipe-builder/recipe-block/ask-block#webpage\"},\"dateModified\":\"2026-08-14T07:35:11.848Z\",\"publisher\":{\"@id\":\"https://docs.verloop.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verloop.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verloop.io Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verloop.io Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/build/recipe-builder/recipe-block/ask-block.md","siteName":"Verloop.io Developer Docs","nav":{"global":{"anchors":[{"anchor":"Verloop.io","icon":"house","href":"https://verloop.io"},{"anchor":"Blog","icon":"newspaper","href":"https://www.verloop.io/blog/"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":""},{"title":"Capabilities","href":"/capabilities"},{"title":"Use Cases","href":"/usecases"}]},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/get-started/quick-start"},{"title":"Build Your First Recipe","href":"/get-started/first-recipe"},{"title":"Developer Tools Introduction","href":"/get-started/developer-start"}]},{"group":"Build","pages":[{"group":"Create Voice Agent","pages":[{"title":null,"href":"/build/recipe-builder/overview"},{"title":null,"href":"/build/recipe-builder/agent-settings"},{"title":"Smart Interruption","href":"/build/recipe-builder/smart-interruption"},{"title":null,"href":"/build/recipe-builder/recipe-blocks"},{"group":"Recipe Blocks","pages":[{"title":"Message Block","href":"/build/recipe-builder/recipe-block/message-block"},{"title":"SmartAI Block","description":"Leverage LLMs for complex logic, multi-step conversations, and intelligent decision-making.","href":"/build/recipe-builder/recipe-block/smartai-block"},{"title":"Ask Block","href":"/build/recipe-builder/recipe-block/ask-block"},{"title":"Condition Block","description":"Route conversations based on deterministic logic and variable comparisons.","href":"/build/recipe-builder/recipe-block/condition-block"},{"title":"Code Block","href":"/build/recipe-builder/recipe-block/code-block"},{"title":"API Block","href":"/build/recipe-builder/recipe-block/api-block"}]}]},{"group":"Configure Voice \u0026 Accent","pages":[{"title":null,"href":"/build/configure-voices/choose-agent-voice"},{"title":null,"href":"/build/configure-voices/add-custom-voice"},{"title":null,"href":"/build/configure-voices/add-pronunciation"}]},{"group":"Integrate Telephony","pages":[{"title":"Telephony Fundamentals","href":"/build/integrate-telephony/basics"},{"title":"Managing Phone Numbers","href":"/build/integrate-telephony/managing-phone-numbers"},{"title":"Speech Recognition Optimization","href":"/build/integrate-telephony/speech-recognition-optimization"},{"title":"Voice Setup \u0026 Personalization","href":"/build/integrate-telephony/voice-setup"},{"title":"Custom SIP Integration (BYOC)","href":"/build/integrate-telephony/sip-integration"}]},{"group":"Post Call Insights","pages":[{"title":"Post-Call Insights Overview","href":"/build/post-call-insights/overview"},{"title":"Defining Insight Parameters","href":"/build/post-call-insights/setup"},{"title":"Consuming Insight Data","href":"/build/post-call-insights/consuming-data"}]}]},{"group":"Test \u0026 Debug","pages":[{"title":"Testing \u0026 Debugging Overview","href":"/test-voice-agent/overview"},{"title":"Chat Testing \u0026 Debugging","href":"/test-voice-agent/manual-chat"},{"title":"Web Call Testing","href":"/test-voice-agent/web-call"},{"title":"Real Phone Call Testing","href":"/test-voice-agent/phone-call"}]},{"group":"Outreach","pages":[{"title":"Outreach Overview","href":"/outreach/overview"},{"title":"Create via Excel","href":"/outreach/bulk-upload"},{"title":"Create via API","href":"/outreach/campaign-api"}]},{"group":"Best Practices","pages":[{"title":"Mastering Dialects \u0026 Accents","href":"/best-practices/handling-dialects-and-accents"},{"title":"Accurate Voice Insights","href":"/best-practices/accurate-voice-agent-insights"},{"title":"Testing Best Practices","href":"/best-practices/detailed-guide-testing-voice-agents"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-v1/introduction"}]}]},"basePath":"","title":"Ask Block - Verloop.io Developer Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}