{
  "name": "Nodbot - Mailgun transactional email with idempotency and tracking",
  "nodes": [
    {
      "parameters": {},
      "id": "node-1",
      "name": "Webhook / CRM trigger",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        200,
        300
      ],
      "notes": "получает событие для отправки transactional email"
    },
    {
      "parameters": {},
      "id": "node-2",
      "name": "Validate recipient",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        420,
        300
      ],
      "notes": "проверяет email, шаблон и обязательные variables"
    },
    {
      "parameters": {},
      "id": "node-3",
      "name": "Idempotency storage",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        640,
        300
      ],
      "notes": "не отправляет одно письмо дважды"
    },
    {
      "parameters": {},
      "id": "node-4",
      "name": "Mailgun Send API",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        860,
        300
      ],
      "notes": "отправляет template-based email"
    },
    {
      "parameters": {},
      "id": "node-5",
      "name": "Delivery tracking",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1080,
        300
      ],
      "notes": "принимает события accepted/delivered/failed"
    },
    {
      "parameters": {},
      "id": "node-6",
      "name": "CRM audit",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1300,
        300
      ],
      "notes": "записывает статус и ссылку на письмо"
    }
  ],
  "connections": {
    "Webhook / CRM trigger": {
      "main": [
        [
          {
            "node": "Validate recipient",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate recipient": {
      "main": [
        [
          {
            "node": "Idempotency storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Idempotency storage": {
      "main": [
        [
          {
            "node": "Mailgun Send API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mailgun Send API": {
      "main": [
        [
          {
            "node": "Delivery tracking",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delivery tracking": {
      "main": [
        [
          {
            "node": "CRM audit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false,
    "description": "Problem/Solution-гайд по Mailgun и n8n: как отправлять transactional email через API без дублей, с шаблонами, проверкой получателей, tracking и журналом доставки."
  },
  "tags": [
    "nodbot",
    "integration",
    "production"
  ]
}