This n8n workflow automates the extraction, analysis, and logging of clauses from contracts via a webhook. It leverages AI and vector storage technologies to process, store, and retrieve contract data intelligently. The process begins with an HTTP POST webhook that triggers the workflow when a contract text is received. The text is then split into manageable chunks for detailed processing. Using Cohere’s embeddings, each chunk is converted into vector representations, which are stored in a Weaviate vector database for efficient retrieval. When a query is made, relevant contract clauses are fetched from the vector store. An AI-powered language model (OpenAI) interacts with the retrieved data, assisting in analyzing or defining contract clauses. The final step logs relevant information into a Google Sheet for record-keeping. This workflow is useful for legal teams or businesses managing large contracts, enabling quick retrieval and understanding of specific clauses without manual searching.
Contract Clause Extraction and Analysis Workflow
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.embeddingsCohere, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter, @n8n/n8n-nodes-langchain.toolVectorStore, @n8n/n8n-nodes-langchain.vectorStoreWeaviate, googleSheets, stickyNote, webhook |
Reviews
There are no reviews yet.