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. GPT-trainer 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":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"GPT-trainer API","colors":{"primary":"#2E3F51","light":"#516F90","dark":"#0D001D"},"favicon":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/favicon.png?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=d04dff53c81245c4d48f0301bad6209f","logo":{"light":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/light.svg?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=e282ced1ff19648529968cefe4eb3deb","dark":"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/dark.svg?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=bee6ec229dfdcd8e2a9654329a38a3c6"},"api":{"mdx":{"server":"https://app.gpt-trainer.com/api","auth":{"method":"bearer","name":null}}},"background":{"decoration":null,"color":{"light":null,"dark":"#111827"}},"navbar":{"links":[{"label":"Support","href":"mailto:hello@gpt-trainer.com"}],"primary":null},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"paladinmaxinc","hasAudioNarration":false,"actualSubdomain":"paladinmaxinc","customDomains":["guide.gpt-trainer.com"],"gitSource":{"type":"github","owner":"ks-collab","repo":"gpt-trainer-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61733a4518725aab1a4","collectionId":"176b19f7-2d23-4aaa-b976-d711aa6932e6","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae91e981deeea3b72f9ff99:success","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API References","count":39},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Data Sources","count":9},{"language":"default","tag":"Chatbots","count":6},{"language":"default","tag":"Session Messages","count":6},{"language":"default","tag":"Whitelabel","count":6},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"Chatbot Sessions","count":5},{"language":"default","tag":"Integrations","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"lead-collection","slug":"/lead-collection","pageMetadata":{"title":"Lead Collection","description":null,"href":"/lead-collection"},"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=e3454cac364faa48b8048b317c699859`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=55f56d80adc2c6a32fccf48a0e7dd82c 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=5e8beeeb037a40d1db2f532fb701434f 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=80c716adfb327c3d3aec9a5fb3f0a91e 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=d9fbd97ddb2c6731c56bee0b12a660b0 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=802bd7143c241becfb2af65c459f5b1a 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-13.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=738335361fab065acaa78ba10623c6e6 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=002f2616ffaab09a2c86626fc85a6251`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=f1eb8b04c5333eaecf7cb43dbe27560d 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=1574e15d1c37a511ec66755b09049b93 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=a57107de82a860b7999015e87342a22b 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=29e00302d04c903dea3c6a3099187dde 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=33a7afe0d34f90912425996d05a41175 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-14.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=0c9a6602cbd568d24cb93dcce4eeaa55 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=85e2eac27ee8c3fbdad228b172fe612f`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=503163594c78a81af77d9317125d076f 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=633bf058bd1a784d4cd9ec44895803be 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c35b94a9c4747199c1749be5afac908b 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=38710d05c3bae52f5e34b5eaee7961a2 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=e549d24fd45e64e8b8eb195945a1b43b 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-15.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=b7b1be128ca4fa4f6d6d7767b2d8862e 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c727c9541225c34d3d05cc2dab600df4`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=f3eb79aaae0e8bfda7bbe58533432b81 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=ae031cd7a3d9c84b434356329a48c676 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=0b97e9e342d0486b12688b9921603a98 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=19889cdcd5839897fc254fafe98d20b5 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c034b3bea7f6e08c2a30cab9fe5c913e 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-16.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=6a3c11ef626d55ed09592e9ed05cb668 2500w`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=238ee2f79d39b0344bb1457a3b3d262a`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=9b01ab1d7925a1ec4330ee58a49047a9 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=8586f0dc78cfaef40510d116b56087d0 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=4e0bbbb3cd218fe9122c9d899100ddc8 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=8ee23419e37a166fc5400ab66168199a 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c6075f289ceaac95966e74a1de90b8cd 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-17.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c2a0f08015063efba19ba0d86c5eb692 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=d5b87960e92bdab784ae8635f7e2b407`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=88d8cb32e84c74e56949b9d4a9510219 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=6de49e24b96f9966436bac042f2278e6 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=0b57995d2816da522358ce6aaf245bd3 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=f03bd8a56c4e109c1792d595e894d7c8 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=f26ab680f1b515f3da0d504fa9cf3d1f 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-18.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=e3043cf421070f3103efb37a04221830 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c2ead7f586bb749b9010efa61e900888`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=8cce4fdcd1c7d726be4f236c3960785f 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=bcdfba34c56e5b1fe060a1ed9ba165c6 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=c0982a03b4e14cc5bf36ba8bf29b34f9 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=ba62ee467a8f7acf514296b74c18cfed 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=30d4000294085ae7e94c517111145a0d 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-19.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=904db4cf94a0099bd0065b355346154b 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=a252cafa88ba9d2e87cafe9a39202fd2`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=683c620bd18a787926581f100284f165 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=d2452d37974907468564f686db8edc16 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=fc285274090ca3035f0ed2893ecc64cf 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=b33934d7c138714b7adbd9f8ab503ca1 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=4d9be35ba19cd93303399e1ad071c38a 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-20.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=279d50024d3ea25ffacec49987698e2a 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. GPT-trainer 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=b2a75c8e76270243e561caacfb4a8501`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=d85c0cd8f134d67e08f32e6d463a8c9b 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=aa15036397f9423663afd9c2743d2d55 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=e96c6b3e17d2babdedd60962e2f31331 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=033cf60690256f070d8f67d77720ffa1 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=b92637b56e6b8b127f35f4c27730a6d4 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-21.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=09ee67b5c52366361e6a4c2b21b1b5df 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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=2ca995656fec76ecb886b35fef5bf164`,\"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/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=280\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=96017e08b75a201e8c8b253d2a9b2132 280w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=560\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=ed0e5c575b70e88d3b25cf02ce5731a0 560w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=840\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=34bac1dbabe0652b199f33e83017392e 840w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=1100\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=6e0556e70c6cd1d81eb332cbef9ccfaf 1100w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=1650\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=9d6340c93a0ffa44112ff47a5f421378 1650w, https://mintcdn.com/paladinmaxinc/cqqSKD6mznKTkSgB/images/lead-collection-22.png?w=2500\u0026fit=max\u0026auto=format\u0026n=cqqSKD6mznKTkSgB\u0026q=85\u0026s=e4f84076b60b73329c83d9397768dac0 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":null,"href":"/lead-collection"}}},"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":"paladinmaxinc","siteName":"GPT-trainer API","title":"Lead Collection - GPT-trainer API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:48:27.795Z","originalFileLocation":"lead-collection.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=\"application-name\" content=\"GPT-trainer 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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Lead Collection - GPT-trainer API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GPT-trainer API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://guide.gpt-trainer.com/lead-collection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://paladinmaxinc.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Lead+Collection\u0026amp;theme=d354e6b8b2605c4dee81eb93\u0026amp;signature=bfae3af7ecb7c023adfaa03e04496932f4d4a9d912ca7d410fc924d4c86b0073\">\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 - GPT-trainer API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://paladinmaxinc.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Lead+Collection\u0026amp;theme=d354e6b8b2605c4dee81eb93\u0026amp;signature=bfae3af7ecb7c023adfaa03e04496932f4d4a9d912ca7d410fc924d4c86b0073\">\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/paladinmaxinc/rZh3k9QVucZqPJ9E/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GPT-trainer API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E3F51\">\u003clink data-mint-head rel=\"canonical\" href=\"https://guide.gpt-trainer.com/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\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://guide.gpt-trainer.com/#organization\",\"name\":\"GPT-trainer API\",\"url\":\"https://guide.gpt-trainer.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/paladinmaxinc/_odr0HDBZYr--Le1/logo/light.svg?fit=max\u0026auto=format\u0026n=_odr0HDBZYr--Le1\u0026q=85\u0026s=e282ced1ff19648529968cefe4eb3deb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://guide.gpt-trainer.com#website\",\"name\":\"GPT-trainer API\",\"url\":\"https://guide.gpt-trainer.com\",\"publisher\":{\"@id\":\"https://guide.gpt-trainer.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://guide.gpt-trainer.com/lead-collection#webpage\",\"url\":\"https://guide.gpt-trainer.com/lead-collection\",\"name\":\"Lead Collection\",\"dateModified\":\"2026-01-07T00:48:27.795Z\",\"isPartOf\":{\"@id\":\"https://guide.gpt-trainer.com#website\"},\"breadcrumb\":{\"@id\":\"https://guide.gpt-trainer.com/lead-collection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://guide.gpt-trainer.com/lead-collection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://guide.gpt-trainer.com/creating-first-chatbot\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lead Collection\",\"item\":\"https://guide.gpt-trainer.com/lead-collection\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://guide.gpt-trainer.com/lead-collection#article\",\"headline\":\"Lead Collection\",\"name\":\"Lead Collection\",\"url\":\"https://guide.gpt-trainer.com/lead-collection\",\"mainEntityOfPage\":{\"@id\":\"https://guide.gpt-trainer.com/lead-collection#webpage\"},\"dateModified\":\"2026-01-07T00:48:27.795Z\",\"publisher\":{\"@id\":\"https://guide.gpt-trainer.com/#organization\"},\"isPartOf\":{\"@id\":\"https://guide.gpt-trainer.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GPT-trainer API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"GPT-trainer API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"}]},{"group":"Guides","pages":[{"title":"Create Your First Chatbot","description":null,"href":"/creating-first-chatbot"},{"title":"Lead Collection","href":"/lead-collection"},{"title":"Human Support Escalation","description":null,"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"}]}]},{"anchor":"API References","icon":"code","pages":[{"title":"API References","href":"/api-reference/api-key-setup"}]},{"anchor":"Integrations","icon":"network-wired","pages":[{"title":"Integrations","href":"/integrations/slack"}]},{"anchor":"Tools","icon":"gear","pages":[{"title":"Tools","href":"/tools/tools-intro"}]},{"anchor":"Whitelabel","icon":"browser","pages":[{"title":"Whitelabel","href":"/whitelabel/whitelabel-intro"}]}]},"basePath":"","title":"Lead Collection - GPT-trainer API","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-NdetNziF.js","DynamicMarkdown-CD8713Yy.js","zoom-image-lightbox-DMoL6lHz.js","lightbox-handle-r17bVUz3.js"]}