Back to Integrations
integration integration
integration MongoDB node

Integrate MongoDB with 500+ apps and services

Unlock MongoDB’s full potential with n8n, connecting it to similar Development apps and over 1000 other services. Automate productivity workflows by scheduling tasks, managing project timelines, and tracking progress across platforms. Create adaptable and scalable workflows between MongoDB and your stack. All within a building experience you will love.

Create workflows with MongoDB integrations

797 integrations
Sort by:
Popularity
NameOldestNewest

Popular ways to use MongoDB integration

HTTP Request node
+8

Scrape and store data from multiple website pages

This workflow allows extracting data from multiple pages website. The workflow: 1) Starts in a country list at https://www.theswiftcodes.com/browse-by-country/. 2) Loads every country page (https://www.theswiftcodes.com/albania/) 3) Paginates every page in the country page. 4) Extracts data from the country page. 5) Saves data to MongoDB. 6) Paginates through all pages in all countries. It uses getWorkflowStaticData('global') method to recover the next page (saved from the previous page), and it goes ahead with all the pages. There is a first section where the countries list is recovered and extracted. Later, I try to read if a local cache page is available and I recover the cached page from the disk. Finally, I save data to MongoDB, and we paginate all the pages in the country and for all the countries. I have applied a cache system to save a visited page to n8n local disk. If I relaunch workflow, we check if a cache file exists to discard non-required requests to the webpage. If the data present in the website changes, you can apply a Cron node to check the website once per week. Finally, before inserting data in MongoDB, the best way to avoid duplicates is to check that swift_code (the primary value of the collection) doesn't exist. I recommend using a proxy for all requests to avoid IP blocks. A good solution for proxy plus IP rotation is scrapoxy.io. This workflow is perfect for small data requirements. If you need to scrape dynamic data, you can use a Headless browser or any other service. If you want to scrape huge lists of URIs, I recommend using Scrapy + Scrapoxy.
mcolomer
Miquel Colomer
Postgres node
+5

ETL pipeline for text processing

This workflow allows you to collect tweets, store them in MongoDB, analyse their sentiment, insert them into a Postgres database, and post positive tweets in a Slack channel. Cron node: Schedule the workflow to run every day Twitter node: Collect tweets MongoDB node: Insert the collected tweets in MongoDB Google Cloud Natural Language node: Analyse the sentiment of the collected tweets Set node: Extract the sentiment score and magnitude Postgres node: Insert the tweets and their sentiment score and magnitude in a Posgres database IF node: Filter tweets with positive and negative sentiment scores Slack node: Post tweets with a positive sentiment score in a Slack channel NoOp node: Ignore tweets with a negative sentiment score
lorenanda
Lorena
MongoDB node

Insert a document in MongoDB

Companion workflow for MongoDB node docs
sm-amudhan
amudhan
HTTP Request node
Merge node
+4

Send RSS feed data to webhook

Filters articles based on keywords, checks against MongoDB for unique links, then sends results to different webhooks
dave3
dave

Supported Actions

Aggregate
Aggregate documents
Delete
Delete documents
Find
Find documents
Find And Replace
Find and replace documents
Find And Update
Find and update documents
Insert
Insert documents
Update
Update documents
MongoDB node

About MongoDB

MongoDB is a data platform for developers that serves as a document-oriented database. It is a document data model that maps they way you code and think. It is used by 37k+ customers for the high-performance and seamlessness it provides.

Related categories

Similar integrations

  • Google Sheets node
  • MySQL node
  • Postgres node
  • Airtable node
  • Google Drive node
  • GitHub node
  • Microsoft SQL node
  • GraphQL node
  • Baserow node
  • Redis node
Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

Over 3000 companies switch to n8n every single week

Connect MongoDB with your company’s tech stack and create automation workflows

We're using the @n8n_io cloud for our internal automation tasks since the beta started. It's awesome! Also, support is super fast and always helpful. 🤗

Last week I automated much of the back office work for a small design studio in less than 8hrs and I am still mind-blown about it.

n8n is a game-changer and should be known by all SMBs and even enterprise companies.

in other news I installed @n8n_io tonight and holy moly it’s good

it’s compatible with EVERYTHING

FAQ about MongoDB integrations

  • How can I set up MongoDB integration in n8n?

      To use MongoDB integration in n8n, start by adding the MongoDB node to your workflow. You'll need to authenticate your MongoDB account using supported authentication methods. Once connected, you can choose from the list of supported actions or make custom API calls via the HTTP Request node, for example: you can then configure the node by specifying the operation you want to perform, such as inserting or retrieving documents. Make sure to provide the necessary parameters like the database name and collection as needed. Finally, test the workflow to ensure everything is functioning as expected.

  • Do I need any special permissions or API keys to integrate MongoDB with n8n?

  • Can I combine MongoDB with other apps in n8n workflows?

  • What are some common use cases for MongoDB integrations with n8n?

  • How does n8n’s pricing model benefit me when integrating MongoDB?

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon