Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Staff → Get

AI-generated

Overview

This node interacts with the Magnet Customer API to retrieve information about a specific staff member based on their Staff ID. It supports authentication via API Token or OAuth2. The node is useful for scenarios where you need to fetch detailed data about staff members, such as in HR systems, customer support platforms, or internal management tools.

Use Case Examples

  1. Retrieve detailed information about a staff member by providing their Staff ID.
  2. Use the node to integrate staff data into workflows for automated reporting or notifications.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Staff ID The unique identifier of the staff member to retrieve. This is a required field for the 'Get' operation on the Staff resource.

Output

JSON

  • _id - The unique identifier of the staff member.
  • fullname - The full name of the staff member.
  • email - The email address of the staff member.
  • role - The role or position of the staff member within the organization.
  • active - Indicates whether the staff member is currently active.
  • customFields - Custom fields associated with the staff member, if any.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure the Staff ID provided is correct and exists in the Magnet Customer system to avoid 'not found' errors.
  • Verify that the selected authentication method is properly configured with valid credentials.
  • If the node fails to resolve custom fields, check the 'Resolve Custom Fields' option and ensure the API has access to custom field data.

Discussion