Actions16
- Rooms Actions
- Create a new group chat
- Leave/Delete a group chat
- Get detail
- Update info
- Get members
- Change associated members
- Get messages
- Send message
- Get message detail
- Update the specified message
- Delete message
- Get tasks
- Get task detail
- Add a new task to the chat
- Get the list of files
- Get information about the specified file
Overview
This node interacts with the Chatwork API to manage group chat rooms. Specifically, for the "Rooms" resource and the "Leave/Delete a group chat" operation, it allows users to either leave a group chat or delete it entirely. This is useful in scenarios where a user wants to exit a chatroom they no longer wish to participate in or remove a chatroom that is no longer needed.
Practical examples:
- A team member leaves a project discussion room after the project ends.
- An admin deletes an obsolete group chat to keep the workspace organized.
Properties
| Name | Meaning |
|---|---|
| Chatroom ID | The unique numeric identifier of the chatroom to leave or delete. |
| Action type | The action to perform on the chatroom: either "Leave" to exit the chatroom or "Delete" to remove it completely. |
Output
The output JSON contains the response from the Chatwork API related to the leave or delete action performed on the specified chatroom. It typically includes confirmation of the action's success or details about the updated state of the chatroom.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Chatwork API using a valid API authentication token.
- The node depends on the Chatwork API endpoint for managing rooms.
- Proper credentials must be configured in n8n to authenticate API requests.
Troubleshooting
Common issues:
- Invalid or missing Chatroom ID: Ensure the chatroom ID is correct and exists.
- Insufficient permissions: The user’s API token must have rights to leave or delete the chatroom.
- Network or API errors: Check connectivity and API status.
Error messages:
"operation is not supported."— Occurs if an unsupported operation is requested; verify the operation name."resource is not supported."— Happens if the resource parameter is incorrect; ensure "rooms" is selected.- API errors returned by Chatwork (e.g., unauthorized, forbidden) indicate credential or permission issues.
Resolving these usually involves verifying input parameters, checking API credentials, and ensuring the user has appropriate permissions in Chatwork.
