NI icon

NI

Your Ni Integration

Lead → Delete Lead

AI-generated

Overview

This node operation deletes a lead identified by a unique Lead ID from the system. It is useful in scenarios where you need to remove outdated, incorrect, or unwanted lead records from your database or CRM system. For example, if a lead is no longer valid or was entered by mistake, this operation can be used to delete it programmatically within an automation workflow.

Use Case Examples

  1. Deleting a lead after a failed qualification process.
  2. Removing duplicate lead entries automatically.

Properties

Name Meaning
Lead ID The unique identifier of the lead to be deleted.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • success - Indicates whether the lead deletion was successful.
  • leadId - The ID of the lead that was deleted.

Dependencies

  • Requires an API key credential for authentication to the external lead management system's API.

Troubleshooting

  • Ensure the Lead ID provided is valid and exists in the system; otherwise, the deletion will fail.
  • Check network connectivity and proxy settings if requests time out or fail to reach the API.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.
  • API rate limits might affect batch processing; adjust batch size and interval accordingly.

Discussion