AutomationFlowsAI & RAG › Complexity-004: Multiple Unrelated Concerns in One Workflow

Complexity-004: Multiple Unrelated Concerns in One Workflow

COMPLEXITY-004: Multiple unrelated concerns in one workflow. Uses gmail, slack, postgres, googleDrive. Webhook trigger; 15 nodes.

Webhook trigger★★★★☆ complexityAI-powered15 nodesGmailSlackPostgresGoogle DriveGoogle CalendarAgentTwitterStripe
AI & RAG Trigger: Webhook Nodes: 15 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "COMPLEXITY-004: Multiple unrelated concerns in one workflow",
  "nodes": [
    {
      "id": "n1",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ]
    },
    {
      "id": "n2",
      "name": "Email Reader",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2,
      "position": [
        200,
        -200
      ]
    },
    {
      "id": "n3",
      "name": "Slack Poster",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2,
      "position": [
        200,
        -100
      ]
    },
    {
      "id": "n4",
      "name": "DB Query",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2,
      "position": [
        200,
        0
      ]
    },
    {
      "id": "n5",
      "name": "File Upload",
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        200,
        100
      ]
    },
    {
      "id": "n6",
      "name": "Calendar Create",
      "type": "n8n-nodes-base.googleCalendar",
      "typeVersion": 1,
      "position": [
        200,
        200
      ]
    },
    {
      "id": "n7",
      "name": "AI Summarize",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.6,
      "position": [
        400,
        -200
      ]
    },
    {
      "id": "n8",
      "name": "AI Translate",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.6,
      "position": [
        400,
        -100
      ]
    },
    {
      "id": "n9",
      "name": "AI Classify",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.6,
      "position": [
        400,
        0
      ]
    },
    {
      "id": "n10",
      "name": "Twitter Post",
      "type": "n8n-nodes-base.twitter",
      "typeVersion": 2,
      "position": [
        400,
        100
      ]
    },
    {
      "id": "n11",
      "name": "Invoice Gen",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        400,
        200
      ]
    },
    {
      "id": "n12",
      "name": "Payment Process",
      "type": "n8n-nodes-base.stripe",
      "typeVersion": 2,
      "position": [
        600,
        -100
      ]
    },
    {
      "id": "n13",
      "name": "CRM Update",
      "type": "n8n-nodes-base.hubspot",
      "typeVersion": 2,
      "position": [
        600,
        0
      ]
    },
    {
      "id": "n14",
      "name": "Analytics Send",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        600,
        100
      ]
    },
    {
      "id": "n15",
      "name": "Final Merge",
      "type": "n8n-nodes-base.merge",
      "typeVersion": 3,
      "position": [
        800,
        0
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Email Reader",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "DB Query",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Reader": {
      "main": [
        [
          {
            "node": "AI Summarize",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Slack Poster",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DB Query": {
      "main": [
        [
          {
            "node": "AI Classify",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "File Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Summarize": {
      "main": [
        [
          {
            "node": "Payment Process",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Classify": {
      "main": [
        [
          {
            "node": "CRM Update",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "File Upload": {
      "main": [
        [
          {
            "node": "Twitter Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calendar Create": {
      "main": [
        [
          {
            "node": "Invoice Gen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Payment Process": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "CRM Update": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Analytics Send": {
      "main": [
        [
          {
            "node": "Final Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

COMPLEXITY-004: Multiple unrelated concerns in one workflow. Uses gmail, slack, postgres, googleDrive. Webhook trigger; 15 nodes.

Source: https://github.com/Pisama-AI/pisama-n8n/blob/main/server/tests/fixtures/complexity/04-COMPLEXITY-multi-concern.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

🧾 An intelligent automation system that turns Google Meet recordings into structured meeting notes — integrating Fireflies.ai, OpenAI GPT-4.1-mini, Notion, Slack, Google Drive, and Gmail via n8n.

Google Drive, OpenAI Chat, Output Parser Structured +8
AI & RAG

Who is this for? Agencies, consultants, and service providers who conduct discovery calls and need to quickly turn conversations into professional proposals.

Tool Think, Tool Calculator, Agent Tool +18
AI & RAG

This workflow receives free-signup events via webhook, enriches the contact with Twain research (and optional Findymail LinkedIn lookup), uses Anthropic Claude to score ICP fit, then routes outcomes t

Slack, HTTP Request, Agent +6
AI & RAG

This template uses the Apify LinkedIn Profile Scraper, which is a community node only available in self-hosted n8n installations. The LinkedIn scraping step is optional and can be removed for n8n Clou

HTTP Request, Perplexity, Slack +8
AI & RAG

This workflow automates the entire process of taking a raw user-submitted script, rewriting it into a polished HeyGen-ready narration, generating a full avatar video, handling all processing checks, r

HTTP Request, Agent, Memory Buffer Window +6