{
  "name": "Handle GDPR data deletion requests with Slack",
  "nodes": [
    {
      "id": null,
      "name": "Receive Slash Command",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        100
      ]
    },
    {
      "id": null,
      "name": "Reject",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        680,
        200
      ]
    },
    {
      "id": null,
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        680,
        0
      ]
    },
    {
      "id": null,
      "name": "Read Command",
      "type": "n8n-nodes-base.switch",
      "position": [
        900,
        0
      ]
    },
    {
      "id": null,
      "name": "Wrong Command Error",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1120,
        100
      ]
    },
    {
      "id": null,
      "name": "Acknowledge",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1340,
        0
      ]
    },
    {
      "id": null,
      "name": "Empty Email?",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        -100
      ]
    },
    {
      "id": null,
      "name": "Missing Email Error",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1340,
        -200
      ]
    },
    {
      "id": null,
      "name": "Valid Token?",
      "type": "n8n-nodes-base.if",
      "position": [
        460,
        100
      ]
    },
    {
      "id": null,
      "name": "Paddle Data Deletion",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1560,
        0
      ]
    },
    {
      "id": null,
      "name": "Customer.io Data Deletion",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1780,
        0
      ]
    },
    {
      "id": null,
      "name": "Zendesk Data Deletion",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        2000,
        0
      ]
    },
    {
      "id": null,
      "name": "Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1780,
        200
      ]
    },
    {
      "id": null,
      "name": "Prepare Log Entry",
      "type": "n8n-nodes-base.function",
      "position": [
        1340,
        200
      ]
    },
    {
      "id": null,
      "name": "Crypto",
      "type": "n8n-nodes-base.crypto",
      "position": [
        1560,
        200
      ]
    },
    {
      "id": null,
      "name": "Respond to Slack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2000,
        200
      ]
    }
  ],
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "Read Command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crypto": {
      "main": [
        [
          {
            "node": "Airtable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airtable": {
      "main": [
        [
          {
            "node": "Respond to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Acknowledge": {
      "main": [
        [
          {
            "node": "Paddle Data Deletion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Empty Email?": {
      "main": [
        [
          {
            "node": "Missing Email Error",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Acknowledge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Command": {
      "main": [
        [
          {
            "node": "Empty Email?",
            "type": "main",
            "index": 0
          }
        ],
        null,
        null,
        [
          {
            "node": "Wrong Command Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Valid Token?": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reject",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Log Entry": {
      "main": [
        [
          {
            "node": "Crypto",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Paddle Data Deletion": {
      "main": [
        [
          {
            "node": "Customer.io Data Deletion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Slash Command": {
      "main": [
        [
          {
            "node": "Valid Token?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Zendesk Data Deletion": {
      "main": [
        [
          {
            "node": "Prepare Log Entry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Customer.io Data Deletion": {
      "main": [
        [
          {
            "node": "Zendesk Data Deletion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}