{
  "name": "Generate personalized marketing emails from Google Sheets with Llama AI",
  "nodes": [
    {
      "id": "e7f44537-37ee-4ce8-8d9a-25e1e512bcbe",
      "name": "Generate Marketing Content with AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -220,
        80
      ]
    },
    {
      "id": "ba71be80-b532-40d5-8bdf-c4bbf48c28e0",
      "name": "Format Personalized Email",
      "type": "n8n-nodes-base.code",
      "position": [
        360,
        80
      ]
    },
    {
      "id": "bf3e161a-be8b-45b5-859d-b5404fe0264b",
      "name": " Send Marketing Email to Client",
      "type": "n8n-nodes-base.gmail",
      "position": [
        580,
        80
      ]
    },
    {
      "id": "57b81093-4e88-497a-a70c-fb3f5923bd06",
      "name": "Llama 3.2 - Promo Content Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        -140,
        300
      ]
    },
    {
      "id": "f3e90e4d-d8af-4964-b7cd-bf017d2076fe",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -300
      ],
      "parameters": {
        "width": 480,
        "height": 200,
        "content": "This workflow auto-generates and sends personalized marketing emails using data from two Google Sheets:\n\nSheet 1: Marketing Offer Details\n\nSheet 2: Client Information\n\nIt uses an AI model to create co"
      }
    },
    {
      "id": "8ed442d2-c771-4619-8935-e64134b7582c",
      "name": "Track Offer Sheet Updates (Sheet 1)",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -440,
        80
      ]
    },
    {
      "id": "eee33c6c-0513-47ae-b097-70ce2a610243",
      "name": "Fetch Client List (Sheet 2)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        140,
        80
      ]
    }
  ],
  "connections": {
    "Format Personalized Email": {
      "main": [
        [
          {
            "node": " Send Marketing Email to Client",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Client List (Sheet 2)": {
      "main": [
        [
          {
            "node": "Format Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Llama 3.2 - Promo Content Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Marketing Content with AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate Marketing Content with AI": {
      "main": [
        [
          {
            "node": "Fetch Client List (Sheet 2)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Track Offer Sheet Updates (Sheet 1)": {
      "main": [
        [
          {
            "node": "Generate Marketing Content with AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}