Chatwork icon

Chatwork

Retrieve data from Chatwork API.

Room → Upload File

AI-generated

Overview

This node uploads a file to a specified Chatwork room. It is useful for automating the process of sharing files within Chatwork rooms, such as sending reports, images, or documents directly from workflows. For example, a user can upload a project update file to a team room with an optional message attached.

Use Case Examples

  1. Uploading a PDF report to a project room with a message describing the contents.
  2. Sending an image file to a support room to share visual information with the team.

Properties

Name Meaning
Room ID The ID of the Chatwork room where the file will be uploaded. It can be selected by name from a searchable list or entered manually as a numeric ID.
Input Data Field Name The name of the incoming binary data field that contains the file to be uploaded.
Message Body An optional message to send along with the uploaded file.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • file_id - The unique identifier of the uploaded file in the Chatwork room.
  • message_id - The identifier of the message sent along with the file upload, if any.
  • room_id - The ID of the room where the file was uploaded.
  • upload_status - Status indicating whether the file upload was successful.

Dependencies

  • Chatwork API key credential for authentication

Troubleshooting

  • Ensure the Room ID is valid and numeric when entered manually; otherwise, the node will throw a validation error.
  • Verify that the binary data field name matches the incoming data; if incorrect, the file upload will fail.
  • Check network settings if using proxy or if SSL issues occur; enabling 'Ignore SSL Issues' may help in some cases but is insecure.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Discussion