Skip to main content

Create a branded AI chatbot for websites with Flowise multi-agent chatflows

Workflow preview

Workflow preview
100%
Create a branded AI chatbot for websites with Flowise multi-agent chatflows preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow integrates Flowise Multi Agent Chatflows into a custom branded n8n chatbot , enabling real time interaction between users and AI agents powered by large language models (LLMs). Key Ad...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide.

Original n8n.io source

1.1 Workflow description

Title
Create a branded AI chatbot for websites with Flowise multi-agent chatflows
Workflow name
Create a branded AI chatbot for websites with Flowise multi-agent chatflows

This workflow integrates Flowise Multi-Agent Chatflows into a custom-branded n8n chatbot, enabling real-time interaction between users and AI agents powered by large language models (LLMs).


Key Advantages:

βœ… Easy Integration with Flowise:
  • Uses a low-code HTTP node to send user questions to Flowise's API (/api/v1/prediction/FLOWISE_ID) and receive intelligent responses.
  • Supports multi-agent chatflows, allowing for complex, dynamic interactions.
🎨 Customizable Chatbot UI:
  • Includes pre-built JavaScript for embedding the n8n chatbot into any website.
  • Provides customization options such as welcome messages, branding, placeholder text, chat modes (e.g., popup or embedded), and language support.
πŸ” Secure & Configurable:
  • Authorization via Bearer token headers for Flowise API access.
  • Clearly marked notes in the workflow for setting environment variables like FLOWISE_URL and FLOW_ID.

How It Works

  1. Chat Trigger: The workflow starts with the When chat message received node, which acts as a webhook to receive incoming chat messages from users.
  2. HTTP Request to Flowise: The received message is forwarded to the Flowise node, which sends a POST request to a Flowise API endpoint (https://FLOWISEURL/api/v1/prediction/FLOWISE_ID). The request includes the user's input as a JSON payload ({"question": "{{ $json.chatInput }}"}) and uses HTTP header authentication (e.g., Authorization: Bearer FLOWSIE_API).
  3. Response Handling: The response from Flowise is passed to the Edit Fields node, which maps the output ($json.text) for further processing or display.

Set Up Steps

  1. Configure Flowise Integration:

    • Replace FLOWISEURL and FLOWISE_ID in the HTTP Request node with your Flowise instance URL and flow ID.
    • Ensure the Authorization header is set correctly in the credentials (e.g., Bearer FLOWSIE_API).
  2. Embed n8n Chatbot:

    • Use the provided JavaScript snippet in the sticky notes to embed the n8n chatbot on your website. Replace YOUR_PRODUCTION_WEBHOOK_URL with the webhook URL generated by the When chat message received node.
    • Customize the chatbot's appearance and behavior (e.g., welcome messages, language, UI elements) using the createChat configuration options.
  3. Optional Branding:

    • Adjust the sticky note examples to include branding details, such as custom messages, colors, or metadata for the chatbot.
  4. Activate Workflow:

    • Toggle the workflow to "Active" in n8n and test the chat functionality end-to-end.

Ideal Use Cases:

  • Embedding branded AI assistants into websites.
  • Connecting Flowise-powered agents with customer support chatbots.
  • Creating dynamic, smart conversational flows with LLMs via n8n automation.

Need help customizing?

Contact me for consulting and support or add me on Linkedin.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 2 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Flowise

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Create a branded AI chatbot for websites with Flowise multi-agent chatflows
Complexity intermediate
Nodes 7
Categories Support Chatbot, AI Chatbot
Author Davide
Published 04 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4651/4651.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create a branded AI chatbot for websites with Flowise multi-agent chatflows do?

This workflow integrates Flowise Multi Agent Chatflows into a custom branded n8n chatbot , enabling real time interaction between users and AI agents powered by large language models (LLMs). Key Ad...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.