Duaer

Integrations

Use Elasticsearch in Duaer

In Duaer, the Elasticsearch node works with Elasticsearch from a workflow. It offers 9 operations on Document and Index.

Add Elasticsearch to a Duaer workflow

  1. On the Duaer canvas, open the node panel, search for Elasticsearch, and connect it after the previous node.
  2. In Credential to connect with, pick or create an Elasticsearch API credential. Refer to Elasticsearch credentials.
  3. Pick a Resource and an Operation. For example, to create a document, pick Document and Create.
  4. Fill the fields that operation shows, such as Index ID and Data to Send.
  5. Select Execute step and check the output.

Elasticsearch operations in Duaer

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

  • Document › Create: Create a document.
  • Document › Delete: Delete a document.
  • Document › Get: Get a document.
  • Document › Get Many: Get many documents.
  • Document › Update: Update a document.
  • Index › Create: Create an index.
  • Index › Delete: Delete an index.
  • Index › Get: Get an index.
  • Index › Get Many: Get many indices.

Use Elasticsearch as a tool for an AI Agent in Duaer

In the Tool input of an AI Agent, search for Elasticsearch 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 Elasticsearch endpoint the node does not cover

Add an HTTP Request node, set Authentication to Predefined Credential Type, pick Elasticsearch API 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 Elasticsearch operations does Duaer support?

Duaer's Elasticsearch node offers 9 operations on Document and Index. For example, Document has Create, Delete, Get, Get Many, and Update.

Which credential does Elasticsearch use in Duaer?

Duaer's Elasticsearch uses an Elasticsearch API credential. The secret stays in the credential, not in node parameters.

In this section