{
  "name": "Insurance Claim Feedback Request",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "claim-feedback",
        "options": {}
      },
      "id": "27262dfb-eaed-4c8b-9268-c2ba759e79a1",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        -100,
        60
      ],
      "webhookId": "fd246791-88e7-4c1c-84b0-e246e5a2cc57"
    },
    {
      "parameters": {
        "operation": "appendOrUpdate",
        "documentId": {
          "__rl": true,
          "value": "1zOVxpDieE7-28ohFYhyGN1ZDD95JWsPSZcRqgAotyJc",
          "mode": "list",
          "cachedResultName": "users"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "name": "={{ $json.body.name }}",
            "email": "={{ $json.body.email }}"
          },
          "matchingColumns": [
            "email"
          ],
          "schema": [
            {
              "id": "name",
              "displayName": "name",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "email",
              "displayName": "email",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        100,
        -40
      ],
      "id": "ce69f479-85a8-4578-8600-03892679fcd2",
      "name": "Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "Pjxuoti0ywJ2OIzZ",
          "name": "Google Sheets account"
        }
      }
    },
    {
      "parameters": {
        "sendTo": "={{ $json.body.email }}",
        "subject": "We value your feedback on your recent claim Insurance.",
        "emailType": "text",
        "message": "=Hello {{ $json.body.name }},\n\nThank you for completing the claim settlement process. We would love to hear your feedback.\n\nPlease click the link below to fill out a short feedback form:\n\n👉 Feedback Form : https://forms.gle/YOUR-FORM-ID\n\nThanks,\nCustomer Support Team",
        "options": {
          "appendAttribution": false
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        100,
        140
      ],
      "id": "083bac97-95f7-449e-8a46-b18b3fa93492",
      "name": "Send Feedback Email",
      "webhookId": "98bf1d0a-c6c9-4475-9400-48e91cca5a11",
      "credentials": {
        "gmailOAuth2": {
          "id": "uDat96OaUczrGBW5",
          "name": "Gmail account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Feedback Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        []
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ef783dbe-aba4-4063-a590-812094b81732",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "f1c26778ec36097a9722a22c47c5e9c01f00b8862dadd0121ec118026a370fa6"
  },
  "id": "DDmGGlaVprzZT226"
}