Use this structured n8n workflow to mock complex CRM data, transform contact properties (Name, Email), and prepare the clean output for insertion into any database or Google Sheet.
Download this n8n workflow template and start using it instantly.
Automation engineers needing standardized data input.
Users integrating Hubspot or similar CRM APIs with databases.
Developers looking for robust n8n templates for data transformation.
Anyone needing an example of the n8n Set node for field mapping.
This n8n workflow provides a clear, essential pattern for data standardization. When retrieving information from sophisticated systems like a CRM, the output JSON can often be deeply nested and contain excessive fields. This n8n template solves the problem of complexity by demonstrating how to extract only the necessary fields (like full Name and primary Email) and structure them simply for reliable storage.
The initial steps utilize a powerful n8n node—the Function node—to mock the incoming data, simulating an actual API response. Following this, the Set n8n node cleans the data, ensuring that the final data sent to a spreadsheet or database is precisely what is needed, minimizing errors and simplifying downstream operations. Using this n8n structure saves significant time when building integrations.
This automation follows a standard linear execution path, starting with a manual n8n trigger and proceeding through data processing nodes.
Name and Email fields. By enabling 'Keep Only Set', all original, messy CRM data is discarded, ensuring the output of this n8n node is clean.To deploy this n8n workflow, follow these simple steps:
Name and Email fields generated by the preceding 'Set' node. On clicking 'execute' (Manual Trigger n8n trigger):
Function: Starts the n8n workflow manually for testing and demonstration purposes.
Key Configuration: Standard manual activation.
Mock data (CRM Contacts) (Function n8n node):
Function: Simulates the retrieval of two detailed CRM contact records, mimicking a complex API response structure (e.g., Hubspot).
Key Configuration: Contains custom JavaScript to inject two complex contact JSON objects into the n8n flow.
Set (Set n8n node):
Function: Transforms the complex incoming JSON data into a clean, flat structure required for storage. This core n8n node extracts and renames fields.
Key Configuration:
Name: Uses the expression ={{$json["properties"]["firstname"]["value"]}} {{$json["properties"]["lastname"]["value"]}} to concatenate the names.
Email: Uses ={{$json["identity-profiles"][0]["identities"][0]["value"]}} to extract the primary email.
Keep Only Set: Enabled, ensuring only the new Name and Email fields proceed.
Replace me (NoOp n8n node):
Function: A placeholder indicating where the actual data persistence operation should occur (e.g., appending a row to a Google Sheet or database table). This requires replacing this n8n node with a suitable connector.
Automate ETL processes by downloading CSV data, transforming fields using an n8n workflow, and loading records directly into a Snowflake table. Use this pre-built n8n template.

A crucial n8n workflow template that loads content from multiple Google Drive documents within a specified folder and aggregates them into a single, clean JSON dictionary using an n8n Code node. Ideal for RAG or AI inputs.

Automate scraping websites for new PDFs, extracting content, generating executive summaries using AI (Llama via OpenRouter), and tracking processing status in Google Sheets with this n8n workflow.

Use this robust n8n workflow to automate the loading of JSON documents from an FTP server, embedding them using OpenAI, and storing the resulting vectors efficiently in a Qdrant database. Essential for RAG systems.

Learn how to deploy a private Retrieval Augmented Generation (RAG) system. This n8n workflow uses local Ollama models for embeddings and LLM, integrating with Qdrant for vector storage.

Use this advanced n8n workflow to build a powerful local Agentic RAG system using Ollama, PGVector, and PostgreSQL. Process PDFs, CSVs, and Excel files automatically for intelligent question answering. Ideal for self-hosted n8n templates.








































