{
  "name": "Automated tax filing with multi-platform revenue analysis using GPT-4",
  "nodes": [
    {
      "id": "4e9d2153-fff7-47ed-a147-c9fb0f6ba976",
      "name": "Daily Revenue Collection Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        48,
        592
      ]
    },
    {
      "id": "008f91ff-ef26-4662-ab0a-4a02d20855dc",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        272,
        592
      ]
    },
    {
      "id": "11e3761c-0758-4a29-a920-69f6517dc3aa",
      "name": "Get Stripe Transactions",
      "type": "n8n-nodes-base.stripe",
      "position": [
        496,
        384
      ]
    },
    {
      "id": "083910ec-522c-4a5c-873e-07479578d9f6",
      "name": "Get PayPal Transactions",
      "type": "n8n-nodes-base.payPal",
      "position": [
        496,
        560
      ]
    },
    {
      "id": "87a214ac-4981-4780-a311-6a0cc6d55e39",
      "name": "Get Shopify Orders",
      "type": "n8n-nodes-base.shopify",
      "position": [
        496,
        720
      ]
    },
    {
      "id": "f100403c-1244-4777-a37a-05c6c406b232",
      "name": "Get Bank Feed Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        496,
        880
      ]
    },
    {
      "id": "6b94add5-1a55-439e-9cb2-bc0a20bfae83",
      "name": "Merge All Revenue Sources",
      "type": "n8n-nodes-base.merge",
      "position": [
        768,
        560
      ]
    },
    {
      "id": "27426f0f-9d22-4f97-9e76-a863243d3bcf",
      "name": "Normalize Revenue Data",
      "type": "n8n-nodes-base.set",
      "position": [
        944,
        592
      ]
    },
    {
      "id": "bbaa1802-2a41-4f43-9213-dc1843dcdfab",
      "name": "AI Income Categorizer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1168,
        592
      ]
    },
    {
      "id": "746c406b-ecf3-49c3-8d70-ac6d8db5e74a",
      "name": "OpenAI GPT-4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1184,
        816
      ]
    },
    {
      "id": "a1fb3c02-0072-412d-b293-c9df532a8d28",
      "name": "Structured Category Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1312,
        816
      ]
    },
    {
      "id": "1abd80b4-d2b0-49cb-8da9-53339039a742",
      "name": "Calculate Category Totals",
      "type": "n8n-nodes-base.summarize",
      "position": [
        1440,
        592
      ]
    },
    {
      "id": "cacbdc51-1467-4e29-9f4b-8c08dc1e0808",
      "name": "Format Tax Submission Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1664,
        592
      ]
    },
    {
      "id": "a069b307-fced-47a5-9bfd-efe5bc2720a5",
      "name": "Check API Availability",
      "type": "n8n-nodes-base.if",
      "position": [
        1888,
        592
      ]
    },
    {
      "id": "5b6a6125-6112-4823-941c-cd4ee3924b62",
      "name": "Submit to Tax API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2112,
        496
      ]
    },
    {
      "id": "4d2c8770-ebf6-49f1-91bf-41d1f62d627f",
      "name": "Email to Tax Agent",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2112,
        688
      ]
    },
    {
      "id": "36bc14d9-acbe-4377-8b29-9ecef822f24e",
      "name": "Archive to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2528,
        640
      ]
    },
    {
      "id": "5e6d5e80-57cf-463a-926a-bf42500dabfc",
      "name": "Merge Submission Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        2336,
        592
      ]
    },
    {
      "id": "6046612d-e4f2-485b-b2b4-73442ea8c942",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        -96
      ],
      "parameters": {
        "width": 576,
        "height": 336,
        "content": "## Prerequisites\nStripe, PayPal, Shopify, or bank feed accounts; OpenAI API key; Gmail account .\n\n## Use Cases\nAccounting firms automating quarterly tax prep for multiple clients\n\n## Customization\nMod"
      }
    },
    {
      "id": "ca7c7a9d-3106-455a-906f-dbf332569c82",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": null,
        "content": "## Setup Steps\n1. Connect Stripe, PayPal, Shopify credentials via n8n authentication.\n2. Configure OpenAI GPT-4 API key for structured tax analysis.\n3. Connect Gmail account for report distribution an"
      }
    },
    {
      "id": "b09554e1-c0c4-4e1d-ad18-f97976440686",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -80
      ],
      "parameters": {
        "width": 720,
        "height": 256,
        "content": "## How It Works\nThis workflow automates monthly revenue aggregation from multiple financial sources, including Stripe, PayPal, Shopify, and bank feeds, while delivering intelligent tax forecasting thr"
      }
    },
    {
      "id": "566dc00b-c09a-45ae-a488-919d389fe9d4",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        272
      ],
      "parameters": {
        "width": 864,
        "height": 640,
        "content": "## Generate & Distribute\nWhat: Creates formatted reports, sends via Gmail to agents.\nWhy: Ensures real-time access, compliance documentation, and audit readiness."
      }
    },
    {
      "id": "57f8bc54-5382-4338-98dc-bac5d14792ae",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        272
      ],
      "parameters": {
        "width": 672,
        "height": 768,
        "content": "## AI Tax Analysis\nWhat: Applies OpenAI GPT-4 structured analysis to categorize income and forecast tax obligations.\nWhy: Delivers intelligent, context-aware tax projections beyond basic calculations."
      }
    },
    {
      "id": "a2bc1401-8b00-4033-8257-ed08a37bbe4a",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        272
      ],
      "parameters": {
        "width": 384,
        "height": 784,
        "content": "## Normalize & Merge\nWhat: Consolidates multi-source data into unified records.\nWhy: Enables accurate analysis by eliminating  inconsistencies."
      }
    },
    {
      "id": "f81cbfd7-20df-4056-9508-f5907cf45945",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        272
      ],
      "parameters": {
        "width": 672,
        "height": 784,
        "content": "## Fetch Revenue Data\nWhat: Collects transactions from Stripe, PayPal, Shopify, and bank feeds simultaneously.\nWhy: Provides comprehensive revenue visibility across all income.\n "
      }
    }
  ],
  "connections": {
    "OpenAI GPT-4": {
      "ai_languageModel": [
        [
          {
            "node": "AI Income Categorizer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Submit to Tax API": {
      "main": [
        [
          {
            "node": "Merge Submission Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email to Tax Agent": {
      "main": [
        [
          {
            "node": "Merge Submission Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get Bank Feed Data": {
      "main": [
        [
          {
            "node": "Merge All Revenue Sources",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Get Shopify Orders": {
      "main": [
        [
          {
            "node": "Merge All Revenue Sources",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "AI Income Categorizer": {
      "main": [
        [
          {
            "node": "Calculate Category Totals",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check API Availability": {
      "main": [
        [
          {
            "node": "Submit to Tax API",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email to Tax Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Submission Paths": {
      "main": [
        [
          {
            "node": "Archive to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Revenue Data": {
      "main": [
        [
          {
            "node": "AI Income Categorizer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Get Stripe Transactions",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get PayPal Transactions",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Shopify Orders",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Bank Feed Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get PayPal Transactions": {
      "main": [
        [
          {
            "node": "Merge All Revenue Sources",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get Stripe Transactions": {
      "main": [
        [
          {
            "node": "Merge All Revenue Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Category Totals": {
      "main": [
        [
          {
            "node": "Format Tax Submission Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Revenue Sources": {
      "main": [
        [
          {
            "node": "Normalize Revenue Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Tax Submission Data": {
      "main": [
        [
          {
            "node": "Check API Availability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Category Output": {
      "ai_outputParser": [
        [
          {
            "node": "AI Income Categorizer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Daily Revenue Collection Schedule": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}