AvantGuard - EmailIt icon

AvantGuard - EmailIt

AvantGuard - EmailIt

Actions4

Overview

This node operation, "List All Audiences," retrieves a list of audience groups from an external email marketing or contact management service. It is useful for scenarios where you want to fetch and process all audience segments available in your account, such as for reporting, segmentation, or further automation workflows.

Practical examples include:

  • Automatically syncing audience lists with a CRM.
  • Generating reports on audience sizes and characteristics.
  • Triggering campaigns based on the retrieved audiences.

Properties

Name Meaning
Additional Body Fields Optional fields to customize the API request body when listing audiences.
- Per Page Limit the number of audiences returned per page (pagination control).
- Content The page number to retrieve (for paginated results).
- Filter Type Filter audiences by a specific type or attribute (exact meaning depends on API support).

Output

The output contains a JSON array of audience objects representing each audience retrieved from the service. Each object typically includes details such as audience ID, name, size, and other metadata depending on the external API's response structure.

If the node supports binary data output, it would represent any associated files or attachments related to the audiences, but this is not indicated in the provided code snippet.

Dependencies

  • Requires an API key credential for authenticating requests to the external email/contact management service.
  • The base URL for API requests is https://api.emailit.com/v1.
  • The node uses standard HTTP headers for JSON content negotiation (Accept: application/json, Content-Type: application/json).
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Common issues:

    • Pagination parameters (per_page and content) set incorrectly may result in empty or incomplete results.
    • Invalid or missing API credentials will cause authentication errors.
    • Using unsupported filter types may lead to API errors or no results.
  • Error messages:

    • Authentication failures usually indicate invalid or expired API keys; verify and update credentials.
    • Validation errors on input properties suggest incorrect parameter values; check property definitions.
    • Network or timeout errors require checking connectivity and API availability.

Links and References

Discussion