Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Custom Field Block → Get Many

AI-generated

Overview

This node interacts with the Magnet Customer API to retrieve multiple Custom Field Blocks. It supports pagination through 'Page' and 'Limit' parameters, allowing users to control the number of results returned per request. This operation is useful for scenarios where users need to fetch and process multiple custom field blocks from their Magnet Customer account, such as for data synchronization, reporting, or automation workflows.

Use Case Examples

  1. Retrieve the first 15 custom field blocks to display in a dashboard.
  2. Fetch subsequent pages of custom field blocks to process in batches.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API requests, either API Token or OAuth2.
Page Specifies the page number of results to retrieve, used for pagination.
Limit Specifies the maximum number of custom field blocks to return in one request, with a minimum value of 15.

Output

JSON

  • _id - Unique identifier of the custom field block.
  • name - Name of the custom field block.
  • fields - Array of fields contained within the custom field block.
  • createdAt - Timestamp when the custom field block was created.
  • updatedAt - Timestamp when the custom field block was last updated.

Dependencies

  • Magnet Customer API

Troubleshooting

  • Ensure correct authentication method and credentials are provided; authentication failures will prevent data retrieval.
  • Verify that the 'Page' and 'Limit' parameters are set correctly to avoid empty or incomplete results.
  • If the node fails to retrieve data, check network connectivity and API endpoint availability.
  • Errors related to custom field resolution may occur if the 'resolveCustomFields' option is enabled but the custom fields cannot be fetched or matched properly.

Links

Discussion