Skip to main content

Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini

Workflow preview

Workflow preview
100%
Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini preview
Open on n8n.io

1. Workflow Overview

Automatically scan major financial newswires for biotech catalyst events, score them with AI sentiment analysis, and surface ranked trade candidates — all without manual monitoring. Who's it for Tr...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.rssfeedread, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.datatable, n8n-nodes-base.scheduletrigger, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Minibox Digital.

Original n8n.io source

1.1 Workflow description

Title
Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini
Workflow name
Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini

Automatically scan major financial newswires for biotech catalyst events, score them with AI sentiment analysis, and surface ranked trade candidates — all without manual monitoring.

Who's it for

Traders and quant hobbyists who follow biotech stocks and want an automated pipeline to flag high-probability catalyst events (FDA approvals, Phase 3 readouts, M&A) before the market fully reacts.

How it works

The workflow runs four layers on a scheduled loop. Layer 0 polls PRNewswire, GlobeNewswire, and BusinessWire every minute and stores new articles in a data table. Layer 1 filters for biotech keywords, classifies the event type, and runs FinBERT sentiment analysis via HuggingFace — only PROCEED events advance. Layer 2 pulls real-time quotes and 20-day volume bars from Alpaca to calculate spread percentage and relative volume. Layer 3 sends qualifying candidates through a Gemini LLM prompt for final trade scoring and stores results.

How to set up

  1. Add your HuggingFace API credential in n8n
  2. Add your Google Gemini API credential in n8n
  3. Open the Alpaca - latest bars node and paste your Alpaca API key and secret
  4. Create five data tables: news_events, processed_events, trade_candidates, llm_analysis, market_snapshots
  5. Activate each schedule trigger

Requirements

  • n8n with Data Tables enabled (self-hosted or cloud)
  • HuggingFace account (free tier)
  • Alpaca Markets account (free tier)
  • Google Gemini API key

How to customize

Swap the GlobeNewswire RSS feed URL to target a different sector. Adjust the biotech keyword list in the Biotech Keyword Filter node. Tune the spread % and relative volume thresholds in Eligibility Check to tighten or loosen your trade criteria.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - PRNewswire

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 2 - GlobeNewswire

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 3 - Merge All Feeds

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 4 - Normalize & Extract Tickers

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Store in news_events

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 6 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 7 - Fetch all data

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 8 - Fetch All News

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 9 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 11 - Proceed Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Drop Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Proceed to Stage 1?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 14 - Mark as Processed

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 15 - Store in processed_events

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 16 - Make Decision

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - FinBERT Sentiment API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 18 - Classify Event Type

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Biotech Keyword Filter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 20 - Fetch Unprocessed News

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 21 - Respond to Webhook1

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 22 - Fetch all UnProcessed Data

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 23 - Fetch all Unprocessed

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 24 - Schedule Trigger1

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Showing the first 24 of 75 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini
Complexity advanced
Nodes 75
Categories Crypto Trading, AI Summarization
Author Minibox Digital
Published 21 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15192/15192.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scan biotech news for catalyst trades with FinBERT, Alpaca, and Gemini do?

Automatically scan major financial newswires for biotech catalyst events, score them with AI sentiment analysis, and surface ranked trade candidates — all without manual monitoring. Who's it for Tr...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.