workflows.fit
Back to n8n workflows
n8n templateFreeBy InfraNodus

Generate visual summary & knowledge graph insights for your email

The Ultimate Gmail Analysis and Visual Summarization Template This workflow showcases various useful Gmail search, filter, and AI categorization operations and generates a knowledge graph for your mail using the [Infr...

DevelopmentCore NodesCommunicationHITLAILangchainSticky NoteHttp Request
Loading interactive preview...

Template notes

The Ultimate Gmail Analysis and Visual Summarization Template

This workflow showcases various useful Gmail search, filter, and AI categorization operations and generates a knowledge graph for your mail using the [InfraNodus GraphRAG API](https://infranodus.com/use-case/ai-knowledge-graphs), which you can use to reveal the main topics and blind spots in your correspondence.

InfraNodus will then target those blind spots to generate interesting research questions for you and send the topical summary and insights via Telegram. You can also click the generated graph and explore the blind spots inside [InfraNodus](https://infranodus.com) using the interactive visual interface:

![InfraNodus structural gap](https://infranodus.com/images/front/infranodus-structural-gaps-ideas@2x.jpg)

What is it useful for?

- Learn about advanced Gmail search, filtering, and AI categorization functions that can be useful for your other workflows - Analyze all your personal messages for the last week to get an overview of the main topics - Analyze all your Sent messages to find recurrent topics and gaps and generate ideas based. on those gaps - Generate ideas based on specific message filters (Personal, Promos, from a specific person, AI-defined criteria, e.g. urgency) - Get an overview of an interaction with a specific person / company - Get an overview of your notes - Generate new ideas based on your correspondence on a certain topic (e.g. "business") - Learn about various n8n nodes useful for email processing, filtering, and data conversion - Never miss important topics, use AI filter to get notified of the urgent and important emails via Telegram

How it works This template can be triggered in multiple ways: - automatically in regular intervals (daily, weekly), - manually in n8n, or - via a private password-protected URL form where you can specify your search and filtering criteria

When you start the workflow, you specify: - your Gmail search filters (can be combined, e.g. after:2025/06/01 label:personal business to search for all emails received after 1 June 2025, filed in the Personal category containing the word "business". (optional, if empty, will retrieve all the emails or limited to the number you set in the Gmail node) - Additional Gmail labels (e.g. SENT or CATEGORYPERSONAL or your custom categories). Use the search filter for faster processing (e.g. prefer label:person to CATEGORYPERSONAL, but labels can be useful for additional filtering for your search queries) (optional, if empty, will retrieve all the emails) - AI filtering criteria — set an additional classification criteria used to filter out the emails, e.g. "Only the urgent, personal emails" — in that case, AI classification node working with Google's Gemini AI will be activated and will only pass through the email based on the criteria you specify. - Whether you want to build a text graph or a social graph — see the workflow for detailed explanation of each - Use snippets of emails (default) or full text (for thorough analysis). We prefer snippets as it's faster and your graph context doesn't get biased towards longer emails this way.