Librus icon

Librus

Read data from Librus Synergia (unofficial)

Messages → Send Message

AI-generated

Summary

Send a message to a specified user within the Librus system by providing the recipient's user ID, a message title, and message content.

Inputs

  • userId (required) — The numeric ID of the user to whom the message will be sent.
  • title (required) — The title or subject of the message.
  • content (required) — The body content of the message to be sent.
  • from — Optional start date (YYYY-MM-DD) for filtering — not used in sending, but present in properties.
  • to — Optional end date (YYYY-MM-DD) for filtering — not used in sending, but present in properties.
  • customMethodName — Advanced: override the underlying librus-api method to call; by default 'inbox.sendMessage' is used.

Output shape

A single JSON object representing the result returned from the underlying Librus API call to send the message, which may include success indicators or message metadata.

Returns one item containing the JSON response from the Librus API after attempting to send the message. No pagination applies. The exact shape depends on the API's response to the 'inbox.sendMessage' method or a custom method if overridden.

Examples

Example 1: Send a message to user with ID 123, with title 'Meeting Reminder' and content 'Don't forget about the meeting tomorrow at 10 AM.'

Set userId=123, title='Meeting Reminder', content='Don't forget about the meeting tomorrow at 10 AM.'

Discussion