Actions19
- Customer Actions
- Customer Catalog Actions
- Customer Platform Actions
- Order Actions
- Platform Actions
- Receivable Charge Actions
- Subscription Actions
- Tracking Actions
Overview
This node interacts with the Sherweb API, allowing users to retrieve various data related to Sherweb's services. Specifically, for the "Platform" resource and the "Get Platform Required Parameters" operation, it fetches the required parameters for one or more specified platform IDs. This is useful when you need to understand what configuration or input parameters are mandatory for particular platforms managed via Sherweb.
Practical scenarios include:
- Automating platform setup by programmatically retrieving required parameters.
- Validating platform configurations before deployment.
- Integrating Sherweb platform data into other systems or workflows.
Properties
| Name | Meaning |
|---|---|
| API Type | Selects which Sherweb API to use: either the "Service Provider API" or the "Distributor API". |
| Platform IDs | A string representing an array of platform IDs for which to get the required parameters. This field is mandatory. |
Output
The node outputs JSON data containing the required parameters for each specified platform ID. The structure typically includes details about each parameter needed by the platform, such as parameter names, types, and possibly validation rules or descriptions.
If the node supports binary data output (not indicated in the provided code), it would be summarized accordingly, but here the focus is on JSON output describing platform parameters.
Dependencies
- Requires an API key credential for authentication with Sherweb's API.
- Uses the base URL
https://api.sherweb.com. - The node depends on proper configuration of the API key subscription header.
- No additional external dependencies are indicated.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Incorrect or malformed platform IDs may result in errors or empty responses.
- Selecting the wrong API type (Service Provider vs Distributor) might lead to unexpected results or unsupported operations.
Error messages:
- Authentication errors typically indicate invalid or expired API keys; ensure the API key is valid and correctly configured.
- Validation errors on platform IDs suggest checking the format and existence of the IDs.
- Network or timeout errors require verifying connectivity to
api.sherweb.com.
Links and References
- Sherweb API documentation (general): https://developer.sherweb.com/
- n8n documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/