Repository navigation
ja articles langflow drag and drop ai bot
この記事は LangBot Blog から同期されています。 Blog の原文を読む.
公開日:2025-12-05 · 著者:LangBot Team
この記事の日本語版はまだ公開されていないため、英語版を掲載しています。

Drive chatbots across QQ, WeChat, Telegram, Discord, and more using visual workflows - no coding required.
LangBot is an open-source instant messaging bot platform that connects AI workflow engines like Langflow, n8n, Dify, FastGPT, and Coze to platforms including WeChat, QQ, Feishu, DingTalk, Telegram, Discord, Slack, and LINE. This tutorial demonstrates how to use Langflow's visual workflows as LangBot's conversation engine.
- True Multi-Platform: One workflow powering 8+ messaging platforms simultaneously
- Visual Orchestration: Drag-and-drop conversation design with conditional branches, multi-turn dialogs, and external API calls
- Flexible AI Models: Support for OpenAI, Claude, Gemini, DeepSeek, and local models
- Fully Open Source: Both LangBot and Langflow are open-source projects for free deployment and customization
- Python 3.10+
- Docker (recommended for quick deployment)
- OpenAI API Key or API keys for other LLM services
Launch with uvx in one command:
uvx langbotFirst run auto-initializes and opens your browser to http://127.0.0.1:5300.

After registration, log in to access the dashboard:

Deploy quickly with Docker:
docker run -d --name langflow -p 7860:7860 langflowai/langflow:latestVisit http://localhost:7860 to access Langflow:

In Langflow, select the "Basic Prompting" template to get started quickly:

This template includes four basic components:
- Chat Input: Receives user messages
- Prompt: Sets system instructions
- Language Model: Calls LLM to generate responses
- Chat Output: Returns results

Click the Language Model component and configure:
- Model Provider: Select OpenAI (or other compatible providers like SiliconFlow, New API)
- Model Name: Select gpt-4o-mini or deepseek-chat
- OpenAI API Key: Enter your API Key

Tip: You can use OpenAI-compatible API services like SiliconFlow or New API by simply modifying the Base URL.
Save the workflow after configuration.
In Langflow's upper right: Settings → API Keys, navigate to the API Keys page:

Click Create New Key:

Generate and save the API Key:

Format: sk-xxxxxxxxxxxxxxxxxxxxxxxx
Extract from the flow editor's URL:
http://localhost:7860/flow/{flow-id}
Record this flow-id.
Return to LangBot dashboard and go to Pipelines page.
Click ChatPipeline to edit, in the AI tab:

Configure Runner, select Langflow API:

Fill in the Langflow configuration:

Configuration items:
-
Base URL:
http://localhost:7860(local) orhttp://langflow:7860(Docker network) - API Key: The API Key generated in Langflow
- Flow ID: The Flow ID recorded earlier

Docker Tip: If both services run in containers, ensure they're on the same network and use the container name for Base URL.
Click Save to save the configuration.
Click Debug Chat on the Pipelines page to open the debug chat interface:

Enter a test message like "Hello" and view the AI response:

- User sends a message on a messaging platform
- LangBot receives and passes it to the Pipeline
- Pipeline calls Langflow API
- Langflow executes the workflow: receives input → adds prompt → calls LLM → returns result
- LangBot sends the response back to the user
Cannot connect to Langflow?
Check Base URL. For Docker deployment, ensure containers are on the same network:
docker network create langbot_network
docker network connect langbot_network langflow
docker network connect langbot_network langbotUse container name: http://langflow:7860
API call fails?
- Confirm API Key and Flow ID are correct
- Verify the Language Model in Langflow has a valid LLM API Key configured
Langflow's power lies in visually orchestrating complex AI workflows:
- Multi-Turn Memory: Add Memory components for contextual understanding
- Conditional Branches: Execute different logic based on user input
- External API Integration: Connect databases, search engines, third-party services
- Multi-Agent Collaboration: Multiple LLM models working together
- RAG Applications: Integrate vector databases for knowledge base Q&A
All achievable through drag-and-drop without writing code.
With LangBot + Langflow, you can rapidly build powerful multi-platform AI chatbots. Langflow provides visual workflow orchestration, LangBot handles messaging platform integration - together they create a complete loop from workflow design to multi-platform deployment.
This approach is ideal for:
- Scenarios requiring the same AI capabilities across multiple platforms
- Teams wanting rapid iteration and testing of different conversation flows
- Developers wanting to build complex AI applications without deep coding
This article is based on the latest version of LangBot. LangBot supports integration with Dify, n8n, FastGPT, Coze, and other AI platforms - choose the workflow engine that best fits your needs.
Automatically synchronized from langbot-app/langbot-docs.
简体中文
指南
开发者
- 插件开发
- 插件 SDK API
- 核心开发
文章
- 浏览
- 产品动态
- 在线体验
- 技术解析
- 教程与集成
- 公告
API 参考
- Service API
English
Guides
- Quick Start
- Installation
-
Configure Bots
- Bots
- Discord
- Telegram
- Slack
- Mattermost
- LINE
- Web Page Bot
- HTTP Bot
- KOOK
- Feishu
- DingTalk
- WeChat Official Account
- QQ (OneBot v11)
- Satori (QQ & Multi-Platform)
- QQ Official Bot
- WeCom (Enterprise WeChat)
- AI Configuration
- Advanced Operations
- Using Plugins
- Enterprise support
Developers
-
Plugin Development
- Plugin Development Tutorial
- Completing Plugin Configuration Information
- Plugin Directory Structure
- Component Development
- Code Style Guide
- Certified plugins and shared runtime
- Publish Plugin
- Migration Guide
- Plugin SDK API
- Core Development
Articles
- Browse
- Product Updates
- Engineering
-
Tutorials & Integrations
- LangTARS: Open-Source AI Agent for Remote PC Control — Works with Dify, n8n & 10+ Messaging Platforms
- How to Connect DeepSeek R1 to WeChat, Discord & Telegram in 5 Minutes (FREE)
- Deploy Your Own AI Bot to Discord, Telegram & WeChat in 5 Minutes
- Finally Got My Dify Agent Working in Discord, Telegram and Slack
- How I Built a Multi-Platform AI Bot with Langflow's Drag-and-Drop Workflows
- How I Built a Multi-Platform AI Chatbot with n8n and LangBot
- LangBot 4.6.0 External Knowledge Base Tutorial: Integrating Dify with LangBot for RAG-powered Conversations
- Announcements
API Reference
- Service API
Other pages
日本語
ガイド
開発者
- プラグイン開発
- プラグイン SDK API
- コア開発
記事
- 一覧
- 製品アップデート
- エンジニアリング
-
チュートリアルと連携
- LangTARS:Dify・n8n と連携するオープンソース PC 操作 Agent
- DeepSeek R1 を WeChat・Discord・Telegram に5分で接続する方法
- AI Bot を Discord・Telegram・WeChat に5分でデプロイ
- Dify Agent を Discord・Telegram・Slack で動かす
- Langflow のドラッグ&ドロップでマルチプラットフォーム AI Bot を構築
- n8n と LangBot でマルチプラットフォーム AI Chatbot を構築
- LangBot 4.6.0 外部ナレッジベース入門:Dify と連携した RAG 会話
- お知らせ
API リファレンス
- Service API