AI チャットアシスタント:Dumpling AI + GPT-4o によるローカル企業データの Airtable への自動保存
中級
これはSales, AI, Marketing分野の自動化ワークフローで、8個のノードを含みます。主にAirtableTool, Agent, ChatTrigger, LmChatOpenAi, ToolHttpRequestなどのノードを使用、AI技術を活用したスマート自動化を実現。 AIチャットアシスタント:Dumpling AI + GPT-4oによるローカルビジネスデータのAirtableへの自動保存
前提条件
- •Airtable API Key
- •OpenAI API Key
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "MyJ84ASqWdHGYuy0",
"meta": {
"instanceId": "a1ae5c8dc6c65e674f9c3947d083abcc749ef2546dff9f4ff01de4d6a36ebfe6",
"templateCredsSetupCompleted": true
},
"name": "AI Chat Agent: Dumpling AI + GPT-4o to Auto-Save Local Business Data to Airtable",
"tags": [
{
"id": "TlcNkmb96fUfZ2eA",
"name": "Tutorials",
"createdAt": "2025-04-15T17:02:00.249Z",
"updatedAt": "2025-04-15T17:02:00.249Z"
}
],
"nodes": [
{
"id": "1617006d-20d8-44da-8410-1fbbd6bc317e",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-480,
-40
],
"webhookId": "13e55a07-d144-403b-b465-2a539501b207",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "ccb3073d-4c39-44bf-bd7f-05a6ae0550cb",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1200,
-220
],
"parameters": {
"width": 660,
"height": 900,
"content": "#### 🧠 Workflow Purpose\nAn interactive chat assistant that listens for incoming messages, processes them with AI, and uses Dumpling AI to fetch external information or complete tasks — with memory tracking.\n\n## 🔄 Workflow Steps\n\n### 1. Chat Trigger\n- Listens for chat messages (e.g., from a web app or messaging platform).\n\n### 2. OpenAI Chat Model\n- Processes the user's input using GPT-4o mini.\n\n### 3. Simple Memory Buffer\n- Keeps context from the last 10 exchanges to maintain a conversational flow.\n\n### 4. DumplingAI- News Agent and Local Business Finder Agent\n- Makes an external API call to Dumpling AI’s agent endpoint to search or generate responses based on user intent.\n\n### 5. AI Agent Node\n- Connects all components: language model, memory, and external tools.\n\n### 6. Airtable Tool – Dynamic Business Data Storage\n\n-This Airtable node auto-populates and updates a “Local Business” table using data returned from Dumpling AI’s Local Business Finder Agent. It maps essential fields such as:\n\n\n## ⚙️ Notes\n- Dumpling AI agent ID is pre-configured.\n- JSON response from Dumpling is parsed as usable data.\n- You can add routing or fallback logic based on Dumpling's results.\n\n##### 💡 Tip\nTo customize it for a specific domain (e.g., real estate, restaurant finder, course assistant), adjust the agent prompt or plug in a domain-specific tool module.\n\n"
},
"typeVersion": 1
},
{
"id": "266e0454-5133-4287-a449-2eb1d3d00485",
"name": "ニュースエージェント",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
-20,
180
],
"parameters": {
"url": "https://app.dumplingai.com/api/v1/agents/generate-completion",
"method": "POST",
"jsonBody": "={\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\":\"{{ $json.chatInput}}\"\n }\n ],\n \"agentId\": \"\",\n \"parseJson\": \"True\"\n }",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"optimizeResponse": true
},
"credentials": {
"httpHeaderAuth": {
"id": "xamyMqCpAech5BeT",
"name": "Header Auth account"
}
},
"typeVersion": 1.1
},
{
"id": "b3d834d7-eeb5-4ce8-bb45-2d6b58f8c0a9",
"name": "ローカルビジネス検索エージェント",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
100,
180
],
"parameters": {
"url": "https://app.dumplingai.com/api/v1/agents/generate-completion",
"method": "POST",
"jsonBody": "={\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\":\"{{ $json.chatInput}}\"\n }\n ],\n \"agentId\": \"\",\n \"parseJson\": \"false\"\n }",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"optimizeResponse": true
},
"credentials": {
"httpHeaderAuth": {
"id": "xamyMqCpAech5BeT",
"name": "Header Auth account"
}
},
"typeVersion": 1.1
},
{
"id": "bc75a2b5-8d99-487a-a9fc-12045b555207",
"name": "過去10メッセージを記録",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-160,
180
],
"parameters": {
"contextWindowLength": 10
},
"typeVersion": 1.3
},
{
"id": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"name": "Dumpling + GPT + MemoryでAIタスクを振り分け",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-108,
-40
],
"parameters": {
"options": {
"systemMessage": "You are a helpful assistant\nUse the Local Business Finder Agent HTTP request tool to find local business\n\nUse the News agent HTTP request tool to get get news\n\nUse the Create and update Airtable tool to send results from the Local Business Finder Agent HTTP request tool"
}
},
"typeVersion": 1.8
},
{
"id": "948fafa9-6b4c-4656-b27f-ce5b1eb0d363",
"name": "GPT-4o Miniで入力を処理",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-320,
180
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "gY2Jp4ypzmjcwwV6",
"name": "n8n free OpenAI API credits"
}
},
"typeVersion": 1.2
},
{
"id": "4a07cedd-f40e-4123-a894-c53da751263f",
"name": "ビジネスの結果を保存",
"type": "n8n-nodes-base.airtableTool",
"position": [
240,
180
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "https://airtable.com/appPSvSKdA6075xJC",
"cachedResultName": "Testing n8n"
},
"table": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "https://airtable.com/appPSvSKdA6075xJC/tblgxhdRFc2fGLV9o",
"cachedResultName": "Local business"
},
"columns": {
"value": {
"id": "=",
"Rating": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Rating', ``, 'number') }}",
"Address": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Address', ``, 'string') }}",
"Website": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Website', ``, 'string') }}",
"Category": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Category', ``, 'string') }}",
"Phone Number": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Phone_Number', ``, 'string') }}",
"Total Reviews": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Total_Reviews', ``, 'number') }}",
"Name of Restaurant": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name_of_Restaurant', ``, 'string') }}"
},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "Name of Restaurant",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Name of Restaurant",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Rating",
"type": "number",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Rating",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Total Reviews",
"type": "number",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Total Reviews",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Address",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Address",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Phone Number",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Phone Number",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Website",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Website",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Category",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "Category",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"id"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "upsert"
},
"credentials": {
"airtableTokenApi": {
"id": "H8PVkBgUPCcUhhRC",
"name": "Airtable Personal Access Token account"
}
},
"typeVersion": 2.1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "57c6329e-df0b-4eb4-9837-643c7de85e5e",
"connections": {
"266e0454-5133-4287-a449-2eb1d3d00485": {
"ai_tool": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "ai_tool",
"index": 0
}
]
]
},
"4a07cedd-f40e-4123-a894-c53da751263f": {
"ai_tool": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "ai_tool",
"index": 0
}
]
]
},
"bc75a2b5-8d99-487a-a9fc-12045b555207": {
"ai_memory": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "ai_memory",
"index": 0
}
]
]
},
"1617006d-20d8-44da-8410-1fbbd6bc317e": {
"main": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "main",
"index": 0
}
]
]
},
"b3d834d7-eeb5-4ce8-bb45-2d6b58f8c0a9": {
"ai_tool": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "ai_tool",
"index": 0
}
]
]
},
"948fafa9-6b4c-4656-b27f-ce5b1eb0d363": {
"ai_languageModel": [
[
{
"node": "0eb2b921-360e-4043-8a2f-301d10113dfc",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"0eb2b921-360e-4043-8a2f-301d10113dfc": {
"main": [
[]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 営業, 人工知能, マーケティング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
HDWリードジェットバグ
AIエージェントを使用した自動LinkedInリード生成、スコアリング、コミュニケーション
If
Code
Sort
+
If
Code
Sort
86 ノードAndrey
営業
Meta広告についてAIに相談 - Facebook広告インサイトの質問をする
AIにMeta広告について相談 - Facebook広告の洞察について質問する
Set
Filter
Telegram
+
Set
Filter
Telegram
21 ノードSolomon
人工知能
GPT-4o、Dumpling AI、LangChain Agent を使用した Gmail への自動返信
GPT-4o、Dumpling AI、およびLangChain Agentを使用してGmailに対する問い合わせを自動返信
Filter
Gmail Tool
Gmail Trigger
+
Filter
Gmail Tool
Gmail Trigger
10 ノードYang
サポート
🤖 Facebook MCP AI アシスタント – GPT-4o を使ってコメントを読み、返信、管理
GPT-4oとLangChainを使った自動Facebookコメント管理
Set
Agent
Mcp Trigger
+
Set
Agent
Mcp Trigger
17 ノードAmanda Benks
人工知能
ブランド化されたAI駆動のウェブチャットボットの作成
ブランドドのAI駆動型ウェブサイトチャットボットを作成
If
Set
Code
+
If
Set
Code
24 ノードWayne Simpson
プロダクト
Instagram MCP サーバー
Instagram MCP AIエージェント - GPT-4oでコメントを読み返し、管理する
Set
Agent
Mcp Trigger
+
Set
Agent
Mcp Trigger
17 ノードAmanda Benks
人工知能