Chatwork icon

Chatwork

Retrieve data from Chatwork API.

Room → Mark as Read

AI-generated

Overview

This node operation marks messages as read in a specified Chatwork room. It is useful for managing message notifications and keeping track of read/unread messages in Chatwork rooms. For example, it can be used to mark all messages up to a certain message ID as read, or mark all messages in the room as read if no message ID is specified.

Use Case Examples

  1. Mark all messages in a specific Chatwork room as read to clear notifications.
  2. Mark messages up to a certain message ID as read to acknowledge reading up to that point.

Properties

Name Meaning
Room ID Select a Chatwork room by name or enter its ID manually to specify which room's messages to mark as read.
Message ID Optional ID of the message up to which all messages will be marked as read. If omitted, all messages in the room will be marked as read.
Request Options Additional request settings such as batching, SSL certificate validation, proxy, and timeout options.

Output

JSON

  • roomId - The ID of the room where messages were marked as read.
  • messageId - The ID of the message up to which messages were marked as read, if specified.
  • status - The status or result of the mark as read operation.

Dependencies

  • Chatwork API key credential for authentication

Troubleshooting

  • Ensure the Room ID is valid and accessible by the authenticated user.
  • If specifying Message ID, ensure it is a valid numeric string and corresponds to a message in the room.
  • Check network connectivity and proxy settings if requests fail.
  • If SSL errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.

Links

Discussion