Actions9
- Project Actions
- Task Actions
- Message Actions
- Calendar Actions
Overview
This node integrates with the Dooray API, enabling users to interact with various Dooray resources such as projects, tasks, messages, and calendars. Specifically, for the Message resource with the Get Many operation, it retrieves multiple messages from a specified channel. This is useful in scenarios where you want to fetch conversation history or batch process messages from a particular communication channel within Dooray.
Practical examples include:
- Aggregating all messages from a project discussion channel for reporting.
- Exporting message threads for archival or analysis.
- Monitoring new messages in a channel by periodically fetching them.
Properties
| Name | Meaning |
|---|---|
| Channel ID | The ID of the channel to fetch messages from |
Output
The node outputs an array of message objects in the json field. Each object represents a message retrieved from the specified channel and contains details such as message content, sender information, timestamps, and other metadata provided by the Dooray API.
If the node supports binary data output (not indicated here), it would typically represent attachments or media associated with messages, but this is not evident from the provided code snippet.
Dependencies
- Requires an API key credential for authenticating with the Dooray API.
- The base URL for API requests is
https://api.dooray.com. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Channel ID will result in errors or empty responses.
- Authentication failures due to incorrect or expired API credentials.
- Network connectivity issues preventing access to the Dooray API endpoint.
Error messages and resolutions:
- 401 Unauthorized: Check that the API key credential is correctly configured and has sufficient permissions.
- 404 Not Found: Verify that the Channel ID exists and is accessible by the authenticated user.
- 429 Too Many Requests: Rate limiting by the Dooray API; implement retry logic or reduce request frequency.
Links and References
- Dooray API Documentation (official API docs for detailed endpoints and parameters)
- n8n Documentation (for general guidance on using API nodes and credentials)