SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node provides integration with the SmartLead API, focusing on email marketing automation. Specifically, for the Email Accounts resource and the Reconnect Failed operation, it allows users to reconnect email accounts that have previously failed connection attempts. This is useful in scenarios where an email account used for campaigns or warmup processes has lost connectivity or authentication and needs to be re-established without recreating the account.

Practical examples:

  • Automatically retrying connection to an email account after password changes or temporary service interruptions.
  • Restoring email account connectivity to resume sending campaigns or warmup sequences without manual intervention.

Properties

Name Meaning
Email Account ID The unique identifier of the email account to reconnect.
Additional Fields (Not applicable for this operation; present in other contexts.)

Output

The node outputs a JSON array containing the response data from the SmartLead API after attempting to reconnect the specified email account. The structure typically includes details about the email account status post-reconnection attempt, such as success confirmation or error messages returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the SmartLead API.
  • The base URL for API requests is https://server.smartlead.ai/api/v1.
  • The node uses HTTP POST method to trigger the reconnect action on the endpoint /email-accounts/{emailAccountId}/reconnect.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Providing an incorrect or non-existent Email Account ID will result in errors indicating the account was not found.
    • Network connectivity issues may prevent successful API calls.
  • Error messages:

    • "Invalid JSON" errors are unlikely here since no JSON input is required beyond the Email Account ID.
    • API errors related to reconnection failure will be passed through from the SmartLead API response.
  • Resolutions:

    • Verify the API key credential is valid and has necessary permissions.
    • Confirm the Email Account ID is correct and corresponds to an existing account.
    • Check network connectivity and firewall settings.
    • Review API response messages for specific failure reasons.

Links and References

Discussion