Duaer

Integrations

Use Matrix in Duaer

In Duaer, the Matrix node works with Matrix from a workflow. It offers 11 operations on Account, Event, Media, Message, Room, and Room Member.

Add Matrix to a Duaer workflow

  1. On the Duaer canvas, open the node panel, search for Matrix, and connect it after the previous node.
  2. In Credential to connect with, pick or create a Matrix API credential. Refer to Matrix credentials.
  3. Pick a Resource and an Operation. For example, to send a message to a room, pick Message and Create.
  4. Fill the fields that operation shows, such as Room Name or ID, Text, Message Type, and Message Format.
  5. Select Execute step and check the output.

Matrix operations in Duaer

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

  • Account › Me: Get current user's account information.
  • Event › Get: Get single event by ID.
  • Media › Upload: Send media to a chat room.
  • Message › Create: Send a message to a room.
  • Message › Get Many: Get many messages from a room.
  • Room › Create: New chat room with defined settings.
  • Room › Invite: Invite a user to a room.
  • Room › Join: Join a new room.
  • Room › Kick: Kick a user from a room.
  • Room › Leave: Leave a room.
  • Room Member › Get Many: Get many members.

Use Matrix as a tool for an AI Agent in Duaer

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

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

Duaer's Matrix node offers 11 operations on Account, Event, Media, Message, Room, and Room Member. For example, Account has Me.

Which credential does Matrix use in Duaer?

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

In this section