Overview
This node is a trigger for the POPO Open Platform API. It starts a workflow when a POPO update is received via a webhook. The node decrypts incoming encrypted data using AES encryption and outputs the decrypted JSON data. It supports both POST and GET webhook methods, where GET can be used for testing the webhook with an encrypted success response.
Use Case Examples
- Use case: Automatically trigger a workflow when a new update is received from the POPO Open Platform, such as a new message or event.
- Example: A POST webhook receives encrypted data, which the node decrypts and passes as JSON to the workflow for further processing.
Output
JSON
json- Decrypted JSON data from the incoming webhook request
Dependencies
- Requires an API key credential for the POPO Open Platform with an AES key used for decrypting incoming data.
Troubleshooting
- Common issue: Decryption failure due to incorrect AES key or corrupted encrypted data. The node logs errors when JSON parsing fails after decryption.
- Error message: JSON parsing errors indicate that the decrypted data is not valid JSON, likely due to wrong encryption parameters or key.
- Resolution: Verify the AES key credential and ensure the incoming data is properly encrypted with matching parameters (CBC mode, PKCS7 padding).