KiotViet Trigger
AI-generatedOverview
This node acts as a webhook trigger for KiotViet events. It listens for specific events such as customer updates, product updates, order updates, and others from the KiotViet platform. When an event occurs, the node verifies the webhook signature to ensure the request's authenticity and then outputs the event data. This node is useful for automating workflows based on real-time changes in KiotViet, such as updating CRM systems when a customer is updated or triggering inventory adjustments when stock changes.
Use Case Examples
- Trigger a workflow when a customer is updated in KiotViet to sync customer data with another system.
- Start an automation when a product is deleted to update product listings elsewhere.
- React to order updates to manage order processing or notifications.
Properties
| Name | Meaning |
|---|---|
| Secret | A secret key used to verify the authenticity of incoming webhook requests by validating the signature. |
| Events | A list of event types to listen for from KiotViet, such as customer updates, product deletions, order updates, etc. The node triggers only for the selected events. |
Output
JSON
body- The JSON payload received from the KiotViet webhook, containing event data.
Dependencies
- Requires an API key credential for KiotViet API access to manage webhook registration.
- Uses a secret key for webhook signature verification.
Troubleshooting
- Signature mismatch error: This occurs if the webhook secret does not match the signature sent by KiotViet. Ensure the secret is correctly configured and matches the one set in KiotViet webhook settings.
- Get access_token failed: This error indicates failure to retrieve an access token from KiotViet API, possibly due to invalid credentials or network issues. Verify API credentials and connectivity.
- Webhook registration errors: If webhook creation or deletion fails, check API permissions and ensure the KiotViet API is reachable.
Links
- KiotViet API Documentation - Official documentation for KiotViet API and webhook setup.