workflows.fit
Back to n8n workflows
n8n templateFreeBy lin@davoy.tech

Automated gold price threshold alerts via LINE with web scraping

Gold Price Alert This workflow template, "Gold Price Alert," is designed to monitor gold prices at regular intervals and send real-time notifications via LINE when the price exceeds a specified threshold. By leveragin...

DevelopmentCore NodesSchedule TriggerIfSticky NoteHttp Request
Loading interactive preview...

Template notes

Gold Price Alert This workflow template, "Gold Price Alert," is designed to monitor gold prices at regular intervals and send real-time notifications via LINE when the price exceeds a specified threshold. By leveraging the power of web scraping and automated alerts, this template ensures you stay informed about significant changes in gold prices without manual intervention.

Whether you're an investor, trader, or simply someone interested in tracking gold prices, this workflow provides a reliable and customizable solution for staying updated.

Who Is This Template For? - Investors & Traders: Who want to monitor gold prices and receive alerts when the price reaches a specific threshold. - Financial Analysts: Looking for automated tools to track commodity prices. Businesses: Operating in industries where gold prices impact operations or profitability. - Automation Enthusiasts: Seeking to build workflows that combine web scraping, data processing, and messaging platforms.

What Problem Does This Workflow Solve? Tracking gold prices manually can be time-consuming and prone to oversight, especially if you’re monitoring multiple sources or need alerts for specific thresholds.

This workflow solves that problem by:

- Automatically checking gold prices every 6 hours using a schedule trigger. - Extracting the latest price from a trusted source (e.g., Gold Traders Association ). - Sending instant notifications via LINE when the price exceeds a predefined threshold (e.g., 52,300 THB). - Reducing the need for constant manual checks while ensuring timely updates.

What This Workflow Does 1) Scheduled Trigger: The workflow is triggered every 6 hours to check the current gold price. 2) Fetch Webpage Content: It retrieves the HTML content of the webpage displaying the latest gold prices. 3) Extract Price Data: Using CSS selectors, the workflow extracts the relevant price data (e.g., buying price) from the HTML content. 4) Filter Prices: The extracted price is converted into a numeric format and compared against a predefined threshold (e.g., 52,300 THB). Alerts are only sent if the price exceeds this value. 5) Send Notification via LINE: If the condition is met, the workflow sends a notification to your LINE account with the current gold price.

Setup Guide Pre-Requisites - Access to the LINE Developers Console to configure your API Access Token - Basic knowledge of HTML and CSS selectors for extracting data from webpages. - Familiarity with n8n workflows and JSON formatting.