Use this powerful n8n workflow to analyze academic papers and citations. Automatically build structured network data (JSON/GEXF) using the PDF Vector n8n node, ready for Gephi visualization.
Download this n8n workflow template and start using it instantly.
Analyzing the relationships between academic papers is crucial for understanding research impact. However, retrieving paper data and structuring it correctly for graph visualization tools like Gephi can be complex. This advanced n8n workflow automates the entire process. It starts by accepting a list of paper identifiers (DOI, PubMed ID) and uses the specialized PDF Vector n8n node to fetch detailed metadata and citations.
By leveraging several custom Code n8n node steps, the data is transformed from simple API responses into a unified 'nodes' and 'edges' structure. This makes the n8n template highly effective for creating complex citation networks, eliminating manual data handling and ensuring your network graph is instantly exportable as structured JSON and Gephi-compatible GEXF files.
This sophisticated n8n workflow operates through a structured sequence of data fetching and manipulation steps:
Set Parameters n8n node defines the initial inputs: comma-separated seedPapers (e.g., DOIs) and the intended depth of the search.Split Paper IDs Code n8n node processes the input string, separating the identifiers and creating individual items for parallel processing.PDF Vector - Fetch Papers n8n node retrieves core metadata (title, authors, citation count) for each seed paper.Fetch Citing Papers n8n node uses the DOI of the seed paper to query the API for papers that reference (cite) the seed paper, establishing the first level of relationships.Build Network Data Code n8n node is essential. It takes the seed paper and its citing papers and generates a temporary set of nodes and edges for that specific data item, calculating node size based on citation count.Combine Network Code n8n node collects all the temporary network segments generated in the previous step, merging the nodes and edges arrays and deduplicating nodes based on their ID, resulting in one cohesive graph structure. This showcases the power of dynamic data aggregation within an n8n workflow.Export Network JSON n8n node and as a Gephi-compatible XML file via the Generate GEXF Code n8n node, finalizing the output of this comprehensive n8n template.To utilize this powerful n8n workflow, follow these steps:
Set Parameters n8n node and update the seedPapers value with the comma-separated DOIs or paper IDs you wish to analyze. Set Parameters (n8n node):
Function: Initializes the starting data for the n8n workflow.
Key Configuration: Sets seedPapers (comma-separated IDs) and depth.
Split Paper IDs (Code n8n node):
Function: Transforms the comma-separated string into multiple distinct items, allowing the subsequent nodes to loop through each paper independently.
Key Configuration: Uses JavaScript to split the seedPapers string.
PDF Vector - Fetch Papers (PDF Vector n8n node):
Function: Primary data retrieval, fetching essential metadata for the seed papers.
Key Configuration: Resource: academic, Operation: fetch, dynamically pulling the ID from the previous item (={{ $json.id }}).
Fetch Citing Papers (PDF Vector n8n node):
Function: Finds papers that cite the target paper, establishing directional edges.
Key Configuration: Operation: search, using a dynamic query based on the DOI (=references:{{ $json.doi }}).
Build Network Data (Code n8n node):
Function: Structures the data for a single seed paper and its citations into standard 'nodes' and 'edges' objects, a crucial step in this n8n template.
Combine Network (Code n8n node):
Function: Aggregates all network segments from the parallel loops into a single output item, managing deduplication of nodes.
Export Network JSON (Write Binary File n8n node):
Function: Saves the aggregated network data structure as a raw JSON file, ready for import into other systems.
* Key Configuration: Uses an expression to name the file based on the current date.
Build a robust, AI-ready knowledge base by automatically syncing documents from Microsoft Outlook and Notion into Pinecone. This comprehensive n8n workflow uses Cohere embeddings and GPT-4 to power a context-aware AI agent.

Build an instant Retrieval-Augmented Generation (RAG) knowledge base using this advanced n8n workflow. It automates file ingestion from Google Drive, uses OpenAI for embeddings, stores vectors in Pinecone, and enables querying via an n8n chat trigger.

Use this advanced n8n workflow template to automate building, reviewing, deploying, and fixing MVPs from simple chat prompts using OpenAI, GitHub, and Vercel. A powerful, self-healing CI/CD pipeline.

Use this powerful n8n workflow to automatically fetch, parse, and extract academic entities from research papers via PDF Vector, then structure and save the results into a Neo4j knowledge graph using GPT-4.

Automate your entire sales cycle using this advanced n8n workflow. A CSO AI agent orchestrates specialized n8n node agents for lead generation, copywriting, proposals, and follow-up using OpenAI models.

A fully featured PDF APIs for developers - Parse any PDF or Word document, extract structured data, and access millions of academic papers - all through simple APIs.







































