{
  "name": "Auto-Reply to Contact Form 7 Submissions Instantly via Gmail",
  "nodes": [
    {
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "parameters": {
        "httpMethod": "POST",
        "path": "contact-form-7-enquiry",
        "responseMode": "onReceived",
        "options": {}
      },
      "notes": "Copy this node's webhook URL into the source tool as the POST endpoint.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Grab Contact",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "1216",
              "name": "name",
              "value": "={{ $json.body.name }}",
              "type": "string"
            },
            {
              "id": "1217",
              "name": "email",
              "value": "={{ $json.body.email }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "notes": "",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Gmail — Send Acknowledgement",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2,
      "parameters": {
        "operation": "send",
        "toEmail": "={{ $json.email }}"
      },
      "notes": "Send a personalised auto-reply.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Grab Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Grab Contact": {
      "main": [
        [
          {
            "node": "Gmail — Send Acknowledgement",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail — Send Acknowledgement": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
