Chatwork Trigger
AI-generatedOverview
The Chatwork Trigger node receives events from Chatwork via a webhook. It listens for specific webhook event types such as 'mention_to_me', 'message_created', and 'message_updated', and routes the incoming event data accordingly. This node is useful for automating workflows based on Chatwork activity, such as responding to mentions, processing new messages, or handling message updates.
Use Case Examples
- Automatically respond when someone mentions you in Chatwork.
- Trigger a workflow when a new message is created in a Chatwork room.
- Update records or notify users when a message is edited in Chatwork.
Properties
| Name | Meaning |
|---|---|
| Verify Webhook Signature | Whether to verify the Chatwork webhook signature to ensure the webhook request is authentic. |
| Webhook Tokens | One or more webhook tokens from Chatwork webhook settings used for signature verification. Multiple tokens can be added, one per line. This property is only shown if signature verification is enabled. |
Output
JSON
Mention To Me- Output data for events where the user is mentioned in Chatwork.Message Created- Output data for events when a new message is created in Chatwork.Message Updated- Output data for events when a message is updated in Chatwork.
Dependencies
- Requires webhook tokens from Chatwork for signature verification if enabled.
Troubleshooting
- If the HTTP method is not POST, the node throws an 'Invalid HTTP method' error. Ensure the webhook sends POST requests.
- If the 'x-chatworkwebhooksignature' header is missing when signature verification is enabled, an error 'Missing x-chatworkwebhooksignature header' is thrown. Verify the webhook configuration in Chatwork.
- If the raw request body is missing, the node throws 'Missing raw request body'. This indicates an issue with the webhook payload delivery.
- If no webhook tokens are configured but signature verification is enabled, the node throws 'No webhook tokens configured'. Add valid tokens from Chatwork webhook settings.
- If the signature verification fails, the node throws 'Invalid Chatwork webhook signature'. Check that the tokens and signature are correctly set and match.