Duaer

Integrations

Use MongoDB in Duaer

In Duaer, the MongoDB node works with MongoDB from a workflow. It offers 11 operations on Search Index and Document.

Add MongoDB to a Duaer workflow

For a walkthrough with examples, refer to Find documents with MongoDB in Duaer.

  1. On the Duaer canvas, open the node panel, search for MongoDB, and connect it after the previous node.
  2. In Credential to connect with, pick or create a MongoDB credential. Refer to MongoDB credentials.
  3. Pick a Resource and an Operation. For example, to update documents, pick Document and Update.
  4. Fill the fields that operation shows, such as Update Key, Fields, and Upsert.
  5. Select Execute step and check the output.

MongoDB operations in Duaer

The MongoDB node in Duaer offers these operations, grouped by resource:

  • Search Index › Create: Create Search Index.
  • Search Index › Drop: Drop Search Index.
  • Search Index › List: List Search Indexes.
  • Search Index › Update: Update Search Index.
  • Document › Aggregate: Aggregate documents.
  • Document › Delete: Delete documents.
  • Document › Find: Find documents.
  • Document › Find And Replace: Find and replace documents.
  • Document › Find And Update: Find and update documents.
  • Document › Insert: Insert documents.
  • Document › Update: Update documents.

Use MongoDB as a tool for an AI Agent in Duaer

In the Tool input of an AI Agent, search for MongoDB and add it. The agent decides when to call it. For a field the model should fill, select the sparkle next to it or write $fromAI('name', 'what to put here'); fixed values stay as you set them.

Call a MongoDB endpoint the node does not cover

Add an HTTP Request node, set Authentication to Predefined Credential Type, pick MongoDB as the credential type, and select the same credential. Duaer signs the request with it, so you only fill in the method and URL. Refer to custom operations.

Questions

Which MongoDB operations does Duaer support?

Duaer's MongoDB node offers 11 operations on Search Index and Document. For example, Search Index has Create, Drop, List, and Update.

Which credential does MongoDB use in Duaer?

Duaer's MongoDB uses a MongoDB credential. The secret stays in the credential, not in node parameters.

In this section