Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

Overview

This node operation deletes campaign analytics data filtered by a specified type of GC collected subscribers. It is useful for maintenance tasks where you need to clean up or remove specific analytics data from your campaign records based on subscriber type. For example, if you want to delete all analytics related to a certain subscriber category to free up space or reset data for a new campaign cycle, this operation facilitates that.

Use Case Examples

  1. Deleting campaign analytics for a subscriber type 'premium' to reset analytics before a new campaign.
  2. Removing analytics data for a test subscriber group after campaign testing is complete.

Properties

Name Meaning
Type The type of GC collected subscribers for which the campaign analytics will be deleted.
Request Options Additional options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout.

Output

JSON

  • success - Indicates whether the deletion operation was successful.
  • deletedCount - Number of campaign analytics records deleted for the specified type.

Dependencies

  • Requires an API key credential for authentication to the Listmonk API service.

Troubleshooting

  • If the 'Type' parameter is missing or invalid, the node will fail to delete any analytics data. Ensure the type matches existing subscriber types.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.
  • SSL certificate validation errors can be bypassed by enabling 'Ignore SSL Issues', but this is insecure and should be used cautiously.
  • Proxy misconfiguration can cause request failures; verify proxy URL and credentials if used.

Discussion