{
  "name": "Automate e-commerce order processing with email notifications & webhooks",
  "nodes": [
    {
      "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
      "name": "New Order Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        300
      ]
    },
    {
      "id": "b2c3d4e5-f6g7-8901-2345-678901bcdefg",
      "name": "Workflow Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        100
      ],
      "parameters": {
        "width": 432,
        "height": 464,
        "content": "## 🛒 Simple E-commerce Order Automation\n\n**What this workflow does:**\nAutomatically processes new e-commerce orders by sending confirmation emails to customers and notification emails to your team.\n\n*"
      }
    },
    {
      "id": "c3d4e5f6-g7h8-9012-3456-789012cdefgh",
      "name": "Store Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        300
      ]
    },
    {
      "id": "d4e5f6g7-h8i9-0123-4567-890123defghi",
      "name": "Extract Order Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        120
      ],
      "parameters": {
        "width": 280,
        "height": 160,
        "content": "📦 **Step 1: Extract Order Data**\n\nExtracts key information from the order:\n- Order number and date\n- Customer name and email\n- Items purchased\n- Order total and payment status\n- Shipping address\n\nThis"
      }
    },
    {
      "id": "e5f6g7h8-i9j0-1234-5678-901234efghij",
      "name": "Extract Order Details",
      "type": "n8n-nodes-base.set",
      "position": [
        720,
        300
      ]
    },
    {
      "id": "f6g7h8i9-j0k1-2345-6789-012345fghijk",
      "name": "Validation Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        140
      ],
      "parameters": {
        "width": 280,
        "height": 140,
        "content": "✅ **Step 2: Validate Order**\n\nChecks if the order has:\n- Valid customer email\n- Order number\n- Order total greater than 0\n\nSkips processing for invalid orders and sends error response."
      }
    },
    {
      "id": "g7h8i9j0-k1l2-3456-7890-123456ghijkl",
      "name": "Validate Order Data",
      "type": "n8n-nodes-base.if",
      "position": [
        960,
        300
      ]
    },
    {
      "id": "h8i9j0k1-l2m3-4567-8901-234567hijklm",
      "name": "Customer Email Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        120
      ],
      "parameters": {
        "width": 280,
        "height": 160,
        "content": "📧 **Step 3: Send Customer Email**\n\nSends a professional order confirmation email:\n- Order details and summary\n- Thank you message\n- Contact information\n- Next steps (shipping info)\n\nUses your Gmail or"
      }
    },
    {
      "id": "i9j0k1l2-m3n4-5678-9012-345678ijklmn",
      "name": "Send Customer Confirmation",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1200,
        260
      ]
    },
    {
      "id": "j0k1l2m3-n4o5-6789-0123-456789jklmno",
      "name": "Team Notification Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        120
      ],
      "parameters": {
        "width": 280,
        "height": 160,
        "content": "🔔 **Step 4: Notify Team**\n\nSends order notification to your team:\n- New order alert\n- Customer and order details\n- Action items\n- Order summary\n\nHelps team stay informed and take action."
      }
    },
    {
      "id": "k1l2m3n4-o5p6-7890-1234-567890klmnop",
      "name": "Send Team Notification",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1440,
        260
      ]
    },
    {
      "id": "l2m3n4o5-p6q7-8901-2345-678901lmnopq",
      "name": "Log Order Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        120
      ],
      "parameters": {
        "width": 280,
        "height": 160,
        "content": "📝 **Step 5: Log Order**\n\nSaves order details for record keeping:\n- Creates order summary\n- Timestamps processing\n- Tracks email delivery status\n- Prepares success response\n\nUseful for analytics and tr"
      }
    },
    {
      "id": "m3n4o5p6-q7r8-9012-3456-789012mnopqr",
      "name": "Log Processing Details",
      "type": "n8n-nodes-base.set",
      "position": [
        1680,
        260
      ]
    },
    {
      "id": "n4o5p6q7-r8s9-0123-4567-890123nopqrs",
      "name": "Success Response Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        120
      ],
      "parameters": {
        "width": 280,
        "height": 160,
        "content": "✅ **Step 6: Success Response**\n\nSends confirmation back to e-commerce platform:\n- Processing successful\n- Emails sent confirmation\n- Order details summary\n- Timestamp\n\nCompletes the webhook properly."
      }
    },
    {
      "id": "o5p6q7r8-s9t0-1234-5678-901234opqrst",
      "name": "Send Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1920,
        260
      ]
    },
    {
      "id": "p6q7r8s9-t0u1-2345-6789-012345pqrstu",
      "name": "Send Error Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        960,
        420
      ]
    },
    {
      "id": "q7r8s9t0-u1v2-3456-7890-123456qrstuv",
      "name": "Easy Setup Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        500
      ],
      "parameters": {
        "width": 400,
        "height": 320,
        "content": "⚙️ **EASY SETUP GUIDE**\n\n**Step 1: Configure your store details**\nUpdate the Store Configuration node with:\n- Your store name\n- Your email addresses\n- Phone number\n- Website URL\n\n**Step 2: Set up emai"
      }
    }
  ],
  "connections": {
    "New Order Webhook": {
      "main": [
        [
          {
            "node": "Store Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Configuration": {
      "main": [
        [
          {
            "node": "Extract Order Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Order Data": {
      "main": [
        [
          {
            "node": "Send Customer Confirmation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Error Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Order Details": {
      "main": [
        [
          {
            "node": "Validate Order Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Processing Details": {
      "main": [
        [
          {
            "node": "Send Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Team Notification": {
      "main": [
        [
          {
            "node": "Log Processing Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Customer Confirmation": {
      "main": [
        [
          {
            "node": "Send Team Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}