Actions2
Current Insight
AI-generatedOverview
This node, named 'Cerdas', is designed to interact with the PLN Cerdas REST API to fetch specific data insights. It supports two main operations: retrieving the current insight data and fetching today's conversation data. This node is useful for scenarios where users want to integrate PLN Cerdas data into their workflows, such as monitoring real-time insights or analyzing daily chat histories.
Use Case Examples
- A user wants to get the latest dashboard insights from PLN Cerdas to monitor system status or performance metrics.
- A user needs to retrieve all chat conversations that occurred today for analysis or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| URL | The base URL to access the PLN Cerdas API endpoints for the selected operation. |
Output
JSON
json- The JSON response from the PLN Cerdas API containing either the current insight data or today's chat histories, depending on the selected operation.
Dependencies
- Requires an API key credential named 'CerdasApi' for authorization, which provides a Bearer token used in the HTTP request headers.
Troubleshooting
- If the operation parameter is set to an unknown value, the node throws an error indicating the operation is not known.
- HTTP request failures to the PLN Cerdas API will result in an API error being thrown; ensure the base URL and access token are correct and the API is reachable.
- If 'continue on fail' is enabled, errors for individual items will be captured in the output JSON under an 'error' property instead of stopping execution.