Decogro icon

Decogro

Decogro integration for n8n

Admin → Get Users

AI-generated

Overview

This node integrates with the Decogro API to perform various administrative operations, including retrieving user data. Specifically, the 'Get Users' operation fetches a list of users from Decogro, supporting pagination through 'limit' and 'offset' parameters. This is useful for managing user information within Decogro, such as in administrative dashboards or user management workflows.

Use Case Examples

  1. Retrieve a paginated list of users to display in an admin panel.
  2. Fetch users for synchronization with another system or for reporting purposes.

Properties

Name Meaning
Limit Number of user items to return, with a minimum of 1 and a maximum of 100.
Offset Number of user items to skip, used for pagination, minimum value is 0.

Output

JSON

  • operation - The operation performed, e.g., 'getUsers'.
  • data - The array or object containing the retrieved user data from Decogro.
  • metadata
    • method - HTTP method used for the API request, typically 'GET'.
    • endpoint - API endpoint called, e.g., 'user' for fetching users.
    • timestamp - Timestamp of when the request was made.
    • limit - The limit parameter used for pagination.
    • offset - The offset parameter used for pagination.
    • page - The calculated page number based on limit and offset.

Dependencies

  • Requires an API key credential for Decogro API authentication.

Troubleshooting

  • Ensure the API key credential is correctly configured and has sufficient permissions to access user data.
  • If the node returns an error about invalid JSON, verify that any JSON input parameters are correctly formatted.
  • Pagination parameters 'limit' and 'offset' must be within allowed ranges; otherwise, the API may reject the request.
  • Network or authentication errors may occur if the base URL or API key is incorrect.

Links

Discussion