Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Ticket → Get

AI-generated

Overview

This node operation retrieves a specific ticket from the Magnet Customer API using the provided Ticket ID. It supports authentication via API Token or OAuth2. This operation is useful for scenarios where you need to fetch detailed information about a particular ticket, such as customer support requests or issue tracking within a CRM or helpdesk system.

Use Case Examples

  1. Fetch a ticket by its ID to display detailed information in a dashboard.
  2. Retrieve ticket data to automate follow-up actions or notifications based on ticket status.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either API Token or OAuth2.
Ticket ID The unique identifier of the ticket to retrieve. This is required for the get operation on the ticket resource.

Output

JSON

  • _id - Unique identifier of the ticket.
  • title - Title or subject of the ticket.
  • status - Current status of the ticket.
  • priority - Priority level of the ticket.
  • createdAt - Timestamp when the ticket was created.
  • updatedAt - Timestamp when the ticket was last updated.
  • customerId - Identifier of the customer associated with the ticket.
  • assignedStaffId - Identifier of the staff member assigned to the ticket.
  • description - Detailed description or content of the ticket.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure the Ticket ID is provided and valid; missing or incorrect IDs will cause errors.
  • Verify that the selected authentication method (API Token or OAuth2) is correctly configured and has the necessary permissions.
  • If the API request fails, check network connectivity and API endpoint availability.
  • Errors related to resolving custom fields may occur if the option to resolve custom fields is enabled but the custom fields data is incomplete or inaccessible.

Links

Discussion