{
  "name": "Generate & explain Excel/Google Sheets formulas with DeepSeek AI",
  "nodes": [
    {
      "id": "efe0798f-0ae5-4815-bbad-dd86c7eddf04",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -500,
        40
      ]
    },
    {
      "id": "7176b4d2-1dbc-46d2-b6ef-4827b712cb8d",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        740,
        20
      ]
    },
    {
      "id": "c33ae905-20e8-4697-83f9-af47335e413a",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -60,
        -160
      ]
    },
    {
      "id": "1cd47f62-bf48-4335-9d4c-df66eb30450b",
      "name": "Detect Intent",
      "type": "n8n-nodes-base.set",
      "position": [
        -280,
        40
      ]
    },
    {
      "id": "4c5aecf2-2058-4efc-b551-4ec360994615",
      "name": "Intent Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -60,
        40
      ]
    },
    {
      "id": "9151553c-5fa6-4667-8e04-47b8c80779bb",
      "name": "Generate Formula",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        -100
      ]
    },
    {
      "id": "2b905f82-a78b-4c57-a905-dcb4e16391e9",
      "name": "Explain Formula",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        120
      ]
    },
    {
      "id": "3d66f914-aa61-4a2a-abae-bfedb88ae685",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -20,
        240
      ]
    },
    {
      "id": "5d63edd7-24c0-4603-8d6c-3fa7764633f9",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        540,
        20
      ]
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Detect Intent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect Intent": {
      "main": [
        [
          {
            "node": "Intent Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Intent Switch": {
      "main": [
        [
          {
            "node": "Generate Formula",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Explain Formula",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Explain Formula": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Formula": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Formula",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Explain Formula",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}