Skip to product information

Earthquake Safety Alerts: P2PQuake, LINE & Google Sheets Automation

Earthquake Safety Alerts: P2PQuake, LINE & Google Sheets Automation

 (200+Reviews)
Regular price £69.99
Regular price £69.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Earthquake Safety Alerts: P2PQuake, LINE & Google Sheets Automation

Earthquake Safety Alerts: P2PQuake, LINE & Google Sheets Automation

Regular price £69.99
Regular price £69.99 Sale price
SAVE Sold out

Earthquake Safety Alerts that automatically reach the right people—every 30 minutes

This n8n workflow monitors the P2PQuake earthquake API, matches impacted prefectures against employees in Google Sheets, and sends targeted safety check messages via the LINE Messaging API—while logging registrations and responses back to Sheets.

What this workflow does

  • Polls P2PQuake every 30 minutes and requests the latest earthquake data filtered to seismic intensity 4+.
  • Prevents duplicate alerts by reading the last processed earthquake ID from a Google Sheets control sheet and comparing it to the newest event.
  • Finds affected employees: loads the employee directory from Google Sheets and checks whether each employee’s home or work prefecture matches any impacted prefecture in the earthquake points.
  • Sends LINE push messages to each affected employee’s stored LINE user ID with a safety check.
  • Updates tracking in Google Sheets (latest earthquake ID and last-checked timestamp).
  • Handles LINE replies via webhook: incoming LINE webhook events are processed to interpret replies of 1, 2, or 3 as employee safety status updates (Safe, Needs Help, or Other) and records response time in Google Sheets.
  • Registers new employees automatically if the message doesn’t match the expected reply options—appending a new employee record to the sheet.

Use cases

  • Automated earthquake check-ins for office and field teams using LINE.
  • Small-to-mid SaaS operators needing a reliable “who is impacted?” workflow tied to Sheets.
  • Business continuity processes that log safety status and response timing without manual effort.

Technical details

  • n8n nodes: if, switch, webhook, http request, limit, plus a sticky note.
  • Integrations: P2PQuake API polling, Google Sheets (control sheet + employee directory), and LINE Messaging API (channel + webhooks).
  • Core logic: earthquake ID de-duplication, prefecture matching (home/work), webhook-driven status updates.
View full details