Actions2
Chats Today
AI-generatedOverview
This node, named 'Cerdas', is designed to interact with the PLN Cerdas REST API to fetch specific data based on the selected operation. It supports two main operations: retrieving current insight data and fetching conversation data for today. This node is useful for scenarios where users want to integrate PLN Cerdas data into their workflows, such as monitoring current insights or analyzing today's chat conversations.
Use Case Examples
- A user wants to get the latest insight data from PLN Cerdas to display on a dashboard.
- A user needs to retrieve all chat conversations from today for reporting or analysis purposes.
Properties
| Name | Meaning |
|---|---|
| URL | The base URL for the PLN Cerdas API endpoint to fetch data from. |
Output
JSON
json- The JSON response from the PLN Cerdas API containing either current insight data or today's chat conversation data.
Dependencies
- Requires an API key credential for authentication with the PLN Cerdas API, passed as a Bearer token in the Authorization header.
Troubleshooting
- If the operation parameter is set to an unknown value, the node throws an error indicating the operation is not known.
- If the HTTP request to the PLN Cerdas API fails, the node throws an API error with details from the failed request.
- Users should ensure the provided URL is correct and the API key credential is valid to avoid authentication or connection errors.