{"id":2225,"date":"2026-11-24T19:32:57","date_gmt":"2026-11-24T19:32:57","guid":{"rendered":"https:\/\/vectalk.com.br\/blog\/flowise-whatsapp-chatbot\/"},"modified":"2026-11-24T19:33:02","modified_gmt":"2026-11-24T19:33:02","slug":"flowise-whatsapp-chatbot","status":"publish","type":"post","link":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/","title":{"rendered":"Flowise + official WhatsApp Business API: an AI chatbot"},"content":{"rendered":"\n<p><em>Updated on November 24, 2026<\/em><\/p>\n\n\n\n<p>To connect Flowise to WhatsApp through the official API, you put a bridge between the two: it receives Meta&#8217;s webhook, calls the Flowise Prediction API (<code>POST \/api\/v1\/prediction\/{id}<\/code>) with the customer&#8217;s question and one <code>sessionId<\/code> per number, and sends the <code>text<\/code> field of the response through the WhatsApp messages endpoint. Flowise handles the AI flow and the memory; the bridge handles the WhatsApp protocol. With a Flowise API key and the right <code>sessionId<\/code>, every customer gets their own conversation.<\/p>\n\n\n\n<p>This guide covers the Prediction API fields that matter for WhatsApp, how to protect the chatflow, how to separate memory by number, the full bridge code in Node.js, and what to watch out for with audio, latency and Meta&#8217;s rules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Flowise exposes through its API<\/h2>\n\n\n\n<p>Flowise is a visual tool for building chatflows and agentflows with language models, tools and knowledge bases. To integrate it with another system, you use the <a href=\"https:\/\/docs.flowiseai.com\/using-flowise\/prediction\" target=\"_blank\" rel=\"noreferrer noopener\">Prediction API<\/a>. We found no native WhatsApp integration in the indexes of the official Flowise documentation, which is why the webhook bridge is needed.<\/p>\n\n\n\n<p>The endpoint is <code>POST \/api\/v1\/prediction\/{id}<\/code>, where <code>id<\/code> is the flow ID. The body fields, according to the <a href=\"https:\/\/docs.flowiseai.com\/api-reference\/prediction\" target=\"_blank\" rel=\"noreferrer noopener\">API reference<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Field<\/th><th>Use for WhatsApp<\/th><\/tr><\/thead><tbody><tr><td><code>question<\/code><\/td><td>The text the customer sent<\/td><\/tr><tr><td><code>overrideConfig<\/code><\/td><td>Runtime settings; this is where <code>sessionId<\/code> goes<\/td><\/tr><tr><td><code>history<\/code><\/td><td>History you send yourself, with <code>role<\/code> set to <code>userMessage<\/code> or <code>apiMessage<\/code><\/td><\/tr><tr><td><code>uploads<\/code><\/td><td>Images, audio or files, as base64 or URL<\/td><\/tr><tr><td><code>streaming<\/code><\/td><td><code>false<\/code> for WhatsApp, which only sends the finished reply<\/td><\/tr><tr><td><code>form<\/code><\/td><td>Alternative to <code>question<\/code> in Agentflow V2<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The response includes <code>text<\/code> (the model&#8217;s answer), <code>chatId<\/code>, <code>chatMessageId<\/code>, <code>sessionId<\/code> and, depending on the flow, <code>sourceDocuments<\/code> and <code>usedTools<\/code>. For WhatsApp, you use <code>text<\/code>. The documentation examples use <code>http:\/\/localhost:3000<\/code> as the base, the default port of a local install; in production, use the public URL of your instance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Protect the chatflow with an API key<\/h2>\n\n\n\n<p>This deserves attention before any code. The <a href=\"https:\/\/docs.flowiseai.com\/configuration\/authorization\/chatflow-level\" target=\"_blank\" rel=\"noreferrer noopener\">chatflow-level authorization<\/a> page states that flows are public by default: anyone with the chatflow ID can run predictions through the API or the embed.<\/p>\n\n\n\n<p>To lock it down:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Flowise dashboard, open <strong>API Keys<\/strong>. There is a <code>DefaultKey<\/code>, and you can create more.<\/li>\n\n\n<li>Create a key just for the WhatsApp bridge.<\/li>\n\n\n<li>In the chatflow, select that key in the authorization settings.<\/li>\n\n\n<li>In the bridge, send <code>Authorization: Bearer &lt;key&gt;<\/code> on every call.<\/li>\n\n<\/ol>\n\n\n\n<p>Without the key, the API returns <code>401<\/code>. With one key per integration, you can revoke one without breaking the others.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Per-number memory with sessionId<\/h2>\n\n\n\n<p>WhatsApp delivers messages from many customers to the same webhook. If they all go to the same chatflow without separation, one customer &#8220;inherits&#8221; another&#8217;s conversation. The documented fix is <code>sessionId<\/code>.<\/p>\n\n\n\n<p>According to the <a href=\"https:\/\/docs.flowiseai.com\/integrations\/langchain\/memory\" target=\"_blank\" rel=\"noreferrer noopener\">memory<\/a> documentation, every memory node has a <strong>Session ID<\/strong> parameter, and in the Prediction API you separate conversations by sending a unique <code>sessionId<\/code> inside <code>overrideConfig<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-json\">{\n  \"question\": \"Do you deliver to Natal?\",\n  \"overrideConfig\": {\n    \"sessionId\": \"wa:5584999999999\"\n  }\n}<\/code><\/pre>\n\n\n\n<p>The session management section of the Prediction API confirms that each session keeps its own context and memory. Two things to watch:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Override is off by default.<\/strong> The documentation says configuration override is disabled for security and is enabled under <strong>Settings \u2192 Configuration \u2192 Security<\/strong>. If <code>sessionId<\/code> isn&#8217;t separating conversations, check this setting.<\/li>\n\n\n<li><strong>Starting over.<\/strong> To reset the context, for example after a support case is closed, change the <code>sessionId<\/code> (such as <code>wa:5584999999999:2026-11-24<\/code>). The documentation also describes a Message API (<code>GET<\/code> and <code>DELETE \/api\/v1\/chatmessage\/{id}<\/code>, filterable by <code>sessionId<\/code>) to look up or delete the history.<\/li>\n\n<\/ul>\n\n\n\n<p>If you&#8217;d rather keep the history in your own database and leave Flowise stateless, send the latest messages in the <code>history<\/code> field on each call. That gives you more control over what the model sees and makes it easier to delete data when a customer asks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bridge architecture<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Meta (or your provider) sends the webhook to the bridge.<\/li>\n\n\n<li>The bridge validates the source and replies <code>200<\/code> immediately.<\/li>\n\n\n<li>In the background, it ignores statuses and repeated messages, builds the <code>sessionId<\/code> from the number and calls the Prediction API.<\/li>\n\n\n<li>It sends the <code>text<\/code> of the response through the messages endpoint.<\/li>\n\n\n<li>On error or when the customer asks for an agent, it sends a handover message and alerts the team.<\/li>\n\n<\/ol>\n\n\n\n<p>Replying <code>200<\/code> before calling Flowise is mandatory in practice: models with tools and document search can take several seconds, and slow webhooks get resent, which produces duplicate replies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bridge code in Node.js<\/h2>\n\n\n\n<p>Node 18 or later (it uses native <code>fetch<\/code>) and Express. The bridge accepts the webhook straight from Meta (validating <code>X-Hub-Signature-256<\/code>) or forwarded by a provider (validating a key in the URL).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-js\">import express from \"express\";\nimport crypto from \"node:crypto\";\n\nconst {\n  FLOWISE_URL,\n  FLOWISE_FLOW_ID,\n  FLOWISE_API_KEY,\n  WA_SEND_URL,\n  WA_TOKEN,\n  VERIFY_TOKEN,\n  META_APP_SECRET,\n  WEBHOOK_KEY,\n} = process.env;\n\nconst app = express();\napp.use(express.json({ verify: (req, _res, buf) =&gt; { req.rawBody = buf; } }));\nconst processed = new Set(); \/\/ use Redis with expiration in production\n\napp.get(\"\/webhook\", (req, res) =&gt; {\n  if (req.query[\"hub.mode\"] === \"subscribe\" &amp;&amp; req.query[\"hub.verify_token\"] === VERIFY_TOKEN) {\n    return res.type(\"text\/plain\").send(req.query[\"hub.challenge\"]);\n  }\n  res.sendStatus(403);\n});\n\nfunction isValidSource(req) {\n  if (META_APP_SECRET) {\n    const expected = Buffer.from(\n      \"sha256=\" + crypto.createHmac(\"sha256\", META_APP_SECRET).update(req.rawBody).digest(\"hex\")\n    );\n    const received = Buffer.from(req.get(\"x-hub-signature-256\") || \"\");\n    return expected.length === received.length &amp;&amp; crypto.timingSafeEqual(expected, received);\n  }\n  return Boolean(WEBHOOK_KEY) &amp;&amp; req.query.key === WEBHOOK_KEY;\n}\n\napp.post(\"\/webhook\", (req, res) =&gt; {\n  if (!isValidSource(req)) return res.sendStatus(401);\n  res.sendStatus(200);\n\n  const messages = (req.body.entry || [])\n    .flatMap((entry) =&gt; entry.changes || [])\n    .flatMap((change) =&gt; (change.value &amp;&amp; change.value.messages) || []);\n\n  for (const msg of messages) {\n    if (processed.has(msg.id)) continue;\n    processed.add(msg.id);\n    if (msg.type === \"text\") {\n      reply(msg.from, msg.text.body).catch((error) =&gt; console.error(error));\n    }\n  }\n});\n\nasync function askFlowise(waId, text) {\n  const response = await fetch(`${FLOWISE_URL}\/api\/v1\/prediction\/${FLOWISE_FLOW_ID}`, {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application\/json\",\n      Authorization: `Bearer ${FLOWISE_API_KEY}`,\n    },\n    body: JSON.stringify({\n      question: text,\n      streaming: false,\n      overrideConfig: { sessionId: `wa:${waId}` },\n    }),\n    signal: AbortSignal.timeout(60000),\n  });\n  if (!response.ok) throw new Error(`Flowise returned ${response.status}`);\n  const data = await response.json();\n  return data.text;\n}\n\nasync function sendWhatsApp(waId, text) {\n  await fetch(WA_SEND_URL, {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application\/json\", Authorization: `Bearer ${WA_TOKEN}` },\n    body: JSON.stringify({\n      messaging_product: \"whatsapp\",\n      to: waId,\n      type: \"text\",\n      text: { body: text.slice(0, 4096) },\n    }),\n  });\n}\n\nasync function reply(waId, text) {\n  let answer;\n  try {\n    answer = await askFlowise(waId, text);\n  } catch (error) {\n    console.error(error);\n    answer = \"I ran into a problem answering right now. Someone from our team will take it from here.\";\n  }\n  await sendWhatsApp(waId, answer);\n}\n\napp.listen(8080);<\/code><\/pre>\n\n\n\n<p>The variables in each scenario:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Variable<\/th><th>Direct Cloud API<\/th><th>Through Vectalk<\/th><\/tr><\/thead><tbody><tr><td><code>WA_SEND_URL<\/code><\/td><td><code>https:\/\/graph.facebook.com\/v27.0\/&lt;PHONE_NUMBER_ID&gt;\/messages<\/code><\/td><td><code>https:\/\/apis.vectalk.com.br\/api\/messages<\/code><\/td><\/tr><tr><td><code>WA_TOKEN<\/code><\/td><td>System user token<\/td><td>Vectalk instance token<\/td><\/tr><tr><td>Validation<\/td><td><code>META_APP_SECRET<\/code><\/td><td><code>WEBHOOK_KEY<\/code> in the registered URL<\/td><\/tr><tr><td><code>FLOWISE_URL<\/code><\/td><td>Public URL of your Flowise instance<\/td><td>Same<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The bridge runs on port 8080 so it doesn&#8217;t clash with Flowise&#8217;s default port. A Node bot without AI, built from scratch, is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-bot-nodejs-express\/\">WhatsApp bot with Node.js<\/a>, and event deduplication is covered in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-duplicate-events-idempotency\/\">duplicate WhatsApp webhooks<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Audio, images and documents<\/h2>\n\n\n\n<p>The Prediction API accepts the <code>uploads<\/code> field. For audio, the documentation lists the types <code>audio\/mp4<\/code>, <code>audio\/webm<\/code>, <code>audio\/wav<\/code> and <code>audio\/mpeg<\/code>, with the content as base64 or a URL. According to the <a href=\"https:\/\/docs.flowiseai.com\/using-flowise\/uploads\" target=\"_blank\" rel=\"noreferrer noopener\">uploads<\/a> page, transcription depends on a speech-to-text module chosen in the chatflow configuration (OpenAI, AssemblyAI or LocalAI). WhatsApp voice notes arrive as OGG with Opus, which isn&#8217;t on that list. Convert them to one of the accepted formats before sending, or transcribe outside Flowise and send the text in <code>question<\/code>. Downloading the media by its webhook ID is covered in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/transcribe-whatsapp-voice-messages-api\/\">transcribing WhatsApp voice messages<\/a>.<\/p>\n\n\n\n<p>For images, the same <code>uploads<\/code> field works when the model supports images and the <strong>Allow Image Upload<\/strong> option is on; the documentation warns that image processing only works with certain chains and agents. For PDFs the customer sends, consider whether it makes sense to pass the file to the model or just forward it to an agent.<\/p>\n\n\n\n<p>If you also want the bot to reply with voice, the STT, model and TTS flow is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/ai-voice-replies-whatsapp\/\">AI that replies with audio on WhatsApp<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Knowledge base and tools<\/h2>\n\n\n\n<p>Flowise&#8217;s strength is building, visually, everything between the question and the answer: a retriever over the company&#8217;s documents, tools that look up an order or a calendar, and rules in the prompt. For WhatsApp, three design decisions matter more than the model you pick:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Narrow scope.<\/strong> The prompt should say what the bot does and tell it to decline everything else. That improves service and keeps the bot within Meta&#8217;s policy.<\/li>\n\n\n<li><strong>Citable source.<\/strong> With a knowledge base, ask the model to answer only from what is in the documents and to say &#8220;I don&#8217;t know&#8221; when it can&#8217;t find it. The full design is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-rag-chatbot-knowledge-base\/\">WhatsApp chatbot with a knowledge base (RAG)<\/a>.<\/li>\n\n\n<li><strong>Actions with confirmation.<\/strong> Tools that change data (cancelling an order, rescheduling) should ask the customer for explicit confirmation before running.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Meta&#8217;s rules and costs<\/h2>\n\n\n\n<p><strong>24-hour window.<\/strong> Free-form replies are only allowed inside the customer service window, which opens with every customer message. To get back in touch later, you need an approved template.<\/p>\n\n\n\n<p><strong>AI Providers policy.<\/strong> Since January 15, 2026, section 4.7 of the <a href=\"https:\/\/www.facebook.com\/legal\/Meta-Terms-for-WhatsApp-Business-Platform\" target=\"_blank\" rel=\"noreferrer noopener\">Meta Terms for WhatsApp Business Platform<\/a> prohibits AI Providers from using the platform when a general-purpose AI assistant is the primary functionality. A bot that serves the company&#8217;s own customers is still allowed. The same section prohibits using platform data to create, train or improve AI models. Details in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-api-ai-policy-2026\/\">Meta&#8217;s AI policy in 2026<\/a>. This is not legal advice; consult a lawyer.<\/p>\n\n\n\n<p><strong>Human agent.<\/strong> Define clear triggers (the customer asks, a complaint, a sensitive topic) and what the bridge does in each case. The pattern is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-chatbot-human-handoff\/\">from bot to human on WhatsApp<\/a>.<\/p>\n\n\n\n<p><strong>Cost per message.<\/strong> Replies inside the window are service messages: since October 1, 2026, each number gets 1,000 free per month and pays from the 1,001st on (BRL 0.0350 per message to Brazilian numbers). The cost of the model configured in Flowise is separate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to do it with Vectalk<\/h2>\n\n\n\n<p>Vectalk is a proxy for Meta&#8217;s official WhatsApp Cloud API. It has no native AI in the panel: the AI is your Flowise chatflow, and Vectalk takes care of the number and delivery.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect the number in the panel under <strong>Inst\u00e2ncias \u2192 Conectar conta<\/strong> (Instances \u2192 Connect account), via Embedded Signup, without creating an app on Meta.<\/li>\n\n\n<li>Create an instance token under <strong>Configura\u00e7\u00f5es \u2192 API Tokens<\/strong> (Settings \u2192 API Tokens) and use it as <code>WA_TOKEN<\/code>.<\/li>\n\n\n<li>Register the bridge with <code>POST https:\/\/apis.vectalk.com.br\/api\/webhooks<\/code> (<code>instance_id<\/code>, <code>url<\/code>, <code>name<\/code>), with <code>?key=<\/code> at the end of the URL. According to the <a href=\"https:\/\/docs.vectalk.com.br\/concepts\/webhooks\">webhooks documentation<\/a>, the forwarded payload is the same as Meta&#8217;s and the <code>200<\/code> response must go out within 20 seconds, which the bridge already does before calling Flowise.<\/li>\n\n\n<li>Send replies with <code>POST https:\/\/apis.vectalk.com.br\/api\/messages<\/code>, using the Cloud API body, as described in <a href=\"https:\/\/docs.vectalk.com.br\/api-reference\/messages\/send-text\">Send text<\/a>.<\/li>\n\n<\/ol>\n\n\n\n<p>Each delivered message is deducted from your prepaid balance, with no card registered with Meta. Create your account at <a href=\"https:\/\/apps.vectalk.com.br\/register\">apps.vectalk.com.br\/register<\/a>. For the big picture, see the guide to the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/official-whatsapp-api\/\">official WhatsApp Business API<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Does Flowise have a WhatsApp node?<\/h3>\n\n\n\n<p>We found no native integration with the WhatsApp Cloud API in the indexes of the official Flowise documentation. The integration goes through the Prediction API, with a bridge that receives the WhatsApp webhook.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does the bot mix up conversations from different customers?<\/h3>\n\n\n\n<p>There&#8217;s no <code>sessionId<\/code> per number, or configuration override is disabled. Send <code>overrideConfig.sessionId<\/code> with the customer&#8217;s number and check <strong>Settings \u2192 Configuration \u2192 Security<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use streaming?<\/h3>\n\n\n\n<p>WhatsApp sends the finished message, so <code>streaming: false<\/code> is the simplest option. If the flow is slow, mark the message as read and show the typing indicator while you wait.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Flowise or Dify?<\/h3>\n\n\n\n<p>Both expose the AI through an API and use the same bridge architecture. The difference is in how you build the flow and in the API: Dify uses <code>conversation_id<\/code> and <code>user<\/code>, Flowise uses <code>sessionId<\/code>. The step-by-step for the other one is in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/dify-whatsapp-business-api\/\">Dify + official WhatsApp API<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I run Flowise and the bridge on the same server?<\/h3>\n\n\n\n<p>Yes, on different ports and with public HTTPS only on the bridge. Flowise can stay reachable only on the internal network, which reduces the chatflow&#8217;s exposure.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Official sources consulted on November 24, 2026:<\/strong> <a href=\"https:\/\/docs.flowiseai.com\/using-flowise\/prediction\" target=\"_blank\" rel=\"noreferrer noopener\">Prediction (Flowise)<\/a>; <a href=\"https:\/\/docs.flowiseai.com\/api-reference\/prediction\" target=\"_blank\" rel=\"noreferrer noopener\">Prediction API reference (Flowise)<\/a>; <a href=\"https:\/\/docs.flowiseai.com\/configuration\/authorization\/chatflow-level\" target=\"_blank\" rel=\"noreferrer noopener\">Chatflow-level authorization (Flowise)<\/a>; <a href=\"https:\/\/docs.flowiseai.com\/integrations\/langchain\/memory\" target=\"_blank\" rel=\"noreferrer noopener\">Memory (Flowise)<\/a>; <a href=\"https:\/\/docs.flowiseai.com\/using-flowise\/uploads\" target=\"_blank\" rel=\"noreferrer noopener\">Uploads (Flowise)<\/a>; <a href=\"https:\/\/www.facebook.com\/legal\/Meta-Terms-for-WhatsApp-Business-Platform\" target=\"_blank\" rel=\"noreferrer noopener\">Meta Terms for WhatsApp Business Platform, section 4.7<\/a>; <a href=\"https:\/\/docs.vectalk.com.br\/concepts\/webhooks\">Webhooks in the Vectalk documentation<\/a>; <a href=\"https:\/\/docs.vectalk.com.br\/api-reference\/messages\/send-text\">Send text in the Vectalk documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to connect a Flowise chatflow to official WhatsApp: Prediction API, one sessionId per number, API key protection and a Node.js webhook bridge.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-2225","post","type-post","status-publish","format-standard","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flowise + WhatsApp Business API: AI Chatbot | Vectalk<\/title>\n<meta name=\"description\" content=\"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flowise + WhatsApp Business API: AI Chatbot | Vectalk\" \/>\n<meta property=\"og:description\" content=\"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Vectalk\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-24T19:32:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-24T19:33:02+00:00\" \/>\n<meta name=\"author\" content=\"wanderleyfcunha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wanderleyfcunha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/\"},\"author\":{\"name\":\"wanderleyfcunha\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"headline\":\"Flowise + official WhatsApp Business API: an AI chatbot\",\"datePublished\":\"2026-11-24T19:32:57+00:00\",\"dateModified\":\"2026-11-24T19:33:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/\"},\"wordCount\":1659,\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/\",\"name\":\"Flowise + WhatsApp Business API: AI Chatbot | Vectalk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-24T19:32:57+00:00\",\"dateModified\":\"2026-11-24T19:33:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"description\":\"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/flowise-whatsapp-chatbot\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flowise + official WhatsApp Business API: an AI chatbot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\",\"name\":\"Blog Vectalk\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\",\"name\":\"wanderleyfcunha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"caption\":\"wanderleyfcunha\"},\"sameAs\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flowise + WhatsApp Business API: AI Chatbot | Vectalk","description":"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/","og_locale":"en_US","og_type":"article","og_title":"Flowise + WhatsApp Business API: AI Chatbot | Vectalk","og_description":"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.","og_url":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/","og_site_name":"Blog Vectalk","article_published_time":"2026-11-24T19:32:57+00:00","article_modified_time":"2026-11-24T19:33:02+00:00","author":"wanderleyfcunha","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wanderleyfcunha","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/#article","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/"},"author":{"name":"wanderleyfcunha","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"headline":"Flowise + official WhatsApp Business API: an AI chatbot","datePublished":"2026-11-24T19:32:57+00:00","dateModified":"2026-11-24T19:33:02+00:00","mainEntityOfPage":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/"},"wordCount":1659,"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/","url":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/","name":"Flowise + WhatsApp Business API: AI Chatbot | Vectalk","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/#website"},"datePublished":"2026-11-24T19:32:57+00:00","dateModified":"2026-11-24T19:33:02+00:00","author":{"@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"description":"Flowise WhatsApp on the official API: Prediction API, per-number memory with sessionId, API key protection and a Node.js webhook bridge, full code.","breadcrumb":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vectalk.com.br\/blog\/en\/flowise-whatsapp-chatbot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vectalk.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Flowise + official WhatsApp Business API: an AI chatbot"}]},{"@type":"WebSite","@id":"https:\/\/vectalk.com.br\/blog\/#website","url":"https:\/\/vectalk.com.br\/blog\/","name":"Blog Vectalk","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vectalk.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b","name":"wanderleyfcunha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","caption":"wanderleyfcunha"},"sameAs":["https:\/\/vectalk.com.br\/blog"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/2225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/comments?post=2225"}],"version-history":[{"count":1,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/2225\/revisions"}],"predecessor-version":[{"id":2228,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/2225\/revisions\/2228"}],"wp:attachment":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/media?parent=2225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/categories?post=2225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/tags?post=2225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}