MOCO

Consume MOCO API

Actions20

Overview

This node interacts with the MOCO API to manage user data. Specifically, the 'User' resource with the 'Get' operation retrieves detailed information about a specific user by their User ID. This is useful in scenarios where you need to fetch user details for further processing or integration, such as syncing user data with other systems or displaying user information in workflows.

Use Case Examples

  1. Retrieve detailed information about a user by providing their User ID to integrate with HR or CRM systems.
  2. Fetch user details to verify user identity or update user-related records in an automated workflow.

Properties

Name Meaning
User ID The unique identifier of the user to retrieve. This is a required field to specify which user's information to fetch.

Output

JSON

  • id - The unique identifier of the user.
  • firstname - The first name of the user.
  • lastname - The last name of the user.
  • email - The email address of the user.
  • unit_id - The identifier of the unit or team the user belongs to.
  • active - Indicates if the user is active.
  • external - Indicates if the user is an external user.
  • created_at - Timestamp when the user was created.
  • updated_at - Timestamp when the user was last updated.

Dependencies

  • Requires an API key credential for authenticating with the MOCO API.

Troubleshooting

  • Common issues include providing an invalid or non-existent User ID, which results in an error from the MOCO API indicating the user was not found.
  • Authentication errors may occur if the API key credential is missing or invalid, resulting in authorization failures.
  • Network or connectivity issues can prevent the node from reaching the MOCO API, causing timeouts or request failures.

Links

Discussion