Check manuscript references for retractions with Crossref, OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 58 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects OpenAI Chat Model, HTTP Request, Data table and Gmail. It also calls api.crossref.org over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Reference check settings (Edit Fields (Set)): sets 6 fields: editor_email, integrity_officer_email, crossref_mailto…
- Monitoring settings (Edit Fields (Set)): sets 2 fields: check_webhook_url, crossref_mailto
- Create checks table (Data table): create (table)
- Alert editorial ops (Gmail): uses Gmail
- Normalize and validate request (Code): runs custom JavaScript code
- Get watched manuscripts (Data table): get (row)
- Create watch-list table (Data table): create (table)
- Is the request valid? (If): checks a condition and branches into true / false
- Collect DOIs to re-check (Code): runs custom JavaScript code
- Find earlier checks of this manuscript (Data table): get (row)
…plus 38 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623)
HTTP calls to: api.crossref.org
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (19)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Http Request Tool
n8n-nodes-base.httpRequestTool - Data Table Tool
n8n-nodes-base.dataTableTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow receives a manuscript’s reference list via a header-authenticated webhook, checks each citation against Crossref (including Retraction Watch data) and doi.org, uses OpenAI to draft editor-facing integrity memos and author queries…