Actions7
- AI Advice From Graph Actions
- Knowledge Graph Actions
Overview
The "Generate a Topical Summary" operation of the InfraNodus Graph RAG node provides AI-generated summaries based on an existing knowledge graph managed by InfraNodus. This operation leverages the InfraNodus API to analyze the structure and content of a specified graph, extracting topical insights, discourse optimizations, and summary statistics.
This node is beneficial in scenarios where users want to:
- Quickly understand the main topics and themes within a complex knowledge graph.
- Identify gaps or underexplored areas in their data or research.
- Generate concise summaries that can guide further exploration or decision-making.
- Use AI models to enhance the interpretability of graph data.
Practical examples include:
- Summarizing research literature mapped as a graph to identify key themes.
- Analyzing social network graphs to extract community topics.
- Generating executive summaries from interconnected project data.
Properties
| Name | Meaning |
|---|---|
| Graph Name | The name of the existing InfraNodus graph expert to use for generating the summary. This must correspond to a pre-existing graph in InfraNodus. |
| Request Mode | The type of AI request being made; for this operation, it is fixed as "graph summary". |
| AI Topics | Whether to generate AI topic names for graph clusters (hidden property, default true). |
| Discourse Optimization | Specifies how to optimize the discourse using parts of the graph; options relate to development focus (hidden property, default "develop"). |
| Do Not Save Graph | Indicates whether to save a new graph after processing; defaults to true, meaning no new graph will be saved (hidden property). |
| Add Graph Stats | Whether to add graph statistics to the response; defaults to true (hidden property). |
| Include Graph | Whether to include the full graph data in the response; defaults to false (hidden property). |
| Include Graph Summary | Whether to include the graph summary in the response; required and defaults to true. Options: Yes or No. |
| Include Extended Graph Summary | Whether to include extended information about gaps and keywords in the summary; defaults to true. Options: Yes or No. |
| Model to Use | Selects the AI model used for generating the summary. Options include Claude Opus 4.1, Claude Sonnet 4, Gemini 2.5 Flash (and Lite), GPT-4o (best), GPT-4o-Mini (fastest), GPT-5 (slowest, reasoning), GPT-5-Mini (faster reasoning). |
Output
The node outputs JSON data containing the AI-generated summary of the specified InfraNodus graph. The output typically includes:
- A textual summary of the graph's main topics and discourse.
- Optional extended details such as identified content gaps and keyword highlights.
- Graph statistics if enabled, providing metadata about the graph structure.
- Optionally, the full graph data if requested.
No binary data output is indicated for this operation.
Dependencies
- Requires access to the InfraNodus API at
https://infranodus.com/api/v1. - Requires an API authentication token credential configured in n8n to authorize requests.
- Uses various AI models accessible via InfraNodus for generating summaries.
- Network connectivity to InfraNodus service is necessary.
Troubleshooting
Common Issues:
- Invalid or non-existent graph name: Ensure the graph name provided matches an existing InfraNodus graph.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network timeouts or connectivity issues: Check internet connection and InfraNodus service status.
- Unsupported or incorrect model selection: Confirm the chosen AI model is available and spelled correctly.
Error Messages:
- "Graph not found": The specified graph name does not exist. Double-check the graph name input.
- "Unauthorized" or "Invalid API key": The API credential is missing or invalid. Reconfigure the API key.
- "Request timeout": The InfraNodus API did not respond in time. Retry or check service availability.
- "Invalid parameter": One or more input properties are incorrectly set. Review property values, especially booleans and options.
Links and References
- InfraNodus Official Website
- InfraNodus API Documentation (assumed URL for reference)
- InfraNodus Knowledge Graph Visualization
- AI Models referenced:
- Claude (Anthropic)
- Gemini (Google)
- GPT-4o and GPT-5 series (OpenAI)
This summary is based solely on static analysis of the provided source code and property definitions without runtime execution.