Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Motorista → Get All

AI-generated

Overview

This node integrates with the Nuvem Solution API to perform operations related to drivers ("Motorista" resource). Specifically, the "Get All" operation retrieves a paginated list of all drivers from the system. This is useful in scenarios where you need to fetch and process driver data for logistics, fleet management, or reporting purposes.

For example, a user might want to automate the retrieval of all registered drivers to synchronize with another system, generate reports on driver availability, or monitor driver assignments.

Properties

Name Meaning
Page Page number for pagination; specifies which page of results to retrieve (default: 1).
Page Size Number of items per page; controls how many driver records are returned per request (default: 20).

These properties allow users to control pagination when fetching the list of drivers.

Output

The output is a JSON array containing driver objects as returned by the Nuvem Solution API endpoint /erp/oficina/motorista. Each object represents a driver with its associated details (such as name, ID, and other driver-specific information).

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Nuvem Solution API.
  • The node uses bearer token authentication obtained via the configured credentials.
  • The base URL for the API and authentication credentials must be properly set in the node's credentials configuration.

Troubleshooting

  • Authentication failures: If the node fails to authenticate, ensure that the provided software key, secret, user ID, and user key are correct and have sufficient permissions.
  • Pagination issues: If no data is returned, verify that the Page and Page Size parameters are set correctly and that there is data available on the requested page.
  • API errors: The node throws errors if unsupported operations or resources are specified. Make sure to select the correct resource ("Motorista") and operation ("Get All").
  • Network or connectivity problems: Ensure that the n8n instance can reach the Nuvem Solution API endpoint and that no firewall or proxy is blocking requests.

Links and References

  • Nuvem Solution API Documentation (general reference; specific endpoints may require access)
  • For more details on driver data structure and API usage, consult your Nuvem Solution account representative or API docs.

This summary is based solely on static analysis of the provided source code and input property definitions.

Discussion