Skip to content

MongoDB node#

Use the MongoDB node to automate work in MongoDB, and integrate MongoDB with other applications. n8n has built-in support for a wide range of MongoDB features, including aggregating, updating, finding, deleting, and getting documents.

On this page, you'll find a list of operations the MongoDB node supports and links to more resources.

Credentials

Refer to MongoDB credentials for guidance on setting up authentication.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

Operations#

  • Aggregate documents
  • Delete documents
  • Find documents
  • Find and replace documents
  • Find and update documents
  • Insert documents
  • Update documents

Templates and examples#

Scrape and store data from multiple website pages

by Miquel Colomer

View template details
Insert a document in MongoDB

by amudhan

View template details
ETL pipeline for text processing

by Lorena

View template details
Browse MongoDB integration templates, or search all templates