{
  "name": "Generate food recipes from Gmail & form requests with Ollama & Llama 3.2",
  "nodes": [
    {
      "id": "2825d5b3-bc93-4c3f-979b-9f4db3ed4198",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -180
      ],
      "parameters": {
        "width": null,
        "height": 540,
        "content": "Starts when user sends a Gmail or submits a form with recipe request"
      }
    },
    {
      "id": "a7b23e86-2fc1-4591-bf52-99aa637aef1c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        -180
      ],
      "parameters": {
        "width": 280,
        "height": 620,
        "content": "Understands user query and generates recipe."
      }
    },
    {
      "id": "4e8e32c7-f6bc-4810-b390-f5e28ee7df74",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -180
      ],
      "parameters": {
        "width": 180,
        "height": 520,
        "content": "Formats the recipe (e.g., ingredients, steps)"
      }
    },
    {
      "id": "503dd57d-ea7c-425d-a12c-8c7ff01d68c2",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        -180
      ],
      "parameters": {
        "width": 200,
        "height": 520,
        "content": "Sends formatted recipe back to the user."
      }
    },
    {
      "id": "cc323bc4-2d4a-4ffc-9c03-b660309676ff",
      "name": "Recipe Request - Gmail",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "39138c17-7dd2-4d25-acdb-093ac7241c68",
      "name": "Recipe Request - Web Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        200
      ]
    },
    {
      "id": "077be9f8-16cf-4c0e-9564-b4f4ffd51b7f",
      "name": "Ollama Recipe Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        100
      ]
    },
    {
      "id": "45e7c74a-c0d0-4d7e-95b5-4a75c20b220d",
      "name": "Llama 3.2 - Chef Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        300,
        320
      ]
    },
    {
      "id": "df6b755f-fa56-4b3a-bae3-3c606e4250ec",
      "name": "Format Recipe Output",
      "type": "n8n-nodes-base.code",
      "position": [
        580,
        100
      ]
    },
    {
      "id": "11c32fd2-8844-410e-bbae-a81e267f34da",
      "name": "Send Recipe via Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        100
      ]
    }
  ],
  "connections": {
    "Format Recipe Output": {
      "main": [
        [
          {
            "node": "Send Recipe via Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Llama 3.2 - Chef Model": {
      "ai_languageModel": [
        [
          {
            "node": "Ollama Recipe Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Recipe Request - Gmail": {
      "main": [
        [
          {
            "node": "Ollama Recipe Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Recipe Generator": {
      "main": [
        [
          {
            "node": "Format Recipe Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recipe Request - Web Form": {
      "main": [
        [
          {
            "node": "Ollama Recipe Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}