The Chatbot Builder processes incoming messages through a structured flow-based system where each conversation follows a predefined path composed of interconnected blocks (neurons). When a message arrives, the system first checks whether this is the first message of the session with the virtual agent. If it is the first message, processing begins at the entry point—the initial non-editable block of the Bot Builder, which serves as the starting point where all conversations originate. If it is not the first message, the system resumes from where the conversation previously paused, continuing from the last processed block.Once the starting point is determined, the system evaluates the current block to determine its type: a simple send block or a send block with response reception (requiring user input). Blocks can have two stages: a send stage and a receive stage. Both stages may include message preparation phases that involve external API calls, such as integrations with CRM systems like SGP and IXC. For example, the system might send a request to the CRM to identify contracts for a user, receive the API response, prepare a message based on that response, send it to the user, and then wait for the user to select which account they want to proceed with.After sending a message to the user, the system may or may not wait for user input, depending on whether the block has a reception element. If the block includes reception and the user provides input, the flow is triggered again from the point where the conversation paused. The system recognizes this as a response and processes the response block, finalizing it based on the conditions met. Depending on the condition reached, the block may have multiple outputs, and the system selects the appropriate output to proceed to the next neuron, effectively restarting the entire process with validation stages. This cycle continues until the conversation reaches an endpoint or completes its intended flow.
Message Processing Flow
The following sequence diagram illustrates the complete message processing flow: click here to open in a new tabDuring message processing, the Chatbot Builder maintains conversation state, which includes variables, user data, and the current position in the flow. This state persists across multiple message exchanges, allowing the chatbot to remember context, track progress through multi-step processes, and make decisions based on previous interactions. The system also handles error scenarios gracefully, routing conversations to error handling blocks when API calls fail, when validation errors occur, or when unexpected conditions are encountered, ensuring that users always receive appropriate responses even when something goes wrong.Developers can extend the Chatbot Builder’s functionality by integrating with their own APIs. API integrations support two different integration methods, each suited for different use cases and requirements. For detailed information about neuron types and integration methods, refer to the Neurons documentation.
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Talqui Developer Hub","colors":{"primary":"#007AFF","light":"#007AFF","dark":"#007AFF"},"logo":{"light":"https://mintcdn.com/talqui/-o_W3kkyV31zP2HR/logo/light.svg?fit=max\u0026auto=format\u0026n=-o_W3kkyV31zP2HR\u0026q=85\u0026s=08a1879dfb3c84a2ab53e079381472fb","dark":"https://mintcdn.com/talqui/-o_W3kkyV31zP2HR/logo/dark.svg?fit=max\u0026auto=format\u0026n=-o_W3kkyV31zP2HR\u0026q=85\u0026s=c97578e560d45a7becd0b5cb52f42b42","href":"/"},"favicon":"https://mintcdn.com/talqui/-o_W3kkyV31zP2HR/favicon.png?fit=max\u0026auto=format\u0026n=-o_W3kkyV31zP2HR\u0026q=85\u0026s=9d0c08e88f3b71cf1890754d0e71a192","navbar":{"primary":{"type":"button","label":"Open App","href":"https://app.talqui.chat/?utm_source=docs.talqui.chat\u0026utm_medium=referral\u0026utm_campaign=developer_hub\u0026utm_content=navbar_open_app"}},"footer":{"links":[{"header":"Talqui","items":[{"label":"Talqui Website","href":"https://talqui.chat/"},{"label":"Terms of Use","href":"https://talqui.chat/terms-of-service"},{"label":"Privacy Policy","href":"https://talqui.chat/privacy-policy"}]}]},"seo":{"metatags":{"og:image":"https://docs.talqui.chat/images/brand/og-image.png"}},"fonts":{"heading":{"family":"Talqui Proxima Nova","weight":600,"source":"fonts/proxima_nova_semibold.woff2","format":"woff2"},"body":{"family":"Talqui Proxima Nova","weight":400,"source":"fonts/proxima_nova_regular.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"talqui","hasAudioNarration":false,"actualSubdomain":"talqui","customDomains":["docs.talqui.chat"],"gitSource":{"type":"github","owner":"talqui-chat","repo":"talqui-docs-mintilify","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afa64c98e8953106b3d64a8","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API","count":108},{"language":"default","tag":"Services API","count":81},{"language":"default","tag":"Guides","count":50},{"language":"default","tag":"Helpdesk API","count":24},{"language":"default","tag":"Plugins","count":21},{"language":"default","tag":"Campaigns","count":21},{"language":"default","tag":"Sessions","count":15},{"language":"default","tag":"Platform","count":12},{"language":"default","tag":"Contacts","count":12},{"language":"default","tag":"Chat SDKs","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"site-roles","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"ul.sidebar-group:has(>li[data-group-tag])+ul.sidebar-group:has(>li[data-group-tag]){margin-top:0!important}#footer>div{padding-top:2.5rem!important;padding-bottom:2.5rem!important;gap:1.5rem!important}@media (min-width: 768px){#footer div:has(>a[href^=\"http\"]):not(:has(div)){justify-content:flex-end!important}}html:not(.dark) #almond-background-color{background-color:#f2f4f8!important}#content-area{max-width:41.5rem}"},{"filePath":"fonts.css","content":"@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_light.woff2\") format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_light_italic.woff2\") format(\"woff2\");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_regular.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_regular_italic.woff2\") format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_semibold.woff2\") format(\"woff2\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_semibold_italic.woff2\") format(\"woff2\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_bold.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Talqui Proxima Nova\";src:url(\"/fonts/proxima_nova_bold_italic.woff\") format(\"woff\");font-weight:700;font-style:italic;font-display:swap}"}]}
{"page":{"pagePath":"guides/bot-builder/message-processing","slug":"/guides/bot-builder/message-processing","pageMetadata":{"title":"Message Processing","description":null,"href":"/guides/bot-builder/message-processing"},"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`,p:`p`,..._provideComponents(),...props.components},{Heading,Mermaid}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Chatbot Builder processes incoming messages through a structured flow-based system where each conversation follows a predefined path composed of interconnected blocks (neurons). When a message arrives, the system first checks whether this is the first message of the session with the virtual agent. If it is the first message, processing begins at the entry point—the initial non-editable block of the Bot Builder, which serves as the starting point where all conversations originate. If it is not the first message, the system resumes from where the conversation previously paused, continuing from the last processed block.`}),`\n`,_jsx(_components.p,{children:`Once the starting point is determined, the system evaluates the current block to determine its type: a simple send block or a send block with response reception (requiring user input). Blocks can have two stages: a send stage and a receive stage. Both stages may include message preparation phases that involve external API calls, such as integrations with CRM systems like SGP and IXC. For example, the system might send a request to the CRM to identify contracts for a user, receive the API response, prepare a message based on that response, send it to the user, and then wait for the user to select which account they want to proceed with.`}),`\n`,_jsx(_components.p,{children:`After sending a message to the user, the system may or may not wait for user input, depending on whether the block has a reception element. If the block includes reception and the user provides input, the flow is triggered again from the point where the conversation paused. The system recognizes this as a response and processes the response block, finalizing it based on the conditions met. Depending on the condition reached, the block may have multiple outputs, and the system selects the appropriate output to proceed to the next neuron, effectively restarting the entire process with validation stages. This cycle continues until the conversation reaches an endpoint or completes its intended flow.`}),`\n`,_jsx(Heading,{level:`2`,id:`message-processing-flow`,children:`Message Processing Flow`}),`\n`,_jsxs(_components.p,{children:[`The following sequence diagram illustrates the complete message processing flow: `,_jsx(_components.a,{href:`https://kroki.io/mermaid/svg/eNrNVU1v2zAMve9X8JgAbVMUDTAUQ4AtbYceUgTNNuyq2IwrTJFciU6b_fpRcvyh2GmzYofl4MgW-cRH8lEOnwrUCV5LkVmx_gD8y4UlmchcaILvDm3n42LrCLu2t8o8z4QWWY_LF2WSX3NrEnTOdLdvXgitFurz_A6Eq1_Bvw-mD7PR4ut89HM67DjOGI8PXKBO-dSw7UM-nUzKIK_AbzlYl3bBoNxhk1bAV_CACcoNRpbhIRRTk9ZRtQVmBY6X0uhg4H8tqH3guxQ1ydXWE1u1cQ44x6liAsR8YWXNGhjIbiE3UtOnpR1NBlJLkpwnbfQpppLEUiEsPUCZKlQO4d7QUQf3R40v0pHUGSRGb9A6QYd574f-gK5YYxm7EhxACK2MTKdNimO_HqCbjVCFoB03oG2OZQKcXOdM2TEcGFv-P0t6BMvlzH2ow-YY_kZgs-Xg4vL8BC4uP_JjPB7WZLThEwyThE4NPC4Xgou_-8oZqf3eDH_6iBy1XNUdlFvkLg6pBI2YYlqD1Qvfd5EQEqEUc3gqpG3Z9wbQ0tMueO-HXIEBnmVnJ5AhQcFC8VUlKxJywwixBXDaW1gqrGZQlxvNLZYKEq9HtI8wDxmo5QZL4ZBLqAPTCreGrLolSlDnjGgY7HhX-GQC39o5smVfPzWu4BqV9PVvCyXqVF-UcC48spzrJmOh4ZoFU8PvDSGOciNTdCB1XtCow69_JH2zMuMFrPhjKaJcFD5NYQIcqcHdsqlVo8Eom404xuNKHJfncVccFkg1PQ9q5Kim-CGUTL3MQ2uGXP0dQD0nuK15HHJlXAQQvbwuMFjxPOkU6h2KC-PoAKF_IbUj5bbXBR2YtsQ6qXoT_1YyA_kbmwPyd_bAgqXEnWgK4mQ1Y6GnoMcNhUhRM25ePwo0vhA_Cnv0VVYlMHjGEro_qIrpNlE-JTkKcs2FXA4Q6SC6vbTa_s8s_EUhNXd0NRT_AJMfQQE`,children:`click here to open in a new tab`})]}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant User\n participant System\n participant FlowManager\n participant BlockProcessor\n participant ExternalAPI as External API (CRM/SGP/XC)\n participant MessageSender\n\n User->>System: Sends message\n System->>FlowManager: Receive message\n \n alt First message of session\n FlowManager->>FlowManager: Identify as first message\n FlowManager->>BlockProcessor: Start from entry point\u003cbr/>(initial non-editable block)\n else Not first message\n FlowManager->>FlowManager: Identify existing conversation\n FlowManager->>BlockProcessor: Resume from last block\n end\n \n BlockProcessor->>BlockProcessor: Evaluate block type\u003cbr/>(simple send or send with reception)\n \n rect rgb(240, 248, 255)\n note over BlockProcessor: Send Stage Processing\n BlockProcessor->>BlockProcessor: Check if message preparation needed\n \n alt External API call required\n BlockProcessor->>ExternalAPI: Send request (e.g., get user contracts)\n ExternalAPI-->>BlockProcessor: Return response data\n BlockProcessor->>BlockProcessor: Prepare message based on API response\n end\n \n BlockProcessor->>MessageSender: Send message to user\n MessageSender->>User: Deliver message\n end\n \n alt Block has reception element\n User->>System: Provides input/response\n System->>FlowManager: Trigger flow from paused point\n FlowManager->>BlockProcessor: Process response block\n \n rect rgb(255, 248, 240)\n note over BlockProcessor: Receive Stage Processing\n BlockProcessor->>BlockProcessor: Validate user input\n BlockProcessor->>BlockProcessor: Evaluate conditions\n \n alt External API call required for response\n BlockProcessor->>ExternalAPI: Send request with user input\n ExternalAPI-->>BlockProcessor: Return response data\n BlockProcessor->>BlockProcessor: Process response data\n end\n \n BlockProcessor->>BlockProcessor: Finalize response processing\n BlockProcessor->>BlockProcessor: Select output based on conditions\n end\n \n BlockProcessor->>FlowManager: Move to next neuron\n FlowManager->>BlockProcessor: Process next block\n Note over BlockProcessor: Cycle repeats\n else Block is simple send only\n BlockProcessor->>FlowManager: Move to next neuron\n FlowManager->>BlockProcessor: Process next block\n Note over BlockProcessor: Cycle continues\n end`}),`\n`,_jsx(_components.p,{children:`During message processing, the Chatbot Builder maintains conversation state, which includes variables, user data, and the current position in the flow. This state persists across multiple message exchanges, allowing the chatbot to remember context, track progress through multi-step processes, and make decisions based on previous interactions. The system also handles error scenarios gracefully, routing conversations to error handling blocks when API calls fail, when validation errors occur, or when unexpected conditions are encountered, ensuring that users always receive appropriate responses even when something goes wrong.`}),`\n`,_jsxs(_components.p,{children:[`Developers can extend the Chatbot Builder’s functionality by integrating with their own APIs. API integrations support two different integration methods, each suited for different use cases and requirements. For detailed information about neuron types and integration methods, refer to the `,_jsx(_components.a,{href:`/guides/bot-builder/neurons`,children:`Neurons documentation`}),`.`]})]})}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":"Message Processing","description":null,"href":"/guides/bot-builder/message-processing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Message Processing Flow","slug":"message-processing-flow","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"talqui","siteName":"Talqui Developer Hub","title":"Message Processing - Talqui Developer Hub","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T01:34:17.510Z","originalFileLocation":"guides/bot-builder/message-processing.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=\"Talqui Developer Hub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_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/talqui/9vDs-tCOYyoh0OOY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Message Processing - Talqui Developer Hub\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Talqui Developer Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.talqui.chat/guides/bot-builder/message-processing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.talqui.chat/images/brand/og-image.png\">\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=\"Message Processing - Talqui Developer Hub\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.talqui.chat/images/brand/og-image.png\">\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/talqui/9vDs-tCOYyoh0OOY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Talqui Developer Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.talqui.chat/guides/bot-builder/message-processing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/bot-builder/message-processing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.talqui.chat/#organization\",\"name\":\"Talqui Developer Hub\",\"url\":\"https://docs.talqui.chat\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/talqui/-o_W3kkyV31zP2HR/logo/light.svg?fit=max\u0026auto=format\u0026n=-o_W3kkyV31zP2HR\u0026q=85\u0026s=08a1879dfb3c84a2ab53e079381472fb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.talqui.chat#website\",\"name\":\"Talqui Developer Hub\",\"url\":\"https://docs.talqui.chat\",\"publisher\":{\"@id\":\"https://docs.talqui.chat/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.talqui.chat/guides/bot-builder/message-processing#webpage\",\"url\":\"https://docs.talqui.chat/guides/bot-builder/message-processing\",\"name\":\"Message Processing\",\"dateModified\":\"2026-11-12T01:34:17.510Z\",\"isPartOf\":{\"@id\":\"https://docs.talqui.chat#website\"},\"breadcrumb\":{\"@id\":\"https://docs.talqui.chat/guides/bot-builder/message-processing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.talqui.chat/guides/bot-builder/message-processing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Plugins\",\"item\":\"https://docs.talqui.chat/guides/plugins/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chatbot (Flow Builder)\",\"item\":\"https://docs.talqui.chat/guides/bot-builder/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Message Processing\",\"item\":\"https://docs.talqui.chat/guides/bot-builder/message-processing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.talqui.chat/guides/bot-builder/message-processing#article\",\"headline\":\"Message Processing\",\"name\":\"Message Processing\",\"url\":\"https://docs.talqui.chat/guides/bot-builder/message-processing\",\"mainEntityOfPage\":{\"@id\":\"https://docs.talqui.chat/guides/bot-builder/message-processing#webpage\"},\"image\":\"https://docs.talqui.chat/images/brand/og-image.png\",\"dateModified\":\"2026-11-12T01:34:17.510Z\",\"publisher\":{\"@id\":\"https://docs.talqui.chat/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.talqui.chat#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Talqui Developer Hub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Talqui Developer Hub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/bot-builder/message-processing.md","siteName":"Talqui Developer Hub","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Introduction","pages":[{"title":"Welcome to the Talqui Developer Hub","sidebarTitle":"Welcome","mode":"wide","href":""},{"title":"Quickstart","href":"/guides/introduction/quick-start"},{"group":"Authentication","root":{"title":"Authentication","href":"/guides/introduction/authentication"},"pages":[{"title":"API Credentials","href":"/guides/introduction/authentication/api-credentials"},{"title":"Embedded Authentication (id-token)","href":"/guides/introduction/authentication/embedded"}]},{"title":"API reference","url":"/references/rtm-api/v1","href":"/guides/introduction/api-reference"}]},{"group":"Basic Instructions","pages":[{"title":"Send a message","sidebarTitle":"Send message","href":"/guides/basics/send-message"},{"title":"Start a new conversation","sidebarTitle":"New conversation","href":"/guides/basics/new-conversation"},{"title":"Connect Talqui to AI assistants (MCP)","sidebarTitle":"Connect MCP","href":"/guides/introduction/ai-assistants"}]},{"group":"Platform","pages":[{"title":"Platform","sidebarTitle":"Overview","href":"/guides/platform"},{"group":"Campaigns","root":{"title":"Campaigns","href":"/guides/platform/campaigns"},"pages":[{"title":"Overview","href":"/guides/platform/campaigns/overview"},{"title":"Entities","href":"/guides/platform/campaigns/entities"},{"title":"Create Campaign","href":"/guides/platform/campaigns/create-campaign"},{"title":"Create Campaign Model","href":"/guides/platform/campaigns/create-campaign-model"},{"title":"Create Campaign Dispatch","href":"/guides/platform/campaigns/create-campaign-dispatch"}]},{"group":"Sessions","root":{"title":"Sessions","href":"/guides/platform/sessions"},"pages":[{"title":"Session Management","href":"/guides/platform/sessions/session-management"},{"group":"Session Start","root":{"title":"Session Start","href":"/guides/platform/sessions/session-start"},"pages":[{"title":"WhatsApp API Official","href":"/guides/platform/sessions/session-start/whatsapp-api-official"},{"title":"WhatsApp Business","href":"/guides/platform/sessions/session-start/whatsapp-business"},{"title":"iFood","href":"/guides/platform/sessions/session-start/ifood"},{"title":"Generic Channels","href":"/guides/platform/sessions/session-start/generic-channels"}]},{"title":"Phone Number Format","href":"/guides/platform/sessions/phone-number-format"}]}]},{"group":"Plugins","pages":[{"title":"Overview","href":"/guides/plugins/overview"},{"title":"Getting Started","href":"/guides/plugins/getting-started"},{"title":"Architecture","href":"/guides/plugins/architecture"},{"title":"Backend","href":"/guides/plugins/backend"},{"title":"Widget","href":"/guides/plugins/widget"},{"title":"Settings","href":"/guides/plugins/settings"},{"title":"Submitting Your Plugin","href":"/guides/plugins/submitting"},{"group":"Chatbot (Flow Builder)","root":{"title":"Overview","description":null,"href":"/guides/bot-builder/overview"},"pages":[{"title":"Message Processing","href":"/guides/bot-builder/message-processing"},{"title":"Neurons","description":null,"href":"/guides/bot-builder/neurons"},{"title":"Neuron: HTTP","href":"/guides/bot-builder/neuron-http"},{"title":"Neuron: Generic","href":"/guides/bot-builder/neuron-generic"}]},{"group":"Use Cases","root":{"title":"Use Cases","href":"/guides/plugins/use-cases"},"pages":[{"title":"Ice Cream Shop","href":"/guides/plugins/use-cases/ice-cream-shop"},{"title":"AI Capabilities","href":"/guides/plugins/use-cases/ai-capabilities"},{"title":"Conversation Observer","href":"/guides/plugins/use-cases/conversation-observer"}]}]},{"group":"Chat SDKs","pages":[{"title":"Chat SDKs","sidebarTitle":"Overview","href":"/guides/chat-sdks/overview"},{"title":"Get your IDs","href":"/guides/chat-sdks/get-your-ids"},{"title":"Website","href":"/guides/chat-sdks/web"},{"title":"JavaScript API","href":"/guides/chat-sdks/web/javascript-api"},{"title":"React Native","href":"/guides/chat-sdks/react-native"},{"title":"Flutter","href":"/guides/chat-sdks/flutter"},{"title":"Identify users","href":"/guides/chat-sdks/identify-users"},{"title":"Metadata","href":"/guides/chat-sdks/metadata"},{"title":"Events","href":"/guides/chat-sdks/events"},{"title":"Privacy","href":"/guides/chat-sdks/privacy"},{"title":"Troubleshooting","href":"/guides/chat-sdks/troubleshooting"}]},{"group":"Push Notifications","pages":[{"title":"Push notifications","sidebarTitle":"Overview","href":"/guides/push-notifications/overview"},{"title":"Push notifications for mobile apps","sidebarTitle":"Mobile apps (Firebase)","href":"/guides/push-notifications/mobile-apps"},{"title":"Browser notifications","sidebarTitle":"Browser","href":"/guides/push-notifications/browser"},{"title":"Webhook notifications","sidebarTitle":"Webhook","href":"/guides/push-notifications/webhook"}]},{"group":"Updates","pages":[{"title":"Platform changes","href":"/changelog"}]}]},{"tab":"API","pages":[{"title":"API","href":"/references/rtm-api/v1"}]}]},"basePath":"","title":"Message Processing - Talqui Developer Hub","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}