Automate systematic literature reviews with Google Drive, GPT-4, Gemini, Qdrant and Airtable
Ready for 3.0What this workflow does
This AI workflow has 31 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive, Embeddings Google Gemini, Google Gemini Chat Model and OpenAI Chat Model and 2 more.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Search files and folders (Google Drive): work with file folder
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Download PDF (Google Drive): download
- Extract PDF Text (Extract from File): extracts data from a file (pdf)
- Cut of bibliography (Code): runs custom JavaScript code
- SLR Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- If: checks a condition and branches into true / false
- Scoring Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Log Excluded Paper (Airtable): create
- Route to sub topic (Switch): routes items into 3 branches
…plus 8 more steps. See the full node list below.
Services it uses
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.
Nodes used (15)
- Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Manual Trigger
n8n-nodes-base.manualTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Airtable
n8n-nodes-base.airtable - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch
From the author
How it works - Automates systematic literature review by downloading papers from Google Drive, extracting text, and evaluating them against strict inclusion/exclusion criteria using LLM agents - Routes included papers to Qdrant vector stores with Gemini…