Learn how INNOCHAT collects user data through forms or natural conversation.
There are two ways to collect data from users when they engage with your AI Chat.
Through a form
Conversationally
There are pros and cons for each approach. Forms are easier to set up and is programmatic, but collecting information conversationally is more
natural and engaging despite the added complexity. You can send any collected data via webhook to a CRM as soon as your user submits it.
To add a form to your AI Chat, go to Customizations tab on the left navigation menu, then scroll down until you see the “Form” section:
You can select one of the default fields you’d like to include in the form. Alternatively, you can create custom fields.
For custom fields, you can change the field types (text, dropdown, checkbox). You can also make certain fields mandatory. If at least one field is
mandatory, you will also gain the option to make the entire form mandatory before the user can proceed with chatting. Making the form mandatory
will cause the “x” button on the top right of the form to disappear, thereby preventing users from closing the form before completing it.
If you want to maintain a natural conversational flow and collect data from users directly, you will have to configure your AI Agent(s) prompt and
set up variables to store the collected information.
The behavior of your AI Chat is governed by your AI Agent(s)‘s prompt. To review and edit the prompt, go to AI Agents
tab on the left navigation menu, then click on the Agent you’d like to edit.
If you created your AI Chat using a template, then you may be using a default
prompt we generated for you. If this is the first time you are configuring an
AI Agent prompt, we recommend you to read our Prompt Engineering guide for
best practices.
Configure your prompt to include detailed instructions for collecting user data. Make sure you cover when, what, and how. For example, here is a snippet
that can serve as a guide:
### Instructions- When engaging with the user for the first time, politely ask for their first name.- Once the user provides their first name, proceed with the following steps to collect their contact information.- Ask for the user's mobile telephone number after collecting their first name.- After the mobile telephone number is collected, ask for their e-mail address.- If the user is not comfortable providing any particular piece of information, do not force them. Respect their decision.
But this only directs the AI to ask for information from the user. We still need a way to store the collected information. Next, we’ll teach you how to store
the collected data into variables.
Go to Customizations tab on right navigation bar, then scroll down until you see “User Data Collection”. Click to expand it.
Inside, you can create variables to store information that is collected from the user during the conversation. You can set up multiple variables, each corresponding
to a single piece of information. When setting up a variable, please provide the variable name, description, and example values. Try to be as detailed and explicit
as possible.
The more examples you provide, the better it is for the AI to understand the format you’re looking for.Make sure to define enough variables to store all the information you are requesting from the user. In the example prompt snippet above, you would need the user’s name,
phone, and email.Once everything has been set up, you can test the AI Chat in preview mode. If everything works as intended, you should see the data being collected in your inbox every
time a user engages meaningfully with your AI Chat.
Variable values can change if the user specifies that they want to make a
correction or update. The AI is generally good at understanding the correct
value to assign.
Regardless of whether you want to collect data using a form or conversationally, you may wish to send that information to another CRM for follow up. innoChat supports
webhooks with smart triggers that can alert you to new leads as soon as they engage with the AI.Go to Customizations tab on the left navigation menu. Then scroll down to “Webhook”. Click to expand it.
If you are using a form, then you can select the “Form Submission” event and specify the API endpoint where you want the collected data to be sent (POST request).If you are using variables to store user data, then you can select the “Data Collection” event and choose the variables you’d like to be sent. Please note that the webhook
will only be triggered if all your designated variables have been collected (must not be empty).If you want certain variables to be optional, then you can give it a default value during variable setup. This way, it will always be in a populated state and never empty.
To send data by email, go to Customizations tab on the left navigation menu. Then scroll down to “Email Notifications”. Click to expand it.
Simply specify your email address and toggle on the appropriate triggers to start receiving new lead notifications.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"innoChat API","colors":{"primary":"#2E3F51","light":"#516F90","dark":"#0D001D"},"logo":{"light":"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/light.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=40744d3184133a986aba56b47474b33c","dark":"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/dark.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=b9b2ff5ca3f2aba26ea014cc52e30f81"},"favicon":"/logo/favicon.png","api":{},"background":{},"navbar":{"links":[{"href":"mailto:hello@innochat.ch","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.innochat.ch"}},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"de","href":"de/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"it","href":"it/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"innoq","hasAudioNarration":false,"actualSubdomain":"innoq","customDomains":["docs.innochat.ch"],"gitSource":{"type":"github","owner":"innoq-doc","repo":"innoq-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e708a8fc07c2afd382a3","collectionId":"53bb3d08-7d40-431e-9052-b46127ae217e","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e708a8fc07c2afd382a3:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"en","tag":"API Reference","count":39},{"language":"de","tag":"API-Referenz","count":39},{"language":"fr","tag":"Référence API","count":39},{"language":"it","tag":"Riferimento API","count":36},{"language":"en","tag":"Data Sources","count":22},{"language":"de","tag":"Datenquellen","count":22},{"language":"fr","tag":"Sources de données","count":22},{"language":"it","tag":"Origini dati","count":22},{"language":"en","tag":"Documentation","count":15},{"language":"de","tag":"Dokumentation","count":15},{"language":"fr","tag":"Documentation","count":15},{"language":"it","tag":"Documentazione","count":15},{"language":"en","tag":"Chatbots","count":12},{"language":"en","tag":"Guides","count":12},{"language":"de","tag":"Chatbots","count":12},{"language":"de","tag":"Anleitungen","count":12},{"language":"fr","tag":"Chatbots","count":12},{"language":"fr","tag":"Guides","count":12},{"language":"it","tag":"Chatbot","count":12},{"language":"it","tag":"Guide","count":12},{"language":"en","tag":"Sessions \u0026 Messages","count":11},{"language":"de","tag":"Sitzungen \u0026 Nachrichten","count":11},{"language":"fr","tag":"Sessions \u0026 Messages","count":11},{"language":"en","tag":"Agents","count":10},{"language":"de","tag":"Agenten","count":10},{"language":"fr","tag":"Agents","count":10},{"language":"it","tag":"Agenti","count":10},{"language":"it","tag":"Sessioni e Messaggi","count":8},{"language":"en","tag":"Session Messages","count":6},{"language":"en","tag":"Whitelabel","count":6},{"language":"de","tag":"Sitzungsnachrichten","count":6},{"language":"de","tag":"Whitelabel","count":6},{"language":"fr","tag":"Messages de session","count":6},{"language":"fr","tag":"Marque blanche","count":6},{"language":"it","tag":"Messaggi di sessione","count":6},{"language":"it","tag":"White label","count":6},{"language":"en","tag":"Chatbot Sessions","count":5},{"language":"de","tag":"Chatbot-Sitzungen","count":5},{"language":"fr","tag":"Sessions chatbot","count":5},{"language":"it","tag":"Cookbook","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"lead-collection","slug":"/lead-collection","pageMetadata":{"title":"Lead Collection","description":"Learn how INNOCHAT collects user data through forms or natural conversation.","href":"/lead-collection","hidden":false},"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: \"Learn how INNOCHAT collects user data through forms or natural conversation.\"\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={code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`There are two ways to collect data from users when they engage with your AI Chat.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Through a form`}),`\n`,_jsx(_components.li,{children:`Conversationally`}),`\n`]}),`\n`,_jsx(_components.p,{children:`There are pros and cons for each approach. Forms are easier to set up and is programmatic, but collecting information conversationally is more\nnatural and engaging despite the added complexity. You can send any collected data via webhook to a CRM as soon as your user submits it.`}),`\n`,_jsx(Heading,{level:`2`,id:`collecting-data-through-a-form`,children:`Collecting data through a form`}),`\n`,_jsx(_components.p,{children:`To add a form to your AI Chat, go to Customizations tab on the left navigation menu, then scroll down until you see the “Form” section:`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=861bf790ca00380d95c498df6792cf45`,\"data-og-width\":`1919`,width:`1919`,\"data-og-height\":`906`,height:`906`,\"data-path\":`images/lead-collection-13.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c71dfb457f08e47637f344959df2d993 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=9b6babd917d53e7562795305be1e43cc 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=ac829a469569940fac4bac52a23e9a1a 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a82ff8fab1a2e8561e7f3305e992a6fb 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=d8ae5d17f96c48569f9063e0d76b11a2 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-13.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c09f7032e81c0ad844aaaa713befdebc 2500w`})}),`\n`,_jsx(_components.p,{children:`You can select one of the default fields you’d like to include in the form. Alternatively, you can create custom fields.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=e54482c5e7a0a21aa57d3732eb22564b`,\"data-og-width\":`1049`,width:`1049`,\"data-og-height\":`831`,height:`831`,\"data-path\":`images/lead-collection-14.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=0d88f455633022f91c5162aac19434a8 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6acea44fad5f77eac141d5819df00400 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=9cf7ecd43b4022ba7ebca14e760756f1 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=568264c89d0fa60a17c2cd1ff734cf58 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=77f75883d0a686a2f56a58c53cd2ab31 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-14.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c3665653248b83d231b3b9c10fb9f7a8 2500w`})}),`\n`,_jsx(_components.p,{children:`For custom fields, you can change the field types (text, dropdown, checkbox). You can also make certain fields mandatory. If at least one field is\nmandatory, you will also gain the option to make the entire form mandatory before the user can proceed with chatting. Making the form mandatory\nwill cause the “x” button on the top right of the form to disappear, thereby preventing users from closing the form before completing it.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=c982c5dc6db8fdd36f219b5b93a23b33`,\"data-og-width\":`1057`,width:`1057`,\"data-og-height\":`624`,height:`624`,\"data-path\":`images/lead-collection-15.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=cf04c90757bbb19851c342b8e28e0421 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=7784283aff577ede04843204a89364e1 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=31d31bb5d9694ca095699af7d562a144 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8e2fafc38a37ce5d4bd5df09b7146fda 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=7b51fdfda1c5252eb5328b7dc68cf546 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-15.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a8bf34e86ced4de56acf63bc523ef366 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`collecting-data-conversationally`,children:`Collecting data conversationally`}),`\n`,_jsx(_components.p,{children:`If you want to maintain a natural conversational flow and collect data from users directly, you will have to configure your AI Agent(s) prompt and\nset up variables to store the collected information.`}),`\n`,_jsx(Heading,{level:`3`,id:`editing-the-prompt`,children:`Editing the prompt`}),`\n`,_jsx(_components.p,{children:`The behavior of your AI Chat is governed by your AI Agent(s)‘s prompt. To review and edit the prompt, go to AI Agents\ntab on the left navigation menu, then click on the Agent you’d like to edit.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`If you created your AI Chat using a template, then you may be using a default\nprompt we generated for you. If this is the first time you are configuring an\nAI Agent prompt, we recommend you to read our Prompt Engineering guide for\nbest practices.`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=dafb812404aa43fea81f17fd5cc2b764`,\"data-og-width\":`1708`,width:`1708`,\"data-og-height\":`810`,height:`810`,\"data-path\":`images/lead-collection-16.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=89f5433b7afcd3a417d2506aed123901 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a920ecd2a28c54797989fcfd756b47c2 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=b372571988e7a5a3f97b8ec65396d8ac 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=5e574a156d88e2eac9f151a3b07c1828 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=5bf945ff620ae112c1283c05652a3322 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-16.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=62ade2ac4696964be4615b166c1e4985 2500w`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=42c298cf90a5e48f2eaf0b1d0b712dae`,\"data-og-width\":`1386`,width:`1386`,\"data-og-height\":`905`,height:`905`,\"data-path\":`images/lead-collection-17.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=01e701f1132ff9df5c09d2d993f7bff8 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=678d3b7702434ef42b5296b6b2d53569 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=9ef81826ce5da9551dd789414bcc31f8 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=b839c9fff85dd2d7a4187a7b543c4fb3 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=55dce9dbbc7340fcff6e226a60354060 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-17.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=4891cfa5eee1f10eb359f6fd6822a77d 2500w`})}),`\n`,_jsx(_components.p,{children:`Configure your prompt to include detailed instructions for collecting user data. Make sure you cover when, what, and how. For example, here is a snippet\nthat can serve as a guide:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`### Instructions`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- When engaging with the user for the first time, politely ask for their first name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Once the user provides their first name, proceed with the following steps to collect their contact information.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Ask for the user's mobile telephone number after collecting their first name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- After the mobile telephone number is collected, ask for their e-mail address.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- If the user is not comfortable providing any particular piece of information, do not force them. Respect their decision.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`But this only directs the AI to ask for information from the user. We still need a way to store the collected information. Next, we’ll teach you how to store\nthe collected data into variables.`}),`\n`,_jsx(Heading,{level:`3`,id:`setting-up-variables`,children:`Setting up variables`}),`\n`,_jsx(_components.p,{children:`Go to Customizations tab on right navigation bar, then scroll down until you see “User Data Collection”. Click to expand it.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=df190db838a1c57a80604f523481cc08`,\"data-og-width\":`1416`,width:`1416`,\"data-og-height\":`792`,height:`792`,\"data-path\":`images/lead-collection-18.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6f1acfbe5a365eafc8336a01c0eb3e8c 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=e86a135374998765548e5c71fa5018ab 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=717ecf4372a1e1b7f2135cf3aacb7351 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=048719d5e35b8ff3672d146c9b20cbbf 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=54db9cfa52de5194914f86926e769023 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-18.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=b326b7caa1d982e3b52c118d31bb4b4e 2500w`})}),`\n`,_jsx(_components.p,{children:`Inside, you can create variables to store information that is collected from the user during the conversation. You can set up multiple variables, each corresponding\nto a single piece of information. When setting up a variable, please provide the variable name, description, and example values. Try to be as detailed and explicit\nas possible.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=064322749a61c2b844ed7a9fd48a30ba`,\"data-og-width\":`577`,width:`577`,\"data-og-height\":`822`,height:`822`,\"data-path\":`images/lead-collection-19.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a09719c7a5bdd50445437794023b1876 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=5c927eb28ee168826c45a6aa63abf7b9 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=3beefd08b683e0b50d1f27964a0bacca 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=6423bc9e21bfc4cbccf72a5cbfad0798 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=d32a0653a173321fc9fd8f9a6ff46e17 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-19.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=a4031536b611fcbb38a333e024c456eb 2500w`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.em,{children:`The more examples you provide, the better it is for the AI to understand the format you’re looking for.`})}),`\n`,_jsx(_components.p,{children:`Make sure to define enough variables to store all the information you are requesting from the user. In the example prompt snippet above, you would need the user’s name,\nphone, and email.`}),`\n`,_jsx(_components.p,{children:`Once everything has been set up, you can test the AI Chat in preview mode. If everything works as intended, you should see the data being collected in your inbox every\ntime a user engages meaningfully with your AI Chat.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Variable values can change if the user specifies that they want to make a\ncorrection or update. The AI is generally good at understanding the correct\nvalue to assign.`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=76b2be0a8385505c3381f77140977ec8`,\"data-og-width\":`1625`,width:`1625`,\"data-og-height\":`625`,height:`625`,\"data-path\":`images/lead-collection-20.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=43a6800e328e67b58f1ec6addc639e1b 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=21fe3e6f34ac224e30e47fd207ae249b 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=57ce76bcd8898d9ce7b0b33002956d7a 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=b20602097c4365de22ff08f25039bf0c 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=f64525469c77a51f89bb5e08b52c42c0 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-20.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=dc6384a267890c3936ab2ed63a884147 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`sending-data-to-your-crm`,children:`Sending data to your CRM`}),`\n`,_jsx(_components.p,{children:`Regardless of whether you want to collect data using a form or conversationally, you may wish to send that information to another CRM for follow up. innoChat supports\nwebhooks with smart triggers that can alert you to new leads as soon as they engage with the AI.`}),`\n`,_jsx(_components.p,{children:`Go to Customizations tab on the left navigation menu. Then scroll down to “Webhook”. Click to expand it.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=7ca48a7b87f8cfdd595931baac0d5ddd`,\"data-og-width\":`1875`,width:`1875`,\"data-og-height\":`740`,height:`740`,\"data-path\":`images/lead-collection-21.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=9da04dc485c986338e4a3076586d12af 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=fc43076a7160615c86c88d9e57316567 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=620895c2c02765956214f628bff891ca 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=8a1844362a3b59c692a5f550764afe62 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=1655b8726db84c09714d316c9a408939 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-21.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=fe1339cfad5e219058eb569796469ac8 2500w`})}),`\n`,_jsx(_components.p,{children:`If you are using a form, then you can select the “Form Submission” event and specify the API endpoint where you want the collected data to be sent (POST request).`}),`\n`,_jsxs(_components.p,{children:[`If you are using variables to store user data, then you can select the “Data Collection” event and choose the variables you’d like to be sent. `,_jsx(_components.strong,{children:`Please note that the webhook\nwill only be triggered if all your designated variables have been collected (must not be empty).`})]}),`\n`,_jsx(_components.p,{children:`If you want certain variables to be optional, then you can give it a default value during variable setup. This way, it will always be in a populated state and never empty.`}),`\n`,_jsx(Heading,{level:`2`,id:`sending-data-by-email`,children:`Sending data by email`}),`\n`,_jsx(_components.p,{children:`To send data by email, go to Customizations tab on the left navigation menu. Then scroll down to “Email Notifications”. Click to expand it.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=d069cb5b9dd6b035acab30b03fea973a`,\"data-og-width\":`1880`,width:`1880`,\"data-og-height\":`909`,height:`909`,\"data-path\":`images/lead-collection-22.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=280\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=970f71e036d28a9dce667ba44c29351f 280w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=560\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=fed42759f770389636fa52870b93f0de 560w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=840\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=f056725a33e3c1e31759dfffe87a0316 840w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=7276f3a110fcf353f78d716e3a02a94b 1100w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=0683fd390227767029bef558e89d7d48 1650w, https://mintcdn.com/innoq/9CizSgZikx55e9_4/images/lead-collection-22.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9CizSgZikx55e9_4\u0026q=85\u0026s=ce945ced36cfe32c490ca8edcfe35f06 2500w`})}),`\n`,_jsx(_components.p,{children:`Simply specify your email address and toggle on the appropriate triggers to start receiving new lead notifications.`})]})}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":"Lead Collection","description":"Learn how INNOCHAT collects user data through forms or natural conversation.","href":"/lead-collection","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Collecting data through a form","slug":"collecting-data-through-a-form","depth":2,"children":[]},{"title":"Collecting data conversationally","slug":"collecting-data-conversationally","depth":2,"children":[{"title":"Editing the prompt","slug":"editing-the-prompt","depth":3,"children":[]},{"title":"Setting up variables","slug":"setting-up-variables","depth":3,"children":[]}]},{"title":"Sending data to your CRM","slug":"sending-data-to-your-crm","depth":2,"children":[]},{"title":"Sending data by email","slug":"sending-data-by-email","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"innoq","siteName":"innoChat API","title":"Lead Collection - innoChat API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/lead-collection","matchLevel":0},"de":{"href":"/de/lead-collection","matchLevel":1},"fr":{"href":"/fr/lead-collection","matchLevel":1},"it":{"href":"/it/lead-collection","matchLevel":1}}},"lastModified":"2025-12-09T04:31:41.754Z","originalFileLocation":"lead-collection.mdx","locale":"en"},"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=\"Learn how INNOCHAT collects user data through forms or natural conversation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"innoChat API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_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/innoq/xIqE2ijYpQ8yansi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lead Collection - innoChat API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how INNOCHAT collects user data through forms or natural conversation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"innoChat API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.innochat.ch/lead-collection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://innoq.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Lead+Collection\u0026amp;description=Learn+how+INNOCHAT+collects+user+data+through+forms+or+natural+conversation.\u0026amp;theme=d32e8e178367d8e52a00ee73\u0026amp;signature=9116e4ea9eb8595aa0d7814084c7bd86845cf1b88aa922c4caa41104a82e330e\">\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=\"Lead Collection - innoChat API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how INNOCHAT collects user data through forms or natural conversation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://innoq.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Lead+Collection\u0026amp;description=Learn+how+INNOCHAT+collects+user+data+through+forms+or+natural+conversation.\u0026amp;theme=d32e8e178367d8e52a00ee73\u0026amp;signature=9116e4ea9eb8595aa0d7814084c7bd86845cf1b88aa922c4caa41104a82e330e\">\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/innoq/xIqE2ijYpQ8yansi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"innoChat API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E3F51\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.innochat.ch/lead-collection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/lead-collection.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.innochat.ch/lead-collection\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.innochat.ch/de/lead-collection\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.innochat.ch/fr/lead-collection\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.innochat.ch/it/lead-collection\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.innochat.ch/lead-collection\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.innochat.ch/#organization\",\"name\":\"innoChat API\",\"url\":\"https://docs.innochat.ch\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/innoq/m-MXq-_ojngkTbq6/logo/light.svg?fit=max\u0026auto=format\u0026n=m-MXq-_ojngkTbq6\u0026q=85\u0026s=40744d3184133a986aba56b47474b33c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.innochat.ch#website\",\"name\":\"innoChat API\",\"url\":\"https://docs.innochat.ch\",\"publisher\":{\"@id\":\"https://docs.innochat.ch/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.innochat.ch/lead-collection#webpage\",\"url\":\"https://docs.innochat.ch/lead-collection\",\"name\":\"Lead Collection\",\"description\":\"Learn how INNOCHAT collects user data through forms or natural conversation.\",\"dateModified\":\"2025-12-09T04:31:41.754Z\",\"isPartOf\":{\"@id\":\"https://docs.innochat.ch#website\"},\"breadcrumb\":{\"@id\":\"https://docs.innochat.ch/lead-collection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.innochat.ch/lead-collection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.innochat.ch/creating-first-chatbot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lead Collection\",\"item\":\"https://docs.innochat.ch/lead-collection\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.innochat.ch/lead-collection#article\",\"headline\":\"Lead Collection\",\"name\":\"Lead Collection\",\"description\":\"Learn how INNOCHAT collects user data through forms or natural conversation.\",\"url\":\"https://docs.innochat.ch/lead-collection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.innochat.ch/lead-collection#webpage\"},\"dateModified\":\"2025-12-09T04:31:41.754Z\",\"publisher\":{\"@id\":\"https://docs.innochat.ch/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.innochat.ch#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"innoChat API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"innoChat API","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"Guides","pages":[{"title":"Create Your First Chatbot","description":"Learn how to create your first INNOCHAT chatbot, from onboarding to training data, customization, and deployment.","href":"/creating-first-chatbot"},{"title":"Lead Collection","href":"/lead-collection"},{"title":"Human Support Escalation","description":"Learn how INNOCHAT enables humans to take over chat sessions when needed.","href":"/human-support-escalation"},{"title":"Inbox Notifications","href":"/inbox-notifications"},{"title":"Conversation Labeling","href":"/conversation-labeling"},{"title":"Multi-Agents Chatbot","href":"/multi-agents-chatbot"},{"title":"Fine Tuning Agent Intents","href":"/fine-tuning-agent-intents"},{"title":"AI Supervisor Overrides","href":"/supervisor-overrides"},{"title":"Bring Your Own Key (BYOK) and Pricing","href":"/byok-pricing-guide"},{"title":"Working with Tables and CSV","href":"/working-with-tables"},{"title":"Best practices for preparing training data","href":"/best-practices"},{"title":"Why does my chatbot not answer correctly?","href":"/help"}]},{"group":"Function Calling","pages":[{"title":"RAG from an External Data Provider","href":"/rag-from-external-data-provider"}]},{"group":"Authentication Webhook","pages":[{"title":"User Identity Verification","href":"/user-identity"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api-key-setup"}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/slack"}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/tools/tools-intro"}]},{"tab":"Whitelabel","pages":[{"title":"Whitelabel","href":"/whitelabel/whitelabel-intro"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/lead-collection"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/lead-collection"}]},{"language":"it","pages":[{"title":"it","href":"/it/lead-collection"}]}]},"title":"Lead Collection - innoChat API","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-BbYRHtLl.js","DynamicMarkdown-DN96a4Ur.js","zoom-image-lightbox-D7yRe3On.js","lightbox-handle-r17bVUz3.js"]}