Scoro icon

Scoro

Interact with the Scoro API

Overview

This node integrates with the Scoro API to perform various operations on different resources. Specifically, for the Role - Get operation, it retrieves detailed information about a single role within the Scoro system by its identifier. This is useful in scenarios where you need to fetch role details such as permissions or descriptions for use in workflows that manage user roles, access control, or reporting.

Practical examples include:

  • Fetching a role's details to display in a dashboard.
  • Using role information to conditionally route workflow execution based on user permissions.
  • Synchronizing role data between Scoro and other systems.

Properties

Name Meaning
Role The identifier of the role to retrieve. You can select the role either from a searchable list of existing roles or specify the role ID directly.

The "Role" property supports two modes:

  • From List: Search and select a role from the available roles fetched dynamically.
  • By ID: Provide the exact role ID as a string.

Output

The node outputs JSON data representing the details of the requested role. This typically includes fields such as the role's name, description, permissions, and any other metadata provided by the Scoro API for that role.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Scoro API via an API key credential.
  • The node expects credentials containing the base URL of the Scoro instance, a company account identifier, and an API key for authentication.
  • Proper configuration of these credentials in n8n is necessary for successful API communication.

Troubleshooting

  • Operation Not Supported Error: If you receive an error stating the operation is not supported, verify that the resource is set to "Role" and the operation to "Get".
  • Authentication Errors: Ensure that the API key and other credential details are correctly configured and have sufficient permissions.
  • Role Not Found: If the specified role ID does not exist or is incorrect, the API will return an error. Double-check the role ID or use the list mode to select a valid role.
  • Network Issues: Confirm that the base URL is reachable and there are no network restrictions blocking access to the Scoro API.

Links and References

Discussion