Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The node interacts with the Mindz API to manage and retrieve data related to email campaign courses. Specifically, the List operation under the Email Campaign Course resource fetches a list of courses associated with a given email campaign. This is useful for scenarios where you want to analyze or process all courses linked to a particular email marketing campaign, such as reporting on campaign reach or automating follow-up actions based on course enrollments.

Practical examples:

  • Retrieve all courses tied to an email campaign to generate a report on campaign effectiveness.
  • Use the list of courses in a workflow to trigger notifications or updates when new courses are added to a campaign.
  • Automate syncing of campaign courses with other systems like CRM or LMS platforms.

Properties

Name Meaning
Email Campaign ID The unique identifier of the email campaign whose courses you want to list.
Limit Maximum number of results to return (minimum 1). Defaults to 50.
Offset Number of results to skip before starting to collect the output (minimum 0). Defaults to 0.

Output

The node outputs JSON data representing the list of courses associated with the specified email campaign. Each item in the output array corresponds to one course linked to the campaign, typically including details such as course ID, name, description, and other relevant metadata provided by the Mindz API.

If the API supports pagination, the limit and offset properties control how many courses are returned and from which position in the full list.

The node does not output binary data for this operation.

Dependencies

  • Requires an active connection to the Mindz API using OAuth2 authentication.
  • The user must configure the node with valid API credentials (an API key or OAuth2 token) to access the Mindz platform.
  • No additional external dependencies beyond the Mindz API and n8n's standard HTTP request capabilities.

Troubleshooting

  • Invalid Email Campaign ID: If the provided campaign ID does not exist or is malformed, the API will likely return an error. Verify the campaign ID is correct.
  • Authentication Errors: Ensure that the OAuth2 credentials are valid and have not expired.
  • Limit and Offset Values: Providing invalid values (e.g., negative numbers) for limit or offset may cause errors. Use values within allowed ranges.
  • Empty Results: If no courses are linked to the specified campaign, the output will be an empty array. Confirm that the campaign has associated courses.
  • API Rate Limits: Excessive requests might lead to rate limiting; implement retries or backoff strategies if needed.

Links and References

Discussion