Overview
The "Eskom" node provides integration with the Eskom API, specifically supporting an operation to search for areas by text. This is useful in scenarios where users need to look up Eskom service areas based on a partial or full name, such as when automating workflows that require location-based queries (e.g., finding load-shedding schedules for a specific area).
Practical examples:
- Automatically retrieving Eskom area information based on user input in a chatbot.
- Building dashboards that allow users to search and select Eskom areas dynamically.
Properties
Name | Type | Meaning |
---|---|---|
Text | String | String to search for; the area name or keyword you want to find. |
Simplify | Boolean | If enabled, simplifies the output structure for easier downstream processing. |
Output
The node outputs a JSON object containing the results of the area search. The structure typically includes:
- A list of matching areas, each with relevant details such as area ID, name, and possibly additional metadata provided by the Eskom API.
Note: The exact fields depend on the Eskom API response, but generally expect identifiers and descriptive information for each matched area.
Dependencies
- External Service: Requires access to the Eskom API.
- API Key: You must configure valid Eskom API credentials in n8n under the credential type
eskomApi
.
Troubleshooting
Invalid Credentials:
Error message: "No credentials found" or authentication errors from the Eskom API.
Resolution: Ensure your Eskom API credentials are correctly set up in n8n.No Results Found:
Error message: The output array is empty.
Resolution: Check the spelling or specificity of your search text.API Limitations:
Error message: Errors related to rate limits or API allowance.
Resolution: Review your Eskom API usage and ensure you have not exceeded any quotas.