Chatwork icon

Chatwork

Retrieve data from Chatwork API.

Overview

This node interacts with the Chatwork API to retrieve detailed information about a specific file within a chatroom. It is designed for scenarios where users need to access metadata or download links related to files shared in Chatwork rooms. For example, a user might want to fetch details of a particular document uploaded in a project discussion room or generate a temporary download URL for quick access.

Properties

Name Meaning
Chatroom ID The unique numeric identifier of the chatroom containing the file.
File Id The unique numeric identifier of the file whose details are being requested.
Create download url Boolean option to specify whether to create a temporary download link valid for 30 seconds.

Output

The output JSON contains the detailed information about the specified file in the chatroom. This includes metadata such as file name, size, upload date, and potentially a temporary download URL if requested. If the "Create download url" property is set to true, the output will include a download link that remains valid for 30 seconds.

The node does not output binary data directly but provides URLs for downloading files.

Dependencies

  • Requires an active connection to the Chatwork API.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • No additional external dependencies beyond the Chatwork API.

Troubleshooting

  • Common issues:

    • Invalid or missing Chatroom ID or File Id can cause errors or empty responses.
    • Insufficient permissions on the API key may prevent access to file details.
    • Requesting a download URL without proper authorization might fail.
  • Error messages:

    • "operation is not supported." — indicates an unsupported operation was selected; ensure "Get information about the specified file" is chosen.
    • "resource is not supported." — indicates an invalid resource selection; verify that "Rooms" is selected.
    • Network or authentication errors from the Chatwork API should be checked by verifying API credentials and network connectivity.

Links and References

Discussion