{
  "name": "Personalized hotel reward emails for high-spenders with Salesforce, Gemini AI & Brevo",
  "nodes": [
    {
      "id": "688b53dc-149a-41b6-8447-cde64f7a5c5c",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -700,
        -120
      ]
    },
    {
      "id": "01bd11e8-4a82-4906-91e6-8e26976f0bbf",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -540,
        100
      ]
    },
    {
      "id": "a741b4b3-0cec-4c40-aa3d-517d7d1ea315",
      "name": "Check for any latest checkouts",
      "type": "n8n-nodes-base.salesforceTrigger",
      "position": [
        -1620,
        -100
      ]
    },
    {
      "id": "ae15b8b0-3f66-434d-8730-5baf744984e7",
      "name": "Extract Checkout information",
      "type": "n8n-nodes-base.salesforce",
      "position": [
        -1400,
        -100
      ]
    },
    {
      "id": "75fc4e53-a12d-4dfe-85cf-f1ceb4a80c19",
      "name": "Look For VIP Clients",
      "type": "n8n-nodes-base.code",
      "position": [
        -1180,
        -100
      ]
    },
    {
      "id": "26bd7967-8885-474e-bac2-c1aabb7bcf2f",
      "name": "Check the threshold exceedings",
      "type": "n8n-nodes-base.if",
      "position": [
        -960,
        -100
      ]
    },
    {
      "id": "e04b8b27-474b-498d-ba44-04110d993217",
      "name": "Give Away Personalised Offers",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleVertex",
      "position": [
        -700,
        100
      ]
    },
    {
      "id": "6e1c0c4b-a767-4420-bf30-1a91c4d539e6",
      "name": "Send offer via email",
      "type": "n8n-nodes-base.sendInBlue",
      "position": [
        -340,
        -120
      ]
    },
    {
      "id": "9135c69d-9372-4f77-8fd9-b50e915daa64",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2446.94942319236,
        -420
      ],
      "parameters": {
        "width": 760,
        "height": 1120,
        "content": "## 📩 **High-Spender Guest Reward Automation**\n\nThis workflow automatically detects high‑spending guests after checkout and sends them a personalized reward offer by email...\n\n---\n\n### **🔧 What it does"
      }
    }
  ],
  "connections": {
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Send offer via email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Look For VIP Clients": {
      "main": [
        [
          {
            "node": "Check the threshold exceedings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Extract Checkout information": {
      "main": [
        [
          {
            "node": "Look For VIP Clients",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Give Away Personalised Offers": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Check for any latest checkouts": {
      "main": [
        [
          {
            "node": "Extract Checkout information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check the threshold exceedings": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}