Automate closing the loop on user feedback. This advanced n8n workflow uses semantic search, Supabase, and AI to draft personalized Gmail messages when features ship, leveraging RAG functionality.
Download this n8n workflow template and start using it instantly.
Keeping users informed when you ship a feature they specifically requested is crucial for building loyalty. However, manually matching new features to hundreds of past requests is impossible. This sophisticated n8n workflow provides a scalable solution by leveraging semantic search capabilities.
This n8n template operates in two phases: first, it ingests feature requests, generating embeddings and storing them in Supabase, effectively building a knowledge base. Second, when a new feature is launched (triggered by RSS or manually), the new feature description is embedded and used to query Supabase for semantically similar historical requests. For every match, an AI agent connected via an n8n node drafts a hyper-personalized email, ensuring the user feels heard and valued. This specific n8n workflow utilizes several advanced components to deliver a powerful automation solution.
This n8n workflow is divided into two distinct logical paths:
username, useremail, originaltext).originaltext is embedded (vectorized) using the Embeddings OpenAI n8n node (configured for nomic-embed-text:latest).RSS Feed Trigger (monitoring a changelog) or the When clicking ‘Execute workflow’ manual n8n trigger for testing.nomic-embed-text).rpc/matchfeature_requests endpoint, using the feature embedding to find the top 10 semantically similar user requests.Split in Batches n8n node iterates over each matching user found by the semantic search.AI Agent - Draft text maker n8n node, connected to the OpenAI Chat Model3 (e.g., Command-R), crafts a personalized email draft based on the user's specific past request and the new feature launch.{ "subject": "...", "body": "..." }).featurerequests table and the necessary matchfeaturerequests RPC function for vector search.Tally Trigger n8n node and configure it to your specific form ID.Create Draft n8n node.username, useremail, and originaltext variables.https://yourlinkto.supabase.co/rest/v1/rpc/matchfeaturerequests).http://host.docker.internal:11434/api/embeddings). Tally Trigger (n8n trigger): Listens for new form submissions, initializing the ingestion path.
Function: Captures raw feature requests.
Data Cleaner (Set n8n node): Essential for mapping dynamic form variables to standardized internal names (username, useremail, originaltext) before storage.
Supabase Vector Store (n8n node): Stores the vectorized feature request data, ensuring it is indexed for high-speed semantic queries.
Embeddings OpenAI (n8n node): Configured to use the nomic-embed-text:latest model for generating 768-dimensional vectors from the input text.
RSS Feed Trigger (n8n trigger): Polls a specified URL (e.g., a product changelog) on a set schedule (weekly) to automatically detect new features.
HTTP Request - Supabase Search (n8n node): Performs the core semantic search. It sends the feature launch embedding to Supabase, asking for requests with a similarity threshold of 0.70.
AI Agent - Draft text maker (n8n node): This crucial step uses an AI model (command-r7b:7b-12-2024-q80) to take the context of the user's old request and the new feature to write a personalized, contextualized email draft.
Structured Output Parser (n8n node): Forces the AI's output into a reliable JSON format for the subject and body, making the subsequent steps in the n8n workflow robust.
Create Draft (Gmail n8n node): The final action, creating a draft email in Gmail addressed to the matched user, ensuring a human can review the AI-generated message before deployment.
Use this robust n8n workflow to automatically create nightly backups of all your n8n workflow definitions and store them securely in Dropbox, managing a 30-day retention policy.

This n8n workflow automatically cleans up Discord channels nightly by deleting messages older than 7 days, ensuring compliance and keeping chat tidy using the schedule n8n trigger.

Automate daily newsletter ingestion, cleaning, summarization, and distribution using an n8n workflow. This powerful n8n template uses AI to create strategic policy briefs and logs raw data to Google Sheets.

Use this powerful n8n workflow template to automatically monitor the Epic Games Store for new free game releases. Features include Puppeteer scraping, retry logic, change detection, and rich Discord notifications.

Hi! 👋 I'm Ehsan , a BI & Data Analyst and AI Specialist with a passion for automation! 🤖 I use n8n , Python , and SQL to build powerful data pipelines and turn complex data into real-world insights.







































