Triggers the workflow on receiving a message on the published phone number.
The Message Received node is a trigger that provides complete information about message, contact and conversation associated with it.
Output Schema
The output schema defines the properties that will be available to the next nodes.
object
Information about the message received
Show properties
string
Unique message identifier
string | null
Unique message identifier
string
Type of the message
string
Role of the message sender
string | null
Content of the message
string | null
WhatsApp Id of the sender of the messageIn most cases will be the user’s phone number.
string | null
WhatsApp Id of the recipient of the messageIn most cases will be the WhatsApp Business Phone Number Id of the number that received the message.
object
Contact information of the sender
Show properties
string
Unique contact identifier
string
Contact WhatsApp Id
string | null | undefined
First name of the contact
string | null | undefined
Last name of the contact
string | null | undefined
Contact’s email address
object
Information about the conversation
Show properties
string
Unique conversation identifier
boolean | undefined
Flag that indicates if the message received is the first message from the user.Will be undefined if it fails to determine.Note: even if there are assistant messages before the first user message, this flag will still be true on the first user message.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cogfy","colors":{"primary":"#42B62B","light":"#369B22","dark":"#3CDD5C"},"logo":{"light":"https://mintcdn.com/indigohive/WRn8RYO_OCmpIReG/logo/Dark.svg?fit=max\u0026auto=format\u0026n=WRn8RYO_OCmpIReG\u0026q=85\u0026s=73ab87435221e7084f4edf0f34969106","dark":"https://mintcdn.com/indigohive/WRn8RYO_OCmpIReG/logo/Light.svg?fit=max\u0026auto=format\u0026n=WRn8RYO_OCmpIReG\u0026q=85\u0026s=31bc6e1ff298c9a6b2e1aca41c7d03fc"},"favicon":"https://mintcdn.com/indigohive/t2LAt4xytViN4e3a/favicon.ico?fit=max\u0026auto=format\u0026n=t2LAt4xytViN4e3a\u0026q=85\u0026s=64e8e9b0f212f2391188f16ab11ea41c","navbar":{},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Cogfy","icon":"link","href":"https://messenger.cogfy.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"indigohive","hasAudioNarration":false,"actualSubdomain":"indigohive","customDomains":["docs.cogfy.com"],"gitSource":{"type":"github","owner":"indigohive","repo":"cogfy-messenger-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4819c2a7230ffd7ad0ad0","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API reference","count":44},{"language":"default","tag":"Messages","count":19},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Workflows","count":7},{"language":"default","tag":"Broadcasts","count":7},{"language":"default","tag":"Fundamentals","count":6},{"language":"default","tag":"Contacts","count":6},{"language":"default","tag":"Nodes","count":5},{"language":"default","tag":"Tags","count":5},{"language":"default","tag":"Getting started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":[]}
{"page":{"pagePath":"guide/workflows/nodes/triggers/message-received-node","slug":"/guide/workflows/nodes/triggers/message-received-node","pageMetadata":{"title":"Message Received","description":"Triggers the workflow on receiving a message on the published phone number.","icon":"zap","href":"/guide/workflows/nodes/triggers/message-received-node"},"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: \"Triggers the workflow on receiving a message on the published phone number.\"\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`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Message Received node is a trigger that provides complete information about message, contact and conversation associated with it.`}),`\n`,_jsx(Heading,{level:`2`,id:`output-schema`,children:`Output Schema`}),`\n`,_jsx(_components.p,{children:`The output schema defines the properties that will be available to the next nodes.`}),`\n`,_jsxs(ResponseField,{name:`message`,type:`object`,id:`param-message`,children:[_jsx(_components.p,{children:`Information about the message received`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique message identifier`})}),_jsx(ResponseField,{name:`whatsAppMessageId`,type:`string | null`,id:`param-whats-app-message-id`,children:_jsx(_components.p,{children:`Unique message identifier`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`Type of the message`})}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:_jsx(_components.p,{children:`Role of the message sender`})}),_jsx(ResponseField,{name:`content`,type:`string | null`,id:`param-content`,children:_jsx(_components.p,{children:`Content of the message`})}),_jsxs(ResponseField,{name:`from`,type:`string | null`,id:`param-from`,children:[_jsx(_components.p,{children:`WhatsApp Id of the sender of the message`}),_jsx(_components.p,{children:`In most cases will be the user’s phone number.`})]}),_jsxs(ResponseField,{name:`to`,type:`string | null`,id:`param-to`,children:[_jsx(_components.p,{children:`WhatsApp Id of the recipient of the message`}),_jsx(_components.p,{children:`In most cases will be the WhatsApp Business Phone Number Id of the number that received the message.`})]})]})]}),`\n`,_jsxs(ResponseField,{name:`contact`,type:`object`,id:`param-contact`,children:[_jsx(_components.p,{children:`Contact information of the sender`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique contact identifier`})}),_jsx(ResponseField,{name:`waId`,type:`string`,id:`param-wa-id`,children:_jsx(_components.p,{children:`Contact WhatsApp Id`})}),_jsx(ResponseField,{name:`firstName`,type:`string | null | undefined`,id:`param-first-name`,children:_jsx(_components.p,{children:`First name of the contact`})}),_jsx(ResponseField,{name:`lastName`,type:`string | null | undefined`,id:`param-last-name`,children:_jsx(_components.p,{children:`Last name of the contact`})}),_jsx(ResponseField,{name:`email`,type:`string | null | undefined`,id:`param-email`,children:_jsx(_components.p,{children:`Contact’s email address`})})]})]}),`\n`,_jsxs(ResponseField,{name:`conversation`,type:`object`,id:`param-conversation`,children:[_jsx(_components.p,{children:`Information about the conversation`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Unique conversation identifier`})}),_jsxs(ResponseField,{name:`isFirstMessageFromContact`,type:`boolean | undefined`,id:`param-is-first-message-from-contact`,children:[_jsxs(_components.p,{children:[`Flag that indicates if the message received is the first message `,_jsx(_components.strong,{children:`from the user`}),`.`]}),_jsx(_components.p,{children:`Will be undefined if it fails to determine.`}),_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Note`}),`: even if there are assistant messages before the first user message, this flag will still be `,_jsx(_components.code,{children:`true`}),` on the first user message.`]})]})]})]})]})}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 Received","description":"Triggers the workflow on receiving a message on the published phone number.","icon":"zap","href":"/guide/workflows/nodes/triggers/message-received-node"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Output Schema","slug":"output-schema","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"indigohive","siteName":"Cogfy","title":"Message Received - Cogfy","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-30T12:15:38.580Z","originalFileLocation":"guide/workflows/nodes/triggers/message-received-node.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Triggers the workflow on receiving a message on the published phone number.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cogfy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_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/indigohive/VjCpkz9wehD0rtTH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Message Received - Cogfy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Triggers the workflow on receiving a message on the published phone number.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cogfy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://indigohive.mintlify.site/_mintlify/api/og/v2?division=Triggers\u0026amp;title=Message+Received\u0026amp;description=Triggers+the+workflow+on+receiving+a+message+on+the+published+phone+number.\u0026amp;theme=729f3d04890cec5d52631e88\u0026amp;signature=184c98644c507127c11dcf6544ed0316431775acd0a895c81c7c49bcaa73f561\">\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 Received - Cogfy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Triggers the workflow on receiving a message on the published phone number.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://indigohive.mintlify.site/_mintlify/api/og/v2?division=Triggers\u0026amp;title=Message+Received\u0026amp;description=Triggers+the+workflow+on+receiving+a+message+on+the+published+phone+number.\u0026amp;theme=729f3d04890cec5d52631e88\u0026amp;signature=184c98644c507127c11dcf6544ed0316431775acd0a895c81c7c49bcaa73f561\">\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/indigohive/VjCpkz9wehD0rtTH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cogfy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#42B62B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guide/workflows/nodes/triggers/message-received-node.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cogfy.com/#organization\",\"name\":\"Cogfy\",\"url\":\"https://docs.cogfy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/indigohive/WRn8RYO_OCmpIReG/logo/Dark.svg?fit=max\u0026auto=format\u0026n=WRn8RYO_OCmpIReG\u0026q=85\u0026s=73ab87435221e7084f4edf0f34969106\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cogfy.com#website\",\"name\":\"Cogfy\",\"url\":\"https://docs.cogfy.com\",\"publisher\":{\"@id\":\"https://docs.cogfy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node#webpage\",\"url\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node\",\"name\":\"Message Received\",\"description\":\"Triggers the workflow on receiving a message on the published phone number.\",\"dateModified\":\"2026-04-30T12:15:38.580Z\",\"isPartOf\":{\"@id\":\"https://docs.cogfy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows\",\"item\":\"https://docs.cogfy.com/guide/workflows/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Message Received\",\"item\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node#article\",\"headline\":\"Message Received\",\"name\":\"Message Received\",\"description\":\"Triggers the workflow on receiving a message on the published phone number.\",\"url\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node#webpage\"},\"dateModified\":\"2026-04-30T12:15:38.580Z\",\"publisher\":{\"@id\":\"https://docs.cogfy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cogfy.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cogfy\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cogfy\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guide/workflows/nodes/triggers/message-received-node.md","siteName":"Cogfy","nav":{"global":{"anchors":[{"anchor":"Cogfy","icon":"link","href":"https://messenger.cogfy.com"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Fundamentals","pages":[{"title":"Overview","href":"/guide/fundamentals/overview"},{"title":"Members","href":"/guide/fundamentals/members"},{"title":"Tags","href":"/guide/fundamentals/tags"},{"title":"API Keys","href":"/guide/fundamentals/api-keys"},{"title":"Contacts","href":"/guide/fundamentals/contacts"},{"title":"Analytics","href":"/guide/fundamentals/analytics"}]},{"group":"Phone numbers","pages":[{"title":"Connect Phone Number","href":"/guide/phone-numbers/connect-phone-number"},{"title":"Phone number conversations","href":"/guide/phone-numbers/phone-number-conversations"},{"title":"WhatsApp phone number profile settings","href":"/guide/phone-numbers/whatsapp-phone-profile-settings"}]},{"group":"Workflows","pages":[{"title":"Overview","href":"/guide/workflows/overview"},{"title":"Create Your First Workflow","description":"In this tutorial you will quickly learn how to create a new workflow and publish it in a phone number.","href":"/guide/workflows/tutorial-first-workflow"},{"group":"Nodes","expanded":true,"pages":[{"group":"Triggers","pages":[{"title":"Message Received","icon":"zap","href":"/guide/workflows/nodes/triggers/message-received-node"}]},{"group":"Core","pages":[{"title":"JavaScript Code","icon":"code","description":"Execute arbitrary Javascript code","href":"/guide/workflows/nodes/core/java-script-code-node"},{"group":"Assistant","pages":[{"title":"OpenAI Assistant","icon":"bot","href":"/guide/workflows/nodes/core/assistant/openai-assistant-node"}]},{"group":"Send Message","pages":[{"title":"WhatsApp Text Message","icon":"message-square-text","href":"/guide/workflows/nodes/core/send-message/send-whatsapp-text-message"}]}]},{"group":"Logic","pages":[{"title":"If Node","icon":"git-branch","href":"/guide/workflows/nodes/logic/if-node"}]}]}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Message Received - Cogfy","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}