Use this robust n8n workflow to automatically scrape Yahoo Finance market data via Bright Data, store results in Google Sheets, and generate visual market cap charts sent directly to Telegram.
Download this n8n workflow template and start using it instantly.
Financial analysts needing timely market data without manual scraping.
Market researchers requiring structured market cap data for multiple keywords.
Technical users looking for advanced examples of polling loops within an n8n workflow.
Individuals wanting to deploy automated, visualized financial reports using n8n templates.
Manually tracking market capitalization data across various companies or sectors can be extremely time-consuming and error-prone. This advanced n8n workflow solves this by fully automating the data pipeline, leveraging specialized tools to ensure high-quality, structured results.
This n8n automation utilizes a user-input keyword to initiate a powerful web scraping job through Bright Data, targeting specific financial information (like Market Cap, EPS, Volume) often found on Yahoo Finance. Once the scraping job is complete, the data is pulled back into the n8n environment, cleaned, stored in Google Sheets for archiving, and immediately processed into a dynamic chart. The final visualization is then sent instantly to a designated Telegram chat, providing zero-touch, visual reporting. This complex n8n template demonstrates effective use of APIs for scraping, asynchronous job monitoring, data transformation using a Code n8n node, and final delivery.
This powerful n8n workflow is initiated by the ๐ฉ Form Trigger n8n node. The user provides a keyword (e.g., 'MSFT', 'Crypto') via the form, which serves as the input for the scraping job.
๐ Trigger Scraping1 HTTP Request n8n node immediately calls the Bright Data API, passing the user-supplied keyword to start the scraping process for the specified dataset.๐ก Check Delivery Status) to check the job status. The ๐ Wait 1 minute1 n8n node introduces a polling delay. The ๐ข Check Final Status If n8n node validates if the job status is 'ready'. If not, the flow loops back to the Wait n8n node, creating a robust, self-correcting automation.๐ฝ final data given (Snapshot Fetch) HTTP Request n8n node pulls the final, structured JSON data snapshot containing all financial metrics.๐ Filtered Output & Save to Sheet Google Sheets n8n node appends all extracted data (including market cap, volume, and EPS) to a designated spreadsheet row for persistence and further analysis.๐งฎ Generate Chart Payload Code n8n node transforms the raw market cap strings (handling 'T', 'B', 'M' suffixes) into numerical values in billions and formats the data into a QuickChart JSON structure.๐ Generate PNG from Chart HTTP Request n8n node sends the chart JSON to the QuickChart API, resulting in a binary PNG image output.๐ค Send Chart on Telegram Telegram n8n node takes the binary image data and sends the resulting market cap visualization directly to the configured Telegram chat, completing the automated reporting cycle. This entire process demonstrates the power of a combined data extraction and reporting n8n workflow.To utilize this n8n workflow template, follow these setup steps:
๐ Trigger Scraping1, ๐ก Check Delivery Status, ๐ฝ final data given) by replacing BRIGHTDATAAPIKEY with your actual Bright Data bearer token.๐ Filtered Output & Save to Sheet n8n node, ensuring you link to the correct spreadsheet URL and sheet name.๐ค Send Chart on Telegram n8n node and update the chatId parameter to your target chat ID.๐ฉ Form Trigger n8n trigger is active. You can execute the n8n workflow manually for testing by clicking 'Execute Workflow' and submitting test data through the generated form URL.datasetid in the initial Bright Data HTTP Request n8n node matches your expected Yahoo Finance dataset ID. ๐ฉ Form Trigger (n8n trigger): This is the starting point of the n8n workflow. It is configured to accept a keyword input from the user via a submission form, initiating the data retrieval for that specific keyword.
๐ Trigger Scraping1 (HTTP Request n8n node): Responsible for starting the web scraping job on the Bright Data platform. Key configurations include using a POST method, specifying the target datasetid, and passing the user's keyword as the input body.
๐ก Check Delivery Status of Snap ID1 (HTTP Request n8n node): Used within the polling mechanism to query the Bright Data API using the snapshotid to determine if the data extraction job is complete.
๐ Wait 1 minute1 (Wait n8n node): A core logic n8n node that pauses the n8n workflow execution for 60 seconds, preventing excessive API calls during the polling phase.
๐ข Check Final Status (If n8n node): Implements flow control. It checks if the status returned by Bright Data equals 'ready'. If true, the n8n workflow proceeds; otherwise, it loops back to the Wait n8n node.
๐ฝ final data given (Snapshot Fetch) (HTTP Request n8n node): This fetches the final structured JSON data when the Bright Data job is 'ready'.
๐ Filtered Output & Save to Sheet (Google Sheets n8n node): Performs the data persistence step. It uses the 'append' operation to save various metrics like market_cap, name, eps, and volume into the specified Google Sheet.
๐งฎ Generate Chart Payload (Code n8n node): This customization n8n node cleans and transforms the market cap data (converting T, B, M notations to numerical values in Billions) and creates the JSON structure necessary for QuickChart.io visualization.
๐ Generate PNG from Chart (HTTP Request n8n node): Calls the QuickChart service, embedding the generated chart JSON in the URL query parameter to render the resulting chart image as binary data.
๐ค Send Chart on Telegram (Telegram n8n node): The final output n8n node. It uses the binary data feature to send the generated PNG chart directly to the configured Telegram chat ID, providing an immediate visual report from this n8n template.
Automate lead generation by scraping Google Maps results using this robust n8n workflow. Extract business websites, crawl content via Apify, and use GPT-4o to find and structure email contacts, storing data in Google Sheets.

Use this powerful n8n workflow to automatically upload PDF files, convert them to HTML using PDF.co, and efficiently extract all embedded links and URLs using a custom n8n node.

Use this powerful n8n workflow to extract structured LinkedIn company data, including funding, scale, and AI classification, using the Airtop n8n node. This reusable n8n template streamlines market research and lead enrichment.

Use this powerful n8n workflow to automate marketing research. It leverages Dumpling AI to extract TikTok transcripts and GPT-4 agents for deep analysis, generating pain points, desired outcomes, and ready-to-use marketing copy. Easily import these n8n templates.

Use this powerful n8n workflow to automatically fetch Google reviews via Dumpling AI and leverage GPT-4 for deep analysis, extracting marketing angles, product opportunities, and customer motivations. Save insights directly to Google Sheets.








































