Block 1 - Aggregate
- Type / Role
- n8n-nodes-base.aggregate - aggregate
- Config choices
- Version 1
This n8n template provides a production ready, memory safe pipeline for ingesting large Hugging Face datasets into MongoDB using batch pagination. It is designed as a reusable data ingestion layer ...
n8n-nodes-base.aggregate, n8n-nodes-base.set, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.splitout, n8n-nodes-base.code, n8n-nodes-base.mongodb
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mohamed Abdelwahab.
Original n8n.io sourceThis n8n template provides a production-ready, memory-safe pipeline for ingesting large Hugging Face datasets into MongoDB using batch pagination. It is designed as a reusable data ingestion layer for RAG systems, recommendation engines, analytics pipelines, and ML workflows.
The template includes:
datasets-server API_id fields to avoid MongoDB duplicate key errors_id fieldstrain, test, etc.)_id| Parameter | Default Value |
|---|---|
| Dataset | MongoDB/airbnb_embeddings |
| Config | default |
| Split | train |
| Batch Size | 100 |
| MongoDB Collection | airbnb |
All values can be changed easily from the Config_Start node.
datasets-server.huggingface.co_id Is RemovedHugging Face dataset rows often include an _id field.
MongoDB requires _id values to be unique, so reusing these values can cause insertion failures.
This template:
_idObjectIdYou can easily extend this template with:
This workflow template is provided as-is. You are responsible for:
Hugging Face datasets are subject to their respective licenses.
Category: Data Ingestion Complexity: Intermediate Scalability: High Memory Safe: Yes Production Ready: Yes
If you want a version with:
Just say the word and Iβll generate the enhanced workflow JSON.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Migrate large Hugging Face datasets to MongoDB with a looping subworkflow |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | Engineering |
| Author | Mohamed Abdelwahab |
| Published | 31 Dec 2025 |
Use the JSON export at /data/workflows/12338/12338.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This n8n template provides a production ready, memory safe pipeline for ingesting large Hugging Face datasets into MongoDB using batch pagination. It is designed as a reusable data ingestion layer ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.