{
  "name": "Merge Enrich Route",
  "nodes": [
    {
      "id": "7943fab6-b03d-456e-b656-0a64cdc0e30a",
      "typeVersion": 2,
      "position": [
        0,
        100
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "enrich",
        "responseMode": "responseNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "webhookId": "enrich"
    },
    {
      "id": "5de9715b-61f1-431b-a2f7-ef6acb3c661e",
      "typeVersion": 4.5,
      "position": [
        260,
        0
      ],
      "parameters": {
        "url": "https://foobar.thenionic.com/",
        "options": {}
      },
      "name": "HTTP Enrich",
      "type": "n8n-nodes-base.httpRequest"
    },
    {
      "id": "aabb96ea-d0c5-4444-8a3b-b92fab9d57e8",
      "typeVersion": 3.4,
      "position": [
        260,
        200
      ],
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "p1",
              "name": "tier",
              "value": "standard",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "name": "Set Profile",
      "type": "n8n-nodes-base.set"
    },
    {
      "id": "21a93948-f7f6-43f3-b4c2-0d6007d898e3",
      "typeVersion": 3,
      "position": [
        520,
        100
      ],
      "parameters": {
        "mode": "combine",
        "combineBy": "combineByPosition",
        "options": {}
      },
      "name": "Merge",
      "type": "n8n-nodes-base.merge"
    },
    {
      "id": "d6a3698a-a25b-4bd2-9b92-6f9543280f0f",
      "typeVersion": 2,
      "position": [
        760,
        100
      ],
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "v1",
              "leftValue": "={{ $json.tier }}",
              "rightValue": "vip",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "name": "IF VIP",
      "type": "n8n-nodes-base.if"
    },
    {
      "id": "4d49703d-998d-4d84-a15c-831d259685fa",
      "typeVersion": 2.1,
      "position": [
        1000,
        0
      ],
      "parameters": {
        "resource": "deal",
        "operation": "create",
        "additionalFields": {}
      },
      "name": "HubSpot VIP",
      "type": "n8n-nodes-base.hubspot"
    },
    {
      "id": "6b9f1527-95eb-4115-a914-a2760882c75a",
      "typeVersion": 4.5,
      "position": [
        1000,
        200
      ],
      "parameters": {
        "operation": "append",
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {}
        },
        "options": {}
      },
      "name": "Sheets Std",
      "type": "n8n-nodes-base.googleSheets"
    },
    {
      "id": "65a2d739-3bc3-446a-8a49-a79c894bf18f",
      "typeVersion": 1.1,
      "position": [
        1240,
        100
      ],
      "parameters": {
        "respondWith": "json",
        "responseBody": "{ \"ok\": true }",
        "options": {}
      },
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook"
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "HTTP Enrich",
            "type": "main",
            "index": 0
          },
          {
            "node": "Set Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Enrich": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Profile": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "IF VIP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF VIP": {
      "main": [
        [
          {
            "node": "HubSpot VIP",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Sheets Std",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HubSpot VIP": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sheets Std": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "timezone": "Asia/Manila"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}