Skip to content

About

n8n workflow automation for a 'Scam Checker' bot that looks up reported scammers via a Supabase database.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Scam Checker (n8n + LINE + Supabase)

An automation for a LINE bot that helps people check whether a phone number or a name has been reported as a scammer. Built with n8n, a Supabase (PostgreSQL) database and Google Gemini for understanding free-text messages.

Student project, 2025-2026. The workflow files are n8n exports; credentials are referenced by name only and no secrets are stored here.

How it works

  1. A user messages the LINE bot (a phone number, a name, or a command such as report / help / stats).
  2. n8n receives the message through a webhook and uses Gemini to work out the intent.
  3. For a check, it looks the number or name up in the database (fuzzy search with pg_trgm) and replies with a result.
  4. For a report, it validates the input, stores it in the database and replies with a confirmation.

Files

File Purpose
Scam Checker Bot V14*.json Latest n8n workflow (webhook, database lookup, Gemini intent, LINE replies, report counter)
FULL VERSION.json, Scam Checker V10.json Earlier versions of the workflow
Scam Checker - Improved V4.js Message-handling code used inside an n8n Code node
Create100k.sql Database schema (tables, indexes, pg_trgm extension)
richmenu.py Generates the 4-panel LINE rich menu image
test2.json Small test workflow

Setup

  1. Create a Supabase project and run Create100k.sql in the SQL editor.
  2. Import a workflow JSON into n8n.
  3. Create your own credentials in n8n: LINE Messaging API token, Supabase/PostgreSQL connection, Gemini API key. None are included in this repo.
  4. Set the LINE webhook URL to your n8n webhook.
  5. (Optional) run python richmenu.py to generate the rich menu image.

Safety note

All phone numbers in the examples (such as 0812345678) are fake placeholders. Do not commit real reports or API keys.

About

n8n workflow automation for a 'Scam Checker' bot that looks up reported scammers via a Supabase database.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages