Mailgroup icon

Mailgroup

Interact with a mailgroup instance

Overview

The node "Mailgroup" allows interaction with a mailgroup instance, specifically managing mailing lists and related entities. The "Delete List" operation under the "List" resource enables users to delete a specific mailing list by providing its unique ID. This is useful for scenarios where obsolete or unwanted mailing lists need to be removed from the system to maintain data hygiene or comply with organizational policies.

Practical examples include:

  • Automatically deleting mailing lists that are no longer active or relevant.
  • Cleaning up test or temporary lists created during campaign testing.
  • Managing subscriber segmentation by removing outdated lists.

Properties

Name Meaning
ID The unique identifier of the mailing list object to delete. This is a required string property.

Output

The output of the "Delete List" operation typically contains a JSON response indicating the success or failure of the deletion request. It may include status messages or confirmation details about the deleted list. There is no indication that binary data is returned by this operation.

Dependencies

  • Requires an API key credential with username and password authentication to connect to the Mailgroup API.
  • The base URL for API requests is constructed dynamically from the provided domain credential.
  • The node depends on the Mailgroup API being accessible and properly configured with the necessary permissions to delete lists.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent list ID will likely result in an error response from the API.
    • Authentication failures due to incorrect credentials will prevent the operation from succeeding.
    • Network connectivity problems can cause timeouts or inability to reach the API endpoint.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Verify that the API credentials (username, password, domain) are correct and have sufficient permissions.
    • "List not found": Confirm that the provided ID corresponds to an existing mailing list.
    • "Network error": Check internet connection and API endpoint availability.

Links and References

  • Mailgroup API documentation (refer to official docs for detailed API endpoints and authentication)
  • n8n documentation on creating and using custom nodes with API credentials

Discussion