Unsubscribe Contact
AI-generatedOverview
This node operation allows users to unsubscribe a contact from Maileon mailing lists using either the contact's email address or an external ID. It optionally associates the unsubscription with a specific mailing ID. This is useful for managing contact preferences and ensuring compliance with email marketing regulations by removing contacts who no longer wish to receive communications.
Use Case Examples
- Unsubscribe a contact by their email address to stop receiving newsletters.
- Unsubscribe a contact using their external ID and associate the unsubscription with a particular mailing campaign.
Properties
| Name | Meaning |
|---|---|
| The email address of the contact to unsubscribe. | |
| External ID | The external ID of the contact to unsubscribe, used as an alternative to email. |
| Mailing ID | Optional ID of the mailing to associate with the unsubscription, providing context for the unsubscribe action. |
Output
JSON
success- Indicates if the unsubscription was successful (true/false).message- A message confirming the unsubscription status.response- The raw response from the Maileon API for the unsubscribe request.
Dependencies
- Requires an API key credential for Maileon API authentication.
Troubleshooting
- Ensure the email or external ID provided is valid and exists in the Maileon contact list.
- Check that the Maileon API credentials are correctly configured and have the necessary permissions.
- If the mailing ID is provided, verify it corresponds to an existing mailing in Maileon.
- Common error messages include invalid email format, contact not found, or authentication errors. Verify input data and credentials to resolve these.