{
  "name": "Gmail and QuickBooks Online workflow",
  "nodes": [
    {
      "id": "030584dd-ad50-49e3-a12e-49ccd867ae8c",
      "name": "Every Day at 8 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        0
      ]
    },
    {
      "id": "6b5f5472-b602-4775-b010-5b5a0fe77be5",
      "name": "New Email Receipt Received",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -80,
        -192
      ]
    },
    {
      "id": "bbd5cdaf-905a-4f5d-abb8-ff736e4b5aa9",
      "name": "Get New Receipt from Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        176,
        -96
      ]
    },
    {
      "id": "6f5e3ebf-fef1-4508-be4e-0e7d9f106c01",
      "name": "Forward the Receipt to QBO",
      "type": "n8n-nodes-base.gmail",
      "position": [
        416,
        -96
      ]
    },
    {
      "id": "2c05914d-8b61-4449-b55f-fe280939446c",
      "name": "Remove the Old Label",
      "type": "n8n-nodes-base.gmail",
      "position": [
        656,
        -96
      ]
    },
    {
      "id": "1cab2ebf-4f27-401c-a65e-d98486d367e7",
      "name": "Add the \"Processed\" Label",
      "type": "n8n-nodes-base.gmail",
      "position": [
        864,
        -96
      ]
    },
    {
      "id": "5645be8e-7cfc-47be-b492-9901877fb0d5",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        -752
      ],
      "parameters": {
        "width": 736,
        "height": 1328,
        "content": "## Automatically Forward Email Receipts to QuickBooks Online\n\n## What It Does  \nAre you tired of manually uploading email receipts to QuickBooks Online (QBO)? Are your email forwarding rules difficult"
      }
    },
    {
      "id": "214f3e76-bad5-485e-a093-e302642c7adf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -192
      ],
      "parameters": {
        "width": 224,
        "height": 288,
        "content": "This node will look for emails with the label you've selected"
      }
    },
    {
      "id": "813e7187-18e0-4d52-b39c-142de6041603",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        -192
      ],
      "parameters": {
        "width": 224,
        "height": 288,
        "content": "Please setup your QBO forwarding address here"
      }
    },
    {
      "id": "a50aac4a-8fb7-457b-a3dc-55879f50c547",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        592,
        -192
      ],
      "parameters": {
        "width": 448,
        "height": 288,
        "content": "This process prevents duplicate emails from being sent to QBO"
      }
    },
    {
      "id": "3d24c1e3-e40d-4f05-baff-7b5e34bec23b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -352
      ],
      "parameters": {
        "width": 256,
        "height": 512,
        "content": "The workflow executes when a new email with the matching label is received.\n\nA failsafe checks for emails that may have been missed"
      }
    }
  ],
  "connections": {
    "Every Day at 8 AM": {
      "main": [
        [
          {
            "node": "Get New Receipt from Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove the Old Label": {
      "main": [
        [
          {
            "node": "Add the \"Processed\" Label",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Forward the Receipt to QBO": {
      "main": [
        [
          {
            "node": "Remove the Old Label",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get New Receipt from Email": {
      "main": [
        [
          {
            "node": "Forward the Receipt to QBO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "New Email Receipt Received": {
      "main": [
        [
          {
            "node": "Get New Receipt from Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}