n8n チャットボットに Langflow フローをインポートし、ブランディングカスタマイズを行う
中級
これはEngineering, AI分野の自動化ワークフローで、7個のノードを含みます。主にSet, HttpRequest, ChatTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 Langflow バックエンドとカスタムブランディングを使用して AI 駆動のウェブサイトチャットボットを作成
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
使用ノード (7)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "jChHsZ0OR79bITzc",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Import Langflow Flow in n8n Chatbot and Branded it",
"tags": [],
"nodes": [
{
"id": "5d3d611f-72e9-43b4-98ee-d4e10cd7591d",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-720,
0
],
"webhookId": "560cad1a-7d5c-43ae-818e-1ff432e4cae4",
"parameters": {
"mode": "webhook",
"public": true,
"options": {
"allowedOrigins": "*"
}
},
"typeVersion": 1.1
},
{
"id": "9bc309e9-0878-4140-8a2c-fadb51e3dd65",
"name": "フィールド編集",
"type": "n8n-nodes-base.set",
"position": [
-280,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "6a50a699-9598-452a-bc38-a87e2be9084c",
"name": "output",
"type": "string",
"value": "={{ $json.outputs[0].outputs[0].results.message.data.text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "fe301be1-4845-4e76-aee8-27c61bf894e1",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
-340
],
"parameters": {
"color": 6,
"width": 720,
"height": 220,
"content": "### Enable n8n CDN on your website\n<link href=\"https://cdn.jsdelivr.net/npm/@n8n/chat/dist/style.css\" rel=\"stylesheet\" />\n<script type=\"module\">\n\timport { createChat } from 'https://cdn.jsdelivr.net/npm/@n8n/chat/dist/chat.bundle.es.js';\n\n\tcreateChat({\n\t\twebhookUrl: 'YOUR_PRODUCTION_WEBHOOK_URL'\n\t});\n</script>"
},
"typeVersion": 1
},
{
"id": "ca73efeb-bdbd-4824-9b3f-b6222d1db010",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
-960
],
"parameters": {
"color": 3,
"width": 720,
"height": 600,
"content": "## Langflow\n\nLangflow is a low-code, visual development platform designed to help users build and deploy AI applications with minimal coding. It provides an intuitive drag-and-drop interface, allowing users to create complex AI workflows by connecting reusable components. Langflow supports integration with various APIs, language models, and databases, making it versatile for tasks such as chatbots, document Q&A systems, and content generation. Its Python-based architecture ensures compatibility with popular AI frameworks and tools, facilitating rapid prototyping and deployment of AI solutions.\n\n### Basic Langflow Flow:\n"
},
"typeVersion": 1
},
{
"id": "edd68237-94c1-4b21-ac10-fac5512dc7e0",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-960
],
"parameters": {
"color": 6,
"width": 800,
"height": 840,
"content": "### Customize n8n Chatbot\n\n```js\ncreateChat({\n\twebhookUrl: '',\n\twebhookConfig: {\n\t\tmethod: 'POST',\n\t\theaders: {}\n\t},\n\ttarget: '#n8n-chat',\n\tmode: 'window',\n\tchatInputKey: 'chatInput',\n\tchatSessionKey: 'sessionId',\n\tmetadata: {},\n\tshowWelcomeScreen: false,\n\tdefaultLanguage: 'en',\n\tinitialMessages: [\n\t\t'Hi there! 👋',\n\t\t'My name is Nathan. How can I assist you today?'\n\t],\n\ti18n: {\n\t\ten: {\n\t\t\ttitle: 'Hi there! 👋',\n\t\t\tsubtitle: \"Start a chat. We're here to help you 24/7.\",\n\t\t\tfooter: '',\n\t\t\tgetStarted: 'New Conversation',\n\t\t\tinputPlaceholder: 'Type your question..',\n\t\t},\n\t},\n});\n```"
},
"typeVersion": 1
},
{
"id": "0fb9d211-07fd-4309-b91c-aa21e877a915",
"name": "Langflow",
"type": "n8n-nodes-base.httpRequest",
"position": [
-500,
0
],
"parameters": {
"url": "https://LANGFLOW_URL/api/v1/run/FLOW_ID?stream=false",
"method": "POST",
"options": {},
"jsonBody": "={\n \"input_value\": \"{{ $json.chatInput }}\",\n \"output_type\": \"chat\",\n \"input_type\": \"chat\"\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "u4ZE9bSDfxZX3Ljj",
"name": "Langflow API"
}
},
"typeVersion": 4.2
},
{
"id": "705ecc2a-b0af-4165-8ef3-c693e82cd1ce",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-560,
-60
],
"parameters": {
"height": 220,
"content": "Set LANGFLOW_URL and FLOW_ID"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6fe12868-d03f-4c86-a472-3b5ce254d4ef",
"connections": {
"0fb9d211-07fd-4309-b91c-aa21e877a915": {
"main": [
[
{
"node": "9bc309e9-0878-4140-8a2c-fadb51e3dd65",
"type": "main",
"index": 0
}
]
]
},
"5d3d611f-72e9-43b4-98ee-d4e10cd7591d": {
"main": [
[
{
"node": "0fb9d211-07fd-4309-b91c-aa21e877a915",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
n8nのチャットボットにFlowiseのマルチエージェントチャットフローをインポートして、ブランディングカスタマイズを行う
ウェブサイト用のブランドドのAIチャットボットをFlowiseのマルチエージェントチャットフローで作成
Set
Http Request
Chat Trigger
+
Set
Http Request
Chat Trigger
7 ノードDavide
エンジニアリング
Mistral OCR を基にした完全な RAG パイソンデモ(PDF から始める)
Mistral OCR、Qdrant、Gemini AIを組み合わせてPDFドキュメントRAGシステムを構築
Set
Code
Wait
+
Set
Code
Wait
34 ノードDavide
人工知能
Qdrantを使った完全なRAGシステム、自動出典引用付き
Qdrant、Gemini、OpenAIを使った自動引用機能付きRAGシステムの構築
Set
Code
Wait
+
Set
Code
Wait
29 ノードDavide
人工知能
RAG内でドキュメントのアップデート機能を有効化
Google Drive、Qdrant、Gemini Chatを使ってRAGシステムを構築し、継続のに更新
Set
Wait
Google Drive
+
Set
Wait
Google Drive
29 ノードDavide
人工知能
エージェント AI Anthropic Opus4 および Sonnet4
Anthropic AIエージェント:Claude Sonnet 4 と Opus 4、思考機能と web 検索ツール付き
Agent
Http Request Tool
Tool Think
+
Agent
Http Request Tool
Tool Think
11 ノードDavide
エンジニアリング
OpenRouterを使用した自動AIルーティング
OpenRouterを活用した動のAIモデルルーティングによるクエリ最適化
Agent
Chat Trigger
Lm Chat Open Router
+
Agent
Chat Trigger
Lm Chat Open Router
7 ノードDavide
エンジニアリング
ワークフロー情報
難易度
中級
ノード数7
カテゴリー2
ノードタイプ4
作成者
Davide
@n3witaliaFull-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza
外部リンク
n8n.ioで表示 →
このワークフローを共有