Guru Digital Manager icon

Guru Digital Manager

Interact with Guru Digital Manager API

Actions39

Contact → Delete

AI-generated

Overview

This node integrates with the Guru Digital Manager API to manage various resources such as contacts, transactions, subscriptions, and more. Specifically for the Contact - Delete operation, it allows users to delete a contact by specifying its unique Contact ID. This is useful in scenarios where you need to remove outdated or incorrect contact records from your system automatically or as part of a workflow.

Practical examples include:

  • Automatically deleting contacts who have unsubscribed or requested data removal.
  • Cleaning up test or duplicate contacts after data import.
  • Integrating with other systems to synchronize contact deletions.

Properties

Name Meaning
Contact ID The unique identifier of the contact to delete.

Output

The output JSON contains a confirmation object indicating the success of the deletion operation. It has the following structure:

{
  "success": true,
  "message": "Contact deleted successfully"
}

This confirms that the contact was deleted without errors.

Dependencies

  • Requires an API key credential for authenticating with the Guru Digital Manager API.
  • The base URL for the API is configurable via credentials but defaults to https://digitalmanager.guru/api/v2.
  • The node uses HTTP DELETE requests to the endpoint /contacts/{contactId} to perform the deletion.

Troubleshooting

  • Missing Credentials Error: If the API key credential is not provided or invalid, the node will throw an error stating that credentials are required.
  • Invalid Contact ID: If the specified Contact ID does not exist or is incorrect, the API may return an error (e.g., 404 Not Found). Ensure the Contact ID is valid.
  • Permission Issues: If the API token lacks permission to delete contacts, the request will fail. Verify API token scopes and permissions.
  • Network or API Endpoint Errors: Check the base URL configuration and network connectivity if requests fail.
  • Handling Failures: The node supports continuing on failure; if enabled, errors during deletion will be captured in the output instead of stopping execution.

Links and References

Discussion