Chatwork icon

Chatwork

Retrieve data from Chatwork API.

Overview

This node integrates with the Chatwork API to retrieve detailed information about chatrooms (Rooms). Specifically, the "Get detail" operation fetches comprehensive data for a specified chatroom by its ID. This is useful in scenarios where you need to access metadata or settings of a particular chatroom, such as its name, description, members, and other attributes.

Practical examples include:

  • Automating workflows that require fetching chatroom details before sending messages or managing tasks.
  • Synchronizing chatroom information with external systems or databases.
  • Monitoring chatroom properties for administrative or reporting purposes.

Properties

Name Meaning
Chatroom ID The unique numeric identifier of the chatroom whose details you want to retrieve.

Output

The output is a JSON object containing the detailed information of the specified chatroom. This typically includes fields such as the chatroom's ID, name, description, icon preset, member lists, and other metadata provided by the Chatwork API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Chatwork API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The node uses HTTP GET requests to fetch data from the /rooms/{roomId} endpoint of the Chatwork API.

Troubleshooting

  • Common issues:

    • Invalid or missing Chatroom ID: Ensure the Chatroom ID is correctly provided and corresponds to an existing chatroom.
    • Authentication errors: Verify that the API key or token credential is valid and has sufficient permissions.
    • Network or API downtime: Check network connectivity and Chatwork service status.
  • Error messages:

    • "operation is not supported." — This indicates an unsupported operation was requested; ensure "Get detail" is selected.
    • "resource is not supported." — This means the resource parameter is incorrect; confirm "Rooms" is chosen.
    • HTTP errors from the API (e.g., 404 Not Found) usually mean the chatroom does not exist or the user lacks access rights.

Resolving these typically involves verifying input parameters, credentials, and API availability.

Links and References

Discussion