SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API, providing comprehensive email marketing automation capabilities. Specifically, for the Smart Senders resource and the Get Domain List operation, it retrieves a list of available domains managed by the SmartLead platform.

This operation is useful when you want to fetch all domains that can be used for sending emails or managing mailboxes within your email marketing campaigns. For example, before assigning domains to campaigns or generating mailboxes, you might want to get an updated list of all domains available in your account.

Properties

Name Meaning
Additional Fields A collection of optional parameters:
- Limit Number of results to return (default 100)
- Offset Number of results to skip (default 0)
- Status Campaign status filter with options: Active, Paused, Stopped (default Active)

Note: Although these additional fields are defined in the input properties JSON, they are not used in the "Get Domain List" operation of the Smart Senders resource based on the code analysis.

Output

The output is a JSON array representing the list of domains retrieved from the SmartLead API endpoint:

  • Each item in the output corresponds to a domain object as returned by the API.
  • The exact structure of each domain object depends on the SmartLead API response but typically includes domain name, status, and related metadata.
  • The output does not include binary data.

Example output snippet (conceptual):

[
  {
    "domain": "example.com",
    "status": "active",
    "created_at": "2023-01-01T12:00:00Z"
  },
  {
    "domain": "anotherdomain.net",
    "status": "paused",
    "created_at": "2023-02-15T08:30:00Z"
  }
]

Dependencies

  • Requires an API key credential for authenticating requests to the SmartLead API.
  • The base URL for the API is https://server.smartlead.ai/api/v1.
  • The node uses HTTP GET method to fetch the domain list from /smart-senders/domains.
  • No additional environment variables or external services are required beyond the configured API authentication.

Troubleshooting

  • Invalid JSON Errors: Not applicable for this operation since no JSON input body is sent.
  • Authentication Errors: Ensure the API key credential is correctly configured and has permissions to access the SmartSenders endpoints.
  • Empty Results: If the domain list returns empty, verify that your SmartLead account has domains registered.
  • Network Issues: Check network connectivity and API endpoint availability if requests fail.
  • Unexpected API Response: If the API changes its response format, the node may not parse the output correctly.

Links and References


This summary focuses exclusively on the Smart Senders resource and the Get Domain List operation as requested.

Discussion