Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Actions79

Customer → Get Token

AI-generated

Overview

This node interacts with the Druva MSP API to perform operations related to customers. Specifically, for the 'Customer' resource and 'Get Token' operation, it retrieves an authentication token or similar credential related to a specified customer. This is useful in scenarios where you need to programmatically access or manage customer-specific data or services within the Druva MSP platform, such as automating workflows that require customer authentication tokens.

Use Case Examples

  1. Automating retrieval of customer tokens for integration with other systems.
  2. Building workflows that require customer-specific API access using the retrieved token.

Properties

Name Meaning
Customer ID The unique ID of the customer to perform the operation on. This is a required field and is selected from a list of customers loaded dynamically via the 'getCustomers' method.
Wrap Output Items When enabled, wraps all output items into a single item containing an array to prevent the next node from executing multiple times.
Wrapper Property Name The property name to use for the wrapped array of items in the output. Default is 'items'. This is only shown if 'Wrap Output Items' is enabled.

Output

JSON

  • json
    • token - The token or credential retrieved for the specified customer.

Dependencies

  • Requires an API key credential for Druva MSP API authentication.

Troubleshooting

  • Common issues include invalid or missing Customer ID, which will cause the operation to fail.
  • API authentication errors due to invalid or expired credentials.
  • Network or API endpoint issues that prevent successful API calls.
  • Error messages typically indicate the nature of the failure, such as 'The resource 'customer' is not implemented' if the resource is incorrectly specified, or detailed API error messages if the request fails.

Discussion