Extract drug discovery intelligence with Claude, Voyage AI, Pinecone, Airtable and Slack

Go to Workflow
0 views
Built by Oneclick AI Squad Oneclick AI Squad
Created on September 02, 2026

Description

Quick Overview
This workflow runs daily to collect new drug-discovery items from PubMed, bioRxiv/medRxiv, a patents API, and ClinicalTrials.gov, extracts structured R&D intelligence with Anthropic Claude, embeds and indexes results in Pinecone, stores structured records in Airtable, and sends high-value alerts plus a run digest to Slack.

How it works
Runs daily at 6am (or manually) and loads the search keywords, watch-target list, thresholds, and destination settings.
Fetches recent publications from PubMed, preprints from bioRxiv/medRxiv, patent results from the configured patents API, and clinical trial updates from ClinicalTrials.gov.
Normalizes all source responses into a single document format and deduplicates against documents seen in previous runs using workflow static data.
Processes each new document one at a time and sends its text to Anthropic Claude to extract structured fields such as targets, molecules, mechanism of action, development stage, competing organizations, and a summary.
Scores each extraction for strategic relevance using watch-target matching and first-in-class signals, then creates a Voyage AI embedding and upserts it into Pinecone with metadata.
Upserts a structured intelligence record into Airtable and posts an immediate Slack alert for high-scoring discoveries.
Posts a Slack digest at the end of the run with a completion note and cumulative indexed-document count.

Setup
Add API credentials for Anthropic (Claude), Voyage AI, Pinecone, Airtable, and Slack.
Add and configure credentials for the HTTP sources you use (NCBI E-utilities/PubMed, bioRxiv API, your chosen patents API endpoint, and ClinicalTrials.gov), updating any required headers or keys.
Update the configuration values for searchKeywords, watchTargets, noveltyThreshold, Slack channel, Airtable base/table, and Pinecone index URL/namespace.
Create the target Airtable table with fields that match the written columns (for example URL, DocID, Title, Summary, Molecules, DrugTargets, SourceType, PublishedDate, IsFirstInClass, RelevanceScore, DevelopmentStage, MechanismOfAction, and CompetingOrganizations) and ensure your Pinecone index matches the Voyage embedding dimensions.

Nodes Used (4)

Airtable
n8n-nodes-base.airtable
Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
Slack
n8n-nodes-base.slack