Crop Yield Predictor

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

8 vues
0 copies
Automatisation

Documentation Complète

📋 Crop Yield Predictor

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

🔧 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
  • 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": "Crop Yield Predictor",
    "nodes": [
        {
            "parameters": {
                "content": "## Crop Yield Predictor",
                "height": 520,
                "width": 1100
            },
            "id": "f3362646-7c46-4e50-a664-66be86a30320",
            "name": "Sticky",
            "type": "n8n-nodes-base.stickyNote",
            "typeVersion": 1,
            "position": [
                -500,
                -250
            ]
        },
        {
            "parameters": {
                "httpMethod": "POST",
                "path": "crop_yield_predictor"
            },
            "id": "189bb6ad-a417-41f6-bf7a-0e3ddda212f0",
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "typeVersion": 1,
            "position": [
                -300,
                0
            ]
        },
        {
            "parameters": {
                "chunkSize": 400,
                "chunkOverlap": 40
            },
            "id": "30e55839-628c-4aa3-80d2-3c5a7ca26f46",
            "name": "Splitter",
            "type": "@n8n\/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
            "typeVersion": 1,
            "position": [
                -100,
                0
            ]
        },
        {
            "parameters": {
                "model": "default"
            },
            "id": "43e8ef2b-0af0-43f4-84f1-e72771c32adb",
            "name": "Embeddings",
            "type": "@n8n\/n8n-nodes-langchain.embeddingsHuggingFace",
            "typeVersion": 1,
            "position": [
                100,
                0
            ],
            "credentials": {
                "huggingFaceApi": {
                    "id": "HF_API",
                    "name": "HuggingFace"
                }
            }
        },
        {
            "parameters": {
                "mode": "insert",
                "indexName": "crop_yield_predictor"
            },
            "id": "fa3aa105-97d5-48f0-9596-2c79447b9eea",
            "name": "Insert",
            "type": "@n8n\/n8n-nodes-langchain.vectorStoreSupabase",
            "typeVersion": 1,
            "position": [
                300,
                0
            ],
            "credentials": {
                "supabaseApi": {
                    "id": "SUPABASE_API",
                    "name": "Supabase account"
                }
            }
        },
        {
            "parameters": {
                "indexName": "crop_yield_predictor"
            },
            "id": "aee3d47b-9cfb-4cc1-ac48-a3bc989f3e6a",
            "name": "Query",
            "type": "@n8n\/n8n-nodes-langchain.vectorStoreSupabase",
            "typeVersion": 1,
            "position": [
                300,
                -180
            ],
            "credentials": {
                "supabaseApi": {
                    "id": "SUPABASE_API",
                    "name": "Supabase account"
                }
            }
        },
        {
            "parameters": {
                "name": "Supabase"
            },
            "id": "71c5bb9a-669c-47b3-aa70-84729641c4e9",
            "name": "Tool",
            "type": "@n8n\/n8n-nodes-langchain.toolVectorStore",
            "typeVersion": 1,
            "position": [
                480,
                -180
            ]
        },
        {
            "parameters": [],
            "id": "d40e44ca-dcfe-4642-9369-a1cf44361afa",
            "name": "Memory",
            "type": "@n8n\/n8n-nodes-langchain.memoryBufferWindow",
            "typeVersion": 1.3,
            "position": [
                480,
                -40
            ]
        },
        {
            "parameters": [],
            "id": "3fe292ff-58f2-4611-b977-50c75389eb24",
            "name": "Chat",
            "type": "@n8n\/n8n-nodes-langchain.lmChatOpenAi",
            "typeVersion": 1,
            "position": [
                480,
                -340
            ],
            "credentials": {
                "openAiApi": {
                    "id": "OPENAI_API",
                    "name": "OpenAI"
                }
            }
        },
        {
            "parameters": {
                "promptType": "define",
                "text": "={{ $json }}"
            },
            "id": "d358d3c2-c50d-4959-a0f5-37a9dffb6d18",
            "name": "Agent",
            "type": "@n8n\/n8n-nodes-langchain.agent",
            "typeVersion": 1,
            "position": [
                760,
                -40
            ]
        },
        {
            "parameters": {
                "operation": "append",
                "documentId": "SHEET_ID",
                "sheetName": "Log"
            },
            "id": "cbdd5fea-54eb-40eb-90e8-dfedeead8f13",
            "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...