Commodity Price Tracker

Workflow automatisé avec 11 nodes incluant : stickyNote, webhook, @n8n/langchain.textSplitterCharacterTextSplitter, @n8n/langchain.embeddingsCohere, @n8n/langchain.vectorStoreRedis

9 vues
0 copies
Automatisation

Documentation Complète

📋 Commodity Price Tracker

Workflow automatisé avec 11 nodes incluant : stickyNote, webhook, @n8n/langchain.textSplitterCharacterTextSplitter, @n8n/langchain.embeddingsCohere, @n8n/langchain.vectorStoreRedis

🔧 Composition du workflow

Nombre total de nodes : 11

🚀 Déclencheurs
  • Webhook
⚡ Actions
  • Sticky
  • Splitter
  • Embeddings
  • Insert
  • Query
  • Tool
  • Memory
  • Chat
  • Agent
  • Sheet
🔗 Services intégrés
  • Webhook
  • Redis
  • Google Sheets

🔄 Flux de données

Le workflow contient 10 connexion(s) entre les nodes, définissant le flux de données et l'ordre d'exécution.

💡 Utilisation

  1. Importez ce workflow dans votre instance n8n
  2. Configurez les credentials nécessaires pour chaque service
  3. Adaptez les paramètres selon vos besoins
  4. Testez le workflow avant de l'activer
📝 Note : Cette documentation a été générée automatiquement. Pour une analyse plus détaillée, configurez l'API OpenAI dans les paramètres système.

Structure JSON

Voir le code JSON complet
{
    "name": "Commodity Price Tracker",
    "nodes": [
        {
            "parameters": {
                "content": "## Commodity Price Tracker",
                "height": 520,
                "width": 1100
            },
            "id": "240bb73f-5a0c-4672-a36d-98daf070734b",
            "name": "Sticky",
            "type": "n8n-nodes-base.stickyNote",
            "typeVersion": 1,
            "position": [
                -500,
                -250
            ]
        },
        {
            "parameters": {
                "httpMethod": "POST",
                "path": "commodity_price_tracker"
            },
            "id": "c23087f3-5dcd-45fe-a5f7-51cc99d3e7e1",
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "typeVersion": 1,
            "position": [
                -300,
                0
            ]
        },
        {
            "parameters": {
                "chunkSize": 400,
                "chunkOverlap": 40
            },
            "id": "013d0864-5f21-4cb8-8867-0c0e4445483a",
            "name": "Splitter",
            "type": "@n8n\/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
            "typeVersion": 1,
            "position": [
                -100,
                0
            ]
        },
        {
            "parameters": {
                "model": "default"
            },
            "id": "db0e2610-9e2f-4435-b166-81d3532dd10e",
            "name": "Embeddings",
            "type": "@n8n\/n8n-nodes-langchain.embeddingsCohere",
            "typeVersion": 1,
            "position": [
                100,
                0
            ],
            "credentials": {
                "cohereApi": {
                    "id": "COHERE_API",
                    "name": "Cohere"
                }
            }
        },
        {
            "parameters": {
                "mode": "insert",
                "indexName": "commodity_price_tracker"
            },
            "id": "2b3496e2-4feb-4dbc-8a5f-b1ececb2f844",
            "name": "Insert",
            "type": "@n8n\/n8n-nodes-langchain.vectorStoreRedis",
            "typeVersion": 1,
            "position": [
                300,
                0
            ],
            "credentials": {
                "redisApi": {
                    "id": "REDIS_API",
                    "name": "Redis account"
                }
            }
        },
        {
            "parameters": {
                "indexName": "commodity_price_tracker"
            },
            "id": "edbac296-9e6e-4152-92d8-a1f92364a08a",
            "name": "Query",
            "type": "@n8n\/n8n-nodes-langchain.vectorStoreRedis",
            "typeVersion": 1,
            "position": [
                300,
                -180
            ],
            "credentials": {
                "redisApi": {
                    "id": "REDIS_API",
                    "name": "Redis account"
                }
            }
        },
        {
            "parameters": {
                "name": "Redis"
            },
            "id": "1a0a6979-6af4-4e37-be9e-4716e7f172b5",
            "name": "Tool",
            "type": "@n8n\/n8n-nodes-langchain.toolVectorStore",
            "typeVersion": 1,
            "position": [
                480,
                -180
            ]
        },
        {
            "parameters": [],
            "id": "2847718a-be62-48a3-b9da-3893bba372f0",
            "name": "Memory",
            "type": "@n8n\/n8n-nodes-langchain.memoryBufferWindow",
            "typeVersion": 1.3,
            "position": [
                480,
                -40
            ]
        },
        {
            "parameters": [],
            "id": "782053c8-0213-4494-aa1b-2a9effa10f1c",
            "name": "Chat",
            "type": "@n8n\/n8n-nodes-langchain.lmChatAnthropic",
            "typeVersion": 1,
            "position": [
                480,
                -340
            ],
            "credentials": {
                "anthropicApi": {
                    "id": "ANTHROPIC_API",
                    "name": "Anthropic"
                }
            }
        },
        {
            "parameters": {
                "promptType": "define",
                "text": "={{ $json }}"
            },
            "id": "cc4cac32-3d40-4e4a-84ef-fe3a19777d08",
            "name": "Agent",
            "type": "@n8n\/n8n-nodes-langchain.agent",
            "typeVersion": 1,
            "position": [
                760,
                -40
            ]
        },
        {
            "parameters": {
                "operation": "append",
                "documentId": "SHEET_ID",
                "sheetName": "Log"
            },
            "id": "c5d7ca13-2e69-47c4-9fbd-590e15be38b8",
            "name": "Sheet",
            "type": "n8n-nodes-base.googleSheets",
            "typeVersion": 4,
            "position": [
                960,
                -40
            ],
            "credentials": {
                "googleSheetsOAuth2Api": {
                    "id": "SHEETS_API",
                    "name": "Sheets"
                }
            }
        }
    ],
    "connections": {
        "Webhook": {
            "main": [
                [
                    {
                        "node": "Splitter",
                        "type": "main",
                        "index": 0
                    },
                    {
                        "node": "Memory",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Splitter": {
            "main": [
                [
                    {
                        "node": "Embeddings",
                        "type": "main",
                        "index": 0
                    }
                ]
            ],
            "ai_textSplitter": [
                [
                    {
                        "node": "Insert",
                        "type": "ai_textSplitter",
                        "index": 0
                    }
                ]
            ]
        },
        "Embeddings": {
            "ai_embedding": [
                [
                    {
                        "node": "Insert",
                        "type": "ai_embedding",
                        "index": 0
                    },
                    {
                        "node": "Query",
                        "type": "ai_embedding",
                        "index": 0
                    }
                ]
            ]
        },
        "Insert": {
            "ai_document": [
                []
            ]
        },
        "Query": {
            "ai_vectorStore": [
                [
                    {
                        "node": "Tool",
                        "type": "ai_vectorStore",
                        "index": 0
                    }
                ]
            ]
        },
        "Tool": {
            "ai_tool": [
                [
                    {
                        "node": "Agent",
                        "type": "ai_tool",
                        "index": 0
                    }
                ]
            ]
        },
        "Memory": {
            "ai_memory": [
                [
                    {
                        "node": "Agent",
                        "type": "ai_memory",
                        "index": 0
                    }
                ]
            ]
        },
        "Chat": {
            "ai_languageModel": [
                [
                    {
                        "node": "Agent",
                        "type": "ai_languageModel",
                        "index": 0
                    }
                ]
            ]
        },
        "Agent": {
            "main": [
                [
                    {
                        "node": "Sheet",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "settings": {
        "executionOrder": "v1"
    }
}
                                

Workflows Similaires

Public Form Auto Triage

Workflow automatisé avec 12 nodes incluant : stickyNote, webhook, @n8n/langchain.textSplitterCharacterTextSplitter, @n8...

Image Captioning

Workflow automatisé avec 12 nodes incluant : stickyNote, webhook, @n8n/langchain.textSplitterCharacterTextSplitter, @n8...

Daily Content Ideas

Workflow automatisé avec 12 nodes incluant : stickyNote, webhook, @n8n/langchain.textSplitterCharacterTextSplitter, @n8...