This n8n workflow takes in a document such as a research paper, marketing or sales deck, or company filings, and breaks them down into three templates: study guide, briefing doc, and timeline.

These templates are designed to help a student, associate, or clerk quickly summarize, learn, and understand the contents to be more productive.

– Study guide: A short quiz of questions and answers generated by the AI Agent using the contents of the document.

– Briefing Doc: Key information and insights are extracted by the AI into a digestible form.

– Timeline: Key events, durations, and people are identified and listed into a simple to understand timeline by the AI.

How it works

A local file trigger watches a local network directory for new documents. New documents are imported into the workflow, its contents extracted and vectorized into a Qdrant vector store to build a mini-knowledge base.

The document then passes through a series of template generating prompts where the AI will perform “research” on the knowledge base to generate the template contents. Generated study guide, briefing, and timeline documents are exported to a designated folder for the user.

Requirements

– Self-hosted version of n8n.
– Qdrant instance for knowledge base.
– Mistral.ai account for embeddings and AI model.

Customizing your workflow

Try adding your own templates or adjusting the existing templates to suit your unique use case. Anything is quite possible and limited only by your imagination!

Want to go fully local? A version of this workflow is available which uses Ollama instead.