AutomationFlowsAI & RAG › Gmail → Supabase AI Email Parser

Gmail → Supabase AI Email Parser

Original n8n title: Santander Email to Supabase

Santander Email to Supabase. Uses gmailTrigger, openAi, supabase. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexityAI-powered3 nodesGmail TriggerOpenAISupabase
AI & RAG Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

This workflow follows the Gmail Trigger → OpenAI 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": "Santander Email to Supabase",
  "nodes": [
    {
      "parameters": {
        "pollInterval": "10m"
      },
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "prompt": "Analyze the email body and extract the transaction details.\nReturn a JSON with:\n- amount (number, negative for expenses)\n- description (string, merchant or concept)\n- date (YYYY-MM-DD)\n- category (guess based on description: 'materials', 'services', 'taxes', 'other')\n\nEmail Body:\n{{$json.snippet}}",
        "options": {}
      },
      "name": "AI Parser (Gemini/OpenAI)",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        450,
        300
      ],
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "table": "transactions",
        "columns": "amount, description, date, category, source",
        "schema": "public"
      },
      "name": "Supabase Writer",
      "type": "n8n-nodes-base.supabase",
      "typeVersion": 1,
      "position": [
        650,
        300
      ],
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "AI Parser (Gemini/OpenAI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Parser (Gemini/OpenAI)": {
      "main": [
        [
          {
            "node": "Supabase Writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

Santander Email to Supabase. Uses gmailTrigger, openAi, supabase. Event-driven trigger; 3 nodes.

Source: https://github.com/manager-estimator/meraki-control-panel/blob/9fb4183fc532f57e1fa1995e581f78f1c0cd03c1/n8n/bank_email_workflow.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 automated quote generation system that monitors your inbox, classifies quote requests using AI, calculates intelligent pricing based on historical data, and provides a professional dashboard for re

Gmail Trigger, OpenAI, Supabase +2
AI & RAG

• The OpenAI API is used for automatic email classification, which incurs a small per-request cost. See OpenAI Pricing for up-to-date info. • You can easily expand the categories or connect more Slack

Gmail Trigger, Slack, OpenAI +2
AI & RAG

Gmail受信メール処理ワークフロー(Step2). Uses gmailTrigger, openAi. Event-driven trigger; 4 nodes.

Gmail Trigger, OpenAI
AI & RAG

gmailAutoResponse. Uses gmailTrigger, openAi, gmail. Event-driven trigger; 3 nodes.

Gmail Trigger, OpenAI, Gmail
AI & RAG

This workflow converts emailed timesheets into structured invoice rows in Google Sheets and stores them in the correct Google Drive folder structure.

Gmail Trigger, OpenAI, Google Sheets +2