Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Lead → Delete

AI-generated

Overview

This node deletes a lead in the Magnet Customer system using the provided lead ID. It is useful for scenarios where you need to remove outdated or incorrect lead records from your CRM or customer management system. For example, if a lead is no longer valid or was entered by mistake, this node can be used to delete it programmatically within an automation workflow.

Use Case Examples

  1. Deleting a lead by specifying its unique ID to keep the lead database clean and up-to-date.
  2. Automating lead management by removing leads that do not meet certain criteria.

Properties

Name Meaning
Authentication Selects the authentication method to use for the API request (API Token or OAuth2).
Contact ID The unique ID of the lead to delete. This is a required field for the delete operation on leads.

Output

JSON

  • json - The JSON response from the API after attempting to delete the lead, typically indicating success or failure of the deletion.

Dependencies

  • Requires authentication credentials for the Magnet Customer API, either an API token or OAuth2 credentials.

Troubleshooting

  • Common issues include providing an invalid or non-existent lead ID, which will cause the API to return an error indicating the lead could not be found or deleted.
  • Authentication errors may occur if the API token or OAuth2 credentials are missing, expired, or incorrect. Ensure valid credentials are provided.
  • Network or API endpoint issues may cause the request to fail; verify network connectivity and API availability.

Discussion