{
  "name": "Claim Process Settlement Feedback",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "claim-feedback",
        "options": {}
      },
      "id": "8b1e659a-c3e1-4018-b4c4-abc1a1a80993",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        -100,
        60
      ],
      "webhookId": "691a3172-9c4f-4580-b01e-63ce7de1647d"
    },
    {
      "parameters": {
        "operation": "appendOrUpdate",
        "documentId": {
          "__rl": true,
          "value": "1zOVxpDieE7-28ohFYhyGN1ZDD95JWsPSZcRqgAotyJc",
          "mode": "list",
          "cachedResultName": "users",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1zOVxpDieE7-28ohFYhyGN1ZDD95JWsPSZcRqgAotyJc/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": "gid=0",
          "mode": "list",
          "cachedResultName": "Sheet1",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1zOVxpDieE7-28ohFYhyGN1ZDD95JWsPSZcRqgAotyJc/edit#gid=0"
        },
        "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": "61d9fe8e-367f-4633-99fe-df4b67f40856",
      "name": "Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "cOspDa8h1hkwDLvX",
          "name": "Suresh.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/XSmJ57pcn5hPDGwz5\n\nThanks,\nCustomer Support Team",
        "options": {
          "appendAttribution": false
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        100,
        140
      ],
      "id": "37512549-095e-4503-a94c-9828bbf24ebe",
      "name": "Send Feedback Email",
      "webhookId": "5cb7973c-e0aa-4cb2-988c-304237c072ed",
      "credentials": {
        "gmailOAuth2": {
          "id": "stjUuumoBlfUIL1N",
          "name": "Suresh.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": "010f1d96-d00e-4bcb-8f15-4528d5d8ecbe",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "fcb622cbd5234c565b9b78babeaf0ea2455df9d2aad0d1adff7c1ef99583e685"
  },
  "id": "sVo0p7qIFFI2gVlR"
}