{
  "name": "Automate Stripe payment to QuickBooks sales receipt sync",
  "nodes": [
    {
      "id": "232125bf-9461-4a58-85f8-179c9f27efda",
      "name": "POST Sales Receipt",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1584,
        176
      ]
    },
    {
      "id": "6b94264e-15d4-4f8b-888d-64504f28068f",
      "name": "GET Quickbooks Customer",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        288,
        400
      ]
    },
    {
      "id": "951d7c63-a6ad-4118-847a-731ce808ecfb",
      "name": "Get Stripe Customer",
      "type": "n8n-nodes-base.stripe",
      "position": [
        -48,
        400
      ]
    },
    {
      "id": "0ee08d35-e9f7-4681-8ac8-c3735b14aceb",
      "name": "New Payment",
      "type": "n8n-nodes-base.stripeTrigger",
      "position": [
        -336,
        400
      ]
    },
    {
      "id": "a1e51699-c887-4483-8069-7f75f93db33d",
      "name": "If Customer Exists",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        400
      ]
    },
    {
      "id": "ba21ed79-fb8a-4407-83d3-fcd71b605c49",
      "name": "Create QuickBooks Customer",
      "type": "n8n-nodes-base.quickbooks",
      "position": [
        1536,
        576
      ]
    },
    {
      "id": "3a8a1a85-5bf4-4538-b02f-f381e3d07d6e",
      "name": "POST Sales Receipt To QuickBooks",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2448,
        576
      ]
    },
    {
      "id": "530cb260-ae13-4304-a8c4-a1a402d67a5a",
      "name": "Payment and Customer Payload",
      "type": "n8n-nodes-base.set",
      "position": [
        1072,
        176
      ]
    },
    {
      "id": "36c67d8c-886f-4d64-8dec-a82a9671156c",
      "name": "Stripe Customer Object",
      "type": "n8n-nodes-base.set",
      "position": [
        1040,
        576
      ]
    },
    {
      "id": "850dd5d4-1701-4da3-af51-efc9cef50484",
      "name": "Parse Customer",
      "type": "n8n-nodes-base.code",
      "position": [
        1232,
        576
      ]
    },
    {
      "id": "5a82db11-c52f-40be-af95-81a8ae49275f",
      "name": "Parse Json from QBO",
      "type": "n8n-nodes-base.code",
      "position": [
        1264,
        176
      ]
    },
    {
      "id": "6f044439-cb30-47a9-82e4-fcf0cfb052e4",
      "name": "Customer And Payment node",
      "type": "n8n-nodes-base.set",
      "position": [
        1904,
        576
      ]
    },
    {
      "id": "54f93d7b-1373-4c23-840e-d72c59da6835",
      "name": "Final Payload Parse",
      "type": "n8n-nodes-base.code",
      "position": [
        2096,
        576
      ]
    },
    {
      "id": "fd4bd9cb-481f-45c2-89a3-0a0ec09ea95b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c2f9c8d6-11e4-4a87-a520-72633ada4496",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "038a626b-ef7e-454e-9792-57df8f24dd3a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "34a4d846-f072-40d7-b9b6-21cfc93bf98b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "78014d7c-a438-4f15-a844-94edd1ddaf7c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c22dcfe7-1d2e-43da-9813-c30add353c40",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1520,
        48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8a23bf01-25a4-477c-a06a-a856225f0bb3",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1456,
        448
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e313b557-daa5-41f7-863a-4a1a3473f809",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        512
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "dc651ff5-8ad6-4932-8374-ffa85a42f917",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2384,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "688a3767-dea6-4737-9117-9d370bb69258",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "37694cbf-d08d-47bb-9889-33427d997501",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1024,
        -64
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "New Payment": {
      "main": [
        [
          {
            "node": "Get Stripe Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Customer": {
      "main": [
        [
          {
            "node": "Create QuickBooks Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Customer Exists": {
      "main": [
        [
          {
            "node": "Payment and Customer Payload",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Stripe Customer Object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "POST Sales Receipt": {
      "main": [
        []
      ]
    },
    "Final Payload Parse": {
      "main": [
        [
          {
            "node": "POST Sales Receipt To QuickBooks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Stripe Customer": {
      "main": [
        [
          {
            "node": "GET Quickbooks Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Json from QBO": {
      "main": [
        [
          {
            "node": "POST Sales Receipt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stripe Customer Object": {
      "main": [
        [
          {
            "node": "Parse Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GET Quickbooks Customer": {
      "main": [
        [
          {
            "node": "If Customer Exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Customer And Payment node": {
      "main": [
        [
          {
            "node": "Final Payload Parse",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create QuickBooks Customer": {
      "main": [
        [
          {
            "node": "Customer And Payment node",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Payment and Customer Payload": {
      "main": [
        [
          {
            "node": "Parse Json from QBO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}