This n8n workflow automates the process of generating and logging car insurance quotes based on user input submitted through a webhook. It leverages natural language processing, vector embedding, and AI-driven insights to streamline quote creation, enhance data management, and maintain comprehensive logs.
The workflow begins when a user submits an insurance inquiry via a webhook with specific details. The input content is processed by a text splitter to divide it into manageable chunks. These chunks are then embedded using Hugging Face’s embeddings service to convert the text into vector representations. The vectors are stored in a Pinecone vector database for efficient similarity searches.
A query is performed against the vector database to find relevant information related to the submitted data. The retrieved data is then passed to an AI language model (from Anthropic) combined with a memory buffer to generate a detailed, relevant insurance quote. The response from the AI is further refined with the language model agent.
Finally, the generated quote and related details are logged into a Google Sheet for record-keeping and future reference.
This workflow is ideal for insurance companies or brokers aiming to automate the initial quote generation process, improve accuracy through AI, and keep detailed logs for future analysis or audits.
Reviews
There are no reviews yet.