{
  "openruna_format": "flow-graph-v1",
  "title": "My workflow 3",
  "slug": "my-workflow-3",
  "source_filename": "1818_Code_Converttofile_Automate_Webhook.json",
  "nodes": [
    {
      "id": "On form submission4",
      "name": "On form submission4",
      "integration": "form",
      "kind": "trigger"
    },
    {
      "id": "Loop Over Items1",
      "name": "Loop Over Items1",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "If2",
      "name": "If2",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Aggregate1",
      "name": "Aggregate1",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Google Gemini Chat Model5",
      "name": "Google Gemini Chat Model5",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "split the binary item",
      "name": "split the binary item",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Parsing the document",
      "name": "Parsing the document",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Check the parsing status",
      "name": "Check the parsing status",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Provide the markdown",
      "name": "Provide the markdown",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model6",
      "name": "Google Gemini Chat Model6",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Markdown",
      "name": "Markdown",
      "integration": "markdown",
      "kind": "action"
    },
    {
      "id": "Gmail",
      "name": "Gmail",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Code",
      "name": "Code",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Convert to File",
      "name": "Convert to File",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Information Extractor",
      "name": "Information Extractor",
      "integration": "@n8n/n8n-nodes-langchain.informationExtractor",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model1",
      "name": "Google Gemini Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Convert to File4",
      "name": "Convert to File4",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Pinecone Vector Store",
      "name": "Pinecone Vector Store",
      "integration": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "kind": "action"
    },
    {
      "id": "Embeddings Mistral Cloud",
      "name": "Embeddings Mistral Cloud",
      "integration": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud",
      "kind": "action"
    },
    {
      "id": "Default Data Loader",
      "name": "Default Data Loader",
      "integration": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "kind": "action"
    },
    {
      "id": "Recursive Character Text Splitter",
      "name": "Recursive Character Text Splitter",
      "integration": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "kind": "action"
    },
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "Question and Answer Chain",
      "name": "Question and Answer Chain",
      "integration": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model2",
      "name": "Google Gemini Chat Model2",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Vector Store Retriever",
      "name": "Vector Store Retriever",
      "integration": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "kind": "action"
    },
    {
      "id": "Pinecone Vector Store1",
      "name": "Pinecone Vector Store1",
      "integration": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "kind": "action"
    },
    {
      "id": "Embeddings Mistral Cloud1",
      "name": "Embeddings Mistral Cloud1",
      "integration": "@n8n/n8n-nodes-langchain.embeddingsMistralCloud",
      "kind": "action"
    },
    {
      "id": "AI Agent1",
      "name": "AI Agent1",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model3",
      "name": "Google Gemini Chat Model3",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Translator Agent",
      "name": "Translator Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Analyzer Agent",
      "name": "Analyzer Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If2",
      "to": "Provide the markdown"
    },
    {
      "from": "If2",
      "to": "Check the parsing status"
    },
    {
      "from": "Code",
      "to": "Convert to File"
    },
    {
      "from": "Markdown",
      "to": "Code"
    },
    {
      "from": "Aggregate1",
      "to": "Translator Agent"
    },
    {
      "from": "Analyzer Agent",
      "to": "Markdown"
    },
    {
      "from": "Analyzer Agent",
      "to": "AI Agent"
    },
    {
      "from": "Analyzer Agent",
      "to": "Information Extractor"
    },
    {
      "from": "Analyzer Agent",
      "to": "Convert to File4"
    },
    {
      "from": "Convert to File",
      "to": "Gmail"
    },
    {
      "from": "Convert to File4",
      "to": "Pinecone Vector Store"
    },
    {
      "from": "Loop Over Items1",
      "to": "Aggregate1"
    },
    {
      "from": "Loop Over Items1",
      "to": "Parsing the document"
    },
    {
      "from": "Translator Agent",
      "to": "Analyzer Agent"
    },
    {
      "from": "Translator Agent",
      "to": "Convert to File4"
    },
    {
      "from": "On form submission4",
      "to": "split the binary item"
    },
    {
      "from": "Parsing the document",
      "to": "Check the parsing status"
    },
    {
      "from": "Provide the markdown",
      "to": "Loop Over Items1"
    },
    {
      "from": "split the binary item",
      "to": "Loop Over Items1"
    },
    {
      "from": "Check the parsing status",
      "to": "If2"
    },
    {
      "from": "Question and Answer Chain",
      "to": "AI Agent1"
    },
    {
      "from": "When chat message received",
      "to": "Question and Answer Chain"
    }
  ]
}