AutomationFlowsAI & RAG › Customer Personality (bazi, Disc, Numerology) with Gemini & Google Sheets

Customer Personality (bazi, Disc, Numerology) with Gemini & Google Sheets

ByCong Nguyen @cong-nguyen on n8n.io

This workflow turns your n8n into an automated personality-insights engine driven by Google Sheets. When a row is updated with Analysis Status = Run, it: Computes Lunar Date of Birth and Four Pillars (BaZi) from DOB and optional birth time. Calculates Numerology (Life Path,…

Event trigger★★★★☆ complexityAI-powered24 nodesGoogle Sheets TriggerGoogle SheetsGoogle Gemini
AI & RAG Trigger: Event Nodes: 24 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #8051 — we link there as the canonical source.

This workflow follows the Googlegemini → Google Sheets 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
{
  "nodes": [
    {
      "id": "1830c823-4513-4ef3-90d2-c76c32574cbe",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -32,
        352
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "872f99cc-9a63-4f54-8e17-ef77a04d19ab",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        848
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b6f1df09-ff2a-4f8d-82b4-be386cf60e7e",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        656
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8b03f1c0-4618-40aa-ae45-04db1c82fe82",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        448
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c9372ec7-1152-479a-95b3-d2b3a2b2a9ff",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2096,
        624
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "91c350a4-ae83-4973-b50f-584bd52032fe",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2096,
        832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "21be391a-4121-4640-9889-3505a67f3e6d",
      "name": "Update row in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        432
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "545ae9fb-af0a-4902-9112-ba923c106156",
      "name": "Update row in sheet2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        640
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "27578658-3119-4726-ba00-943e2b11b31f",
      "name": "Update row in sheet3",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1840,
        832
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "546a1f41-9bf6-4a93-99ad-4e5882d46d96",
      "name": "Update row in sheet4",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        880,
        176
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "d9a135fe-3522-4697-8638-abaffff61eca",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        176,
        352
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "720d5e54-999d-4c37-b7ab-b117d00b1675",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        880,
        352
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f9e5cbfa-e82e-4d9e-b252-baffcb4433a9",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1200,
        224
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "ed97228e-8590-4a9f-8b92-07a07cfef0f7",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2208,
        224
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "5e06bfdc-4cce-4e24-9172-82e776b57231",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bedb9097-a577-4705-9b82-0f8c9fc72b29",
      "name": "Compute Bazi",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "4a551a1b-faa8-4c36-a31c-28ea7dcf3857",
      "name": "Compute Numerology",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        352
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "02af4f4c-b58d-4284-bb58-1ca473cd8276",
      "name": "Numerology analysis",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1456,
        432
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "49c88283-828a-46d2-8a9e-425e423739ec",
      "name": "Bazi Analysis",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1456,
        640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1aa1c178-e987-4af3-939f-239cf6e7cd4d",
      "name": "DISC Analysis",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1456,
        832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ff31f356-4935-43e5-80a7-f83a752c093c",
      "name": "Summary Customer Insight",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1456,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "92866b3d-681f-44f4-b395-9a9ffa193b10",
      "name": "Writing Script for Salers",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1808,
        224
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5220ff92-68a2-4007-8c94-1285f4c2a1cd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        512
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "63e91a2d-bd2b-40e9-8534-7880c9a89adb",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        768
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "DISC Analysis",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Bazi Analysis",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "Numerology analysis",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Compute Bazi",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute Bazi": {
      "main": [
        [
          {
            "node": "Compute Numerology",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bazi Analysis": {
      "main": [
        [
          {
            "node": "Update row in sheet2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DISC Analysis": {
      "main": [
        [
          {
            "node": "Update row in sheet3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          },
          {
            "node": "If1",
            "type": "main",
            "index": 0
          },
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute Numerology": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update row in sheet4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Summary Customer Insight",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Numerology analysis": {
      "main": [
        [
          {
            "node": "Update row in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update row in sheet1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update row in sheet2": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Update row in sheet3": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summary Customer Insight": {
      "main": [
        [
          {
            "node": "Writing Script for Salers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Writing Script for Salers": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

This workflow turns your n8n into an automated personality-insights engine driven by Google Sheets. When a row is updated with Analysis Status = Run, it: Computes Lunar Date of Birth and Four Pillars (BaZi) from DOB and optional birth time. Calculates Numerology (Life Path,…

Source: https://n8n.io/workflows/8051/ — 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

d27-image-generate. Uses googleSheets, googleGemini, googleDrive, googleSheetsTrigger. Event-driven trigger; 7 nodes.

Google Sheets, Google Gemini, Google Drive +1
AI & RAG

Note: Now includes an Apify alternative for Rapid API (Some users can't create new accounts on Rapid API, so I have added an alternative for you. But immediately you are able to get access to Rapid AP

Form Trigger, Google Sheets Trigger, OpenAI +2
AI & RAG

This system automates LinkedIn lead generation and enrichment in six clear stages: Lead Collection (via Apollo.io) Automatically pulls leads based on keywords, roles, or industries using Apollo’s API.

Form Trigger, OpenAI, Google Sheets Trigger +2
AI & RAG

Most expense tracker apps (like Money Lover, Spendee, or Wallet) have a common friction point: Data Entry. You have to unlock your phone, find the app, wait for it to load, navigate menus, and manuall

Google Sheets, Google Gemini, Telegram +2
AI & RAG

Sales Lead Qualifier. Uses telegramTrigger, googleSheets, telegram, googleGemini. Event-driven trigger; 41 nodes.

Telegram Trigger, Google Sheets, Telegram +3