All appsDatabases

MongoDB integration

Find, insert, update, and delete documents in your MongoDB databases and collections.

Lodol's MongoDB connector gives your workflows 11 actions and 1 trigger, and links MongoDB with 3,350+ other apps.

actions
11
trigger
1

Triggers

Start a workflow when something happens in MongoDB.

  • New document (MongoDB)Runs when a document is added to a MongoDB collection, found by checking for documents past the highest _id (or other ever-growing field) seen so far. Documents already in the collection don't trigger it.

Actions

Steps a workflow can run in MongoDB.

  • Find documentsFind documents in a MongoDB collection, optionally narrowed with a query filter and a maximum result count.
  • Insert documentsInsert one or more documents into a MongoDB collection and get back the new documents' ids.
  • Update documentsUpdate the fields of documents matching a filter in a MongoDB collection, either the first match or all matches.
  • Delete documentsDelete documents matching a filter from a MongoDB collection, either the first match or all matches.
  • Aggregate documentsGroup, count, total or reshape a collection's documents with an aggregation pipeline, such as orders per status. Only reads: stages that save results ($out, $merge) are refused.
  • Find and update documentUpdate the first document that matches and return it as it is after the change.
  • Find and replace documentReplace the first document that matches with new fields, keeping its _id, and return the new version. Fields left out are removed.
  • List search indexesList a collection's Atlas Search indexes and whether each is ready to search. Needs MongoDB Atlas.
  • Create search indexAdd an Atlas Search or vector search index to a collection. Atlas builds it in the background; 'List search indexes' shows when it is ready. Needs MongoDB Atlas.
  • Update search indexReplace a search index's settings. Atlas rebuilds it in the background and keeps the old one searchable meanwhile. Needs MongoDB Atlas.
  • Delete search indexDelete a search index from a collection. The documents are untouched. Needs MongoDB Atlas.

Send MongoDB data to PostgreSQL, Amazon Redshift and other databases

Keep a copy of your MongoDB data where you query and report on it. When something happens in MongoDB, its trigger starts the workflow and the next step writes the record to your database, warehouse or Power BI, every time, with no export to run.

  • MongoDB to PostgreSQL

    WhenNew document (MongoDB)ThenInsert rows or Upsert row

    Works with Amazon RDS, Cloud SQL, Supabase and Neon too.

  • MongoDB to Amazon Redshift

    WhenNew document (MongoDB)ThenExecute statement

    Runs your INSERT through the Redshift Data API.

  • MongoDB to Google BigQuery

    WhenNew document (MongoDB)ThenAdd rows

    One row at a time or by the thousand.

  • MongoDB to MySQL

    WhenNew document (MongoDB)ThenInsert rows or Upsert row

    Works with MariaDB, Amazon RDS, Cloud SQL and PlanetScale too.

  • MongoDB to Snowflake

    WhenNew document (MongoDB)ThenInsert row

    Values go in as bound parameters, never pasted into the SQL.

  • MongoDB to Microsoft Power BI

    WhenNew document (MongoDB)ThenAdd rows

    Adds rows to a push dataset's table, ready for your reports.

Automate MongoDB with Lodol.

Connect MongoDB, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card