Skip to main content

Automated academic paper metadata & variable extraction with Gemini to Google Sheets

Workflow preview

Workflow preview
100%
Automated academic paper metadata & variable extraction with Gemini to Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

In the social and behavioral sciences (e.g., psychology, sociology, economics, management), researchers and students often need to normalize academic paper metadata and extract variables before a...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.splitinbatches, n8n-nodes-base.googlesheets, n8n-nodes-base.wait, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.outputparserautofixing, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated academic paper metadata & variable extraction with Gemini to Google Sheets
Workflow name
Automated academic paper metadata & variable extraction with Gemini to Google Sheets

๐Ÿ“šIn the social and behavioral sciences (e.g., psychology, sociology, economics, management), researchers and students often need to normalize academic paper metadata and extract variables before any literature review or meta-analysis.

๐ŸงฉThis workflow automates the busywork. Using an LLM, it processes CSV/XLSX/XLS files (exported from WoS, Scopus, EndNote, Zotero, or your own spreadsheets) into normalized metadata and extracted variables, and writes a neat table to Google Sheets.

๐Ÿ”— Example Google Sheet:ย click me

๐Ÿ‘ฅ Who is this for?

  • ๐ŸŽ“ Undergraduate and graduate students or researchers in soft-science fields (psychology, sociology, economics, business)
  • โฑ๏ธ People who donโ€™t have time to read full papers and need quick overviews
  • ๐Ÿ“Š Anyone who wants to automate academic paper metadata normalization and variable extraction to speed up a literature review

โš™๏ธ How it works

  1. ๐Ÿ“ค Upload an academic paper file (CSV/XLSX/XLS) in chat.
  2. ๐Ÿ“‘ The workflow creates a Google Sheets spreadsheet with two tabs: Checkpoint and FinalResult.
  3. ๐Ÿ”Ž A structured-output LLM normalizes core metadata (title, abstract, authors, publication date, source) from the uploaded file and writes it to Checkpoint; ๐Ÿ“ง a Gmail notification is sent when finished.
  4. ๐Ÿงช A second structured-output LLM uses the metadata above to extract variables (Independent Variable, Dependent Variable) and writes them to FinalResult; ๐Ÿ“ง youโ€™ll get a second Gmail notification when done.

๐Ÿ› ๏ธ How to set up

๐Ÿ”‘ Credentials

  • Google Sheets OAuth2 (read/write)
  • Gmail OAuth2 (send notifications)
  • Google Gemini (or any LLM you prefer)

๐Ÿš€ Quick start

  1. Connect Google Sheets, Gmail, and Gemini (or your LLM) credentials.
  2. Open File Upload Trigger โ†’ upload your CSV/XLSX/XLS file and type a name in chat (used as the Google Sheets spreadsheet title).
  3. Watch your inbox for status emails and open the Google Sheets spreadsheet to review Checkpoint and FinalResult.

๐ŸŽ› Customization

  • ๐Ÿ—‚๏ธ Journal lists: Edit the Journal Rank Classifier code node to add/remove titles. The default list is for business/management journalsโ€”swap it for a list from your own field.
  • ๐Ÿ”” Notifications: Replace Gmail with Slack, Teams, or any channel you prefer.
  • ๐Ÿง  LLM outputs: Need different metadata or extracted data? Edit the LLMโ€™s system prompt and Structured Output Parser.

๐Ÿ“ Note

  • ๐Ÿ“ Make sure your file includes abstracts. If the academic paper data you upload doesnโ€™t contain an abstract, the extracted results will be far less useful.
  • ๐Ÿงฉ CSV yields no items? Encoding mismatches can break the workflow. If this happens, convert the CSV to .xls or .xlsx and try again.

๐Ÿ“ฉ Help

Contact: [email protected]

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 - XLS Data Extractor

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

Block 2 - CSV Data Extractor

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

Block 3 - Paper Metadata Extractor

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 4 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - Create spreadsheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Read Write in Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Wait for 3s.

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

Block 8 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 9 - Auto-fixing Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserAutofixing - outputParserAutofixing
Config choices
Version 1

Block 10 - Data Formatter

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

Block 11 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 12 - Save to Checkpoint Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 13 - File Type Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 14 - XLSX Data Extractor

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

Block 15 - Error Message Handler

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - File Upload Trigger

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.3

Block 17 - When Executed by Another Workflow

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

Block 18 - Academic Variables Extractor

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 19 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 20 - Journal Rank Classifier

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

Block 21 - Batch Processor

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 22 - WOS Field Mapper

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Final Data Mapper

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Read Checkpoint Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

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

3. Summary Table

Workflow Automated academic paper metadata & variable extraction with Gemini to Google Sheets
Complexity advanced
Nodes 39
Categories Document Extraction, AI Summarization
Author OwenLee
Published 21 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9994/9994.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 Automated academic paper metadata & variable extraction with Gemini to Google Sheets do?

In the social and behavioral sciences (e.g., psychology, sociology, economics, management), researchers and students often need to normalize academic paper metadata and extract variables before a...

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 Document Extraction, AI Summarization use case.