Instantly icon

Instantly

Interact with Instantly API

Overview

This node interacts with the Instantly API to manage leads, accounts, and campaigns. Specifically for the Lead - Delete operation, it deletes a lead identified by its unique Lead ID from the Instantly system. This is useful in scenarios where you want to remove outdated or incorrect lead data automatically as part of your workflow.

Practical examples include:

  • Automatically deleting leads that have unsubscribed or bounced.
  • Cleaning up test or duplicate leads after import.
  • Managing lead lifecycle by removing leads no longer relevant to your sales process.

Properties

Name Meaning
Lead ID The unique identifier of the lead to delete

Output

The node outputs a JSON object representing the response from the Instantly API after attempting to delete the specified lead. Typically, this will confirm successful deletion or provide error details if the operation failed.

The output JSON structure corresponds directly to the API's response for the DELETE /leads/{leadId} endpoint. No binary data is involved.

Dependencies

  • Requires an active connection to the Instantly API via an API key credential configured in n8n.
  • The node uses the Instantly API endpoints under /leads to perform operations.
  • Proper permissions on the API key are necessary to delete leads.

Troubleshooting

  • Common issues:

    • Invalid or missing Lead ID: Ensure the Lead ID provided exists and is correctly formatted.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or API downtime: Check connectivity and Instantly service status.
  • Error messages:

    • "404 Not Found": The specified Lead ID does not exist. Confirm the Lead ID is correct.
    • "401 Unauthorized" or "403 Forbidden": Authentication failure or insufficient permissions. Recheck API credentials.
    • Other HTTP errors: Refer to Instantly API documentation for specific error codes and meanings.

Links and References

Discussion