SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API to manage email accounts, campaigns, leads, and analytics related to email marketing automation. Specifically, the "Get All for User" operation under the 📧 Email Accounts resource retrieves all email accounts associated with the current authenticated user.

This operation is useful when you want to list or manage all email accounts available to a user in your email marketing platform. For example, you might use it to display all configured email accounts before assigning them to campaigns or checking their warmup status.

Properties

Name Meaning
Additional Fields Optional parameters to customize the request:
- Limit Number of results to return (default 100)
- Offset Number of results to skip (default 0)
- Status Filter email accounts by campaign status; options are: Active, Paused, Stopped (default Active)

Output

The output is a JSON array where each item represents an email account belonging to the current user. Each email account object contains details as returned by the SmartLead API's /email-accounts endpoint. The exact structure depends on the API but typically includes fields such as email address, account ID, status, and configuration details.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the SmartLead API.
  • The node uses the base URL https://server.smartlead.ai/api/v1.
  • Proper API authentication must be configured in n8n credentials for the SmartLead service.

Troubleshooting

  • Common issues:

    • Authentication errors if the API key is missing or invalid.
    • Network errors if the SmartLead API server is unreachable.
    • Empty results if no email accounts exist for the authenticated user.
  • Error messages:

    • Errors from the API will be surfaced with their message. For example, "Unauthorized" indicates invalid credentials.
    • If the node is set to continue on fail, errors will be returned as JSON objects with an error field describing the issue.
  • Resolutions:

    • Verify that the API key credential is correctly set up and has necessary permissions.
    • Check network connectivity to the SmartLead API endpoint.
    • Confirm that the user has email accounts configured in SmartLead.

Links and References

Discussion