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 integrates with the Chatwork API to send messages within chat rooms. Specifically, the "Rooms" resource with the "Send message" operation allows users to post a new message to a specified chatroom by providing the chatroom ID and the message content.
Common scenarios where this node is beneficial include:
- Automating notifications or alerts into team chatrooms.
- Posting updates or logs from other systems directly into Chatwork rooms.
- Integrating Chatwork messaging into workflows that require communication triggered by external events.
For example, after a deployment pipeline finishes, this node can send a summary message to a project’s Chatwork room to notify all members.
Properties
| Name | Meaning |
|---|---|
| Chatroom ID | The unique numeric identifier of the chatroom where the message will be sent. |
| Message body | The text content of the message to be posted in the chatroom. |
Output
The node outputs an array of JSON objects representing the response from the Chatwork API after sending the message. Each output item contains a json field with the API response data related to the sent message.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Chatwork API via an API key credential configured in n8n.
- The node uses HTTP requests to interact with Chatwork endpoints; thus, internet access and valid authentication are necessary.
Troubleshooting
- Invalid Chatroom ID: If the provided chatroom ID does not exist or the API user lacks permission, the request may fail. Verify the chatroom ID and ensure the API key has access rights.
- Empty Message Body: Sending an empty message body might cause errors or be rejected by the API. Ensure the message content is not empty.
- API Authentication Errors: If the API key is missing, invalid, or expired, the node will throw authentication errors. Check the API credentials configuration.
- Network Issues: Connectivity problems can cause request failures. Confirm network access to Chatwork API endpoints.
