Mindz icon

Mindz

Interact with Mindz API

Actions116

Overview

The node interacts with the Mindz API to manage "Email Campaign Excluded Course" resources. Specifically, the List operation retrieves a list of courses that have been excluded from a particular email campaign. This is useful when you want to see which courses are intentionally omitted from receiving certain email campaigns, helping in targeted marketing or communication strategies.

Practical examples:

  • A marketing team wants to verify which courses are excluded from an ongoing email campaign before launching it.
  • An administrator needs to audit exclusions to ensure no course is mistakenly left out of important announcements.
  • Automating reports on excluded courses for compliance or review purposes.

Properties

Name Meaning
Email Campaign ID The unique identifier of the email campaign for which excluded courses are listed.
Limit Maximum number of excluded course records to return (minimum 1). Defaults to 50.
Offset Number of excluded course records to skip before starting to collect the results. Defaults to 0.

Output

The output contains a JSON array where each item represents an excluded course associated with the specified email campaign. Each item typically includes details such as course identifiers and possibly metadata about the exclusion.

If the node supports binary data output, it would represent attachments or files related to the excluded courses, but based on the provided code and context, this node outputs only JSON data.

Dependencies

  • Requires an active connection to the Mindz API via an OAuth2-based API key credential.
  • The node depends on the Mindz API service being available and accessible.
  • Proper configuration of the API credentials within n8n is necessary for authentication.

Troubleshooting

  • Common issues:

    • Invalid or missing Email Campaign ID: The API will not return results if the campaign ID is incorrect or not provided.
    • API authentication errors: Ensure the OAuth2 API key credential is valid and has sufficient permissions.
    • Pagination misconfiguration: Setting limit too high or offset incorrectly may result in empty or incomplete data sets.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check API credentials and refresh tokens if needed.
    • "Invalid Email Campaign ID": Verify the campaign ID exists and is correctly input.
    • "Rate limit exceeded": Slow down requests or check API usage limits.

Links and References

Discussion