Actions116
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The node interacts with the Mindz API to list email campaigns. It retrieves a paginated, searchable, and sortable list of email campaigns from the Mindz platform. This operation is useful for users who want to fetch multiple email campaign records for reporting, monitoring, or further processing within an n8n workflow.
Practical examples:
- Fetching the latest 50 email campaigns sorted by creation date to analyze recent marketing efforts.
- Searching for email campaigns containing a specific keyword in their title or description.
- Paginating through all email campaigns by using offset and limit parameters to process them in batches.
Properties
| Name | Meaning |
|---|---|
| Limit | Max number of results to return (minimum 1). |
| Offset | Number of results to skip (minimum 0), used for pagination. |
| Search | Search term to filter email campaigns by matching text. |
| Sort By | Field to sort results by. Options: ID, Sent, Created, Updated. |
| Sort Direction | Direction to sort results by. Options: Ascending, Descending. |
Output
The output contains a JSON array of email campaign objects. Each object represents an individual email campaign with its associated data fields as returned by the Mindz API. The exact structure depends on the API response but typically includes identifiers, timestamps, status, and other metadata relevant to each campaign.
This node does not output binary data.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2 API credential configured in n8n.
- The node depends on the Mindz API being accessible and the credentials having sufficient permissions to list email campaigns.
Troubleshooting
Common issues:
- Invalid or expired API credentials will cause authentication errors.
- Providing an invalid value for
limitoroffset(e.g., negative numbers) may result in validation errors. - Network connectivity problems can prevent the node from reaching the Mindz API.
Error messages and resolutions:
- Authentication failed: Check that the API key or OAuth token is valid and has not expired.
- Invalid parameter: Ensure
limitis at least 1 andoffsetis zero or positive. - API rate limit exceeded: Wait before retrying or adjust the frequency of requests.
Links and References
- Mindz API Documentation (hypothetical link)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- Pagination best practices: https://developer.mindz.com/docs/pagination