Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The node allows users to interact with the Mindz API, specifically managing email campaign exclusions related to plans. The "Email Campaign Excluded Plan" resource with the "Create" operation enables adding a specific plan to the exclusion list of an email campaign. This means that recipients associated with the excluded plan will not receive emails from that campaign.

This functionality is useful in scenarios where you want to target email campaigns selectively, excluding certain subscription plans or user groups. For example, if you have a promotional email campaign but want to exclude users on a basic plan from receiving it, you can add that plan to the excluded plans of the campaign.

Properties

Name Meaning
Email Campaign ID The unique identifier of the email campaign to which you want to add an excluded plan.
Plan ID The unique identifier of the plan that should be excluded from the email campaign.

Output

The node outputs JSON data representing the result of adding the specified plan to the excluded plans of the given email campaign. The exact structure depends on the Mindz API response but typically includes confirmation details such as IDs and status of the exclusion addition.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Mindz API.
  • Requires an API authentication token configured in n8n credentials (an OAuth2 or similar API key credential).
  • Proper permissions on the Mindz account to modify email campaign exclusions.

Troubleshooting

  • Common issues:

    • Invalid or missing Email Campaign ID or Plan ID parameters will cause the operation to fail.
    • Insufficient permissions or expired API tokens may result in authorization errors.
    • Network connectivity problems can prevent communication with the Mindz API.
  • Error messages and resolutions:

    • "Invalid Email Campaign ID" — Verify that the provided campaign ID exists and is correctly formatted.
    • "Invalid Plan ID" — Ensure the plan ID corresponds to an existing plan in your Mindz account.
    • "Unauthorized" or "Authentication failed" — Check that the API credentials are valid and have not expired.
    • "Network error" — Confirm internet connectivity and that the Mindz API endpoint is reachable.

Links and References

  • Mindz API Documentation (general reference for email campaign management)
  • n8n documentation on creating custom nodes and using API credentials

Discussion