SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node integrates with the SmartLead platform's Smart Delivery resource, specifically supporting the Delete Folder operation. This operation allows users to delete an existing folder within the Smart Delivery system by specifying its unique folder ID.

This node is beneficial in scenarios where you need to programmatically manage email deliverability testing folders, such as cleaning up obsolete or unused folders to maintain an organized testing environment.

Practical example:

  • Automatically deleting test folders after completion of email deliverability tests to keep the Smart Delivery workspace tidy and relevant.

Properties

Name Meaning
Folder ID The unique identifier of the folder to be deleted. This is a required string input.
Additional Fields (Not applicable for this operation)

Output

The output JSON contains the response from the Smart Delivery API after attempting to delete the specified folder. Typically, this will include confirmation of deletion or error details if the operation failed.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the SmartLead API.
  • The base URL for Smart Delivery operations is https://smartdelivery.smartlead.ai/api/v1.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Folder ID: The operation requires a valid folder ID; ensure it is correctly provided.
    • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
    • Network or API endpoint issues: Confirm network connectivity and that the SmartLead API service is operational.
  • Error messages:

    • "Invalid JSON in folder data": Not applicable here since no JSON input is required for deletion.
    • HTTP errors like 404 may indicate the folder ID does not exist.
    • 401 or 403 errors suggest authentication or permission problems.

To resolve errors, verify inputs, credentials, and API availability.

Links and References

  • SmartLead API Documentation (general reference for API endpoints and usage)
  • Smart Delivery API base URL: https://smartdelivery.smartlead.ai/api/v1

Discussion