See llms.txt for all machine-readable content.

Elasticsearch and MongoDB integration

Save yourself the work of writing custom integrations for Elasticsearch and MongoDB and use n8n instead. Build adaptable and scalable Development, Data & Storage, workflows that work with your technology stack. All within a building experience you will love.

How to connect Elasticsearch and MongoDB

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Elasticsearch and MongoDB integration: Create a new workflow and add the first step

Build your own Elasticsearch and MongoDB integration

Create custom Elasticsearch and MongoDB workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Elasticsearch supported actions

MongoDB supported actions

Elasticsearch and MongoDB integration details

Elasticsearch

Elasticsearch

With Elasticsearch, you can store, search, and analyze massive amounts of data fast and in near real-time, with results arriving in milliseconds. Because it searches an index rather than the text itself, it can produce quick search results.

MongoDB

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.

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

FAQ about Elasticsearch integrations

Need help setting up your Elasticsearch and MongoDB integration?

Discover our latest community's recommendations and join the discussions about Elasticsearch and MongoDB integration.

  • Hao Huynh

    Elasticsearch 'Ignore SSL Issues' Not Working in Version 1.55.3

    Hao Huynh

    Describe the problem/error/question In version 1.47.3, I was able to use an Elasticsearch node with the option to ignore SSL issues. However, in version 1.55.3, even though I selected ‘ignore SSL issues’ in the credentia…

    Open topic
  • João Textor

    MongoDB update / find and update running but not working for me

    João Textor

    Describe the problem/error/question I have a workflow in which I use MongoDB Find to get all entries in my collection. I Edit one of the fields using “Edit Fields”, and then I iterate a loop to Update that field on Mongo…

    Open topic
  • Manas Gupta

    Ai Agent parsing issue with mongodb tool

    Manas Gupta

    Describe the problem/error/question Hi Folks, I am learning n8n flows. I stuck to store the object in the mongodb through ai agent tool. What is the error message (if any)? There is no error message but the output is no…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Elasticsearch with MongoDB

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship