SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API, providing a comprehensive interface for managing various aspects of email marketing automation. Specifically, the Smart Senders resource's Auto-generate Mailboxes operation allows users to automatically generate multiple mailboxes under a specified domain. This is useful in scenarios where you need to quickly create several email accounts for campaigns, testing, or organizational purposes without manual setup.

Practical examples include:

  • Automatically provisioning mailboxes for a new marketing campaign.
  • Generating test email accounts for deliverability and spam filter testing.
  • Scaling mailbox creation when onboarding new clients or domains.

Properties

Name Meaning
Mailbox Generation Data JSON configuration specifying mailbox generation details. It must include:
- domain: The domain name under which mailboxes will be generated (e.g., "example.com")
- count: Number of mailboxes to generate

Example value for Mailbox Generation Data:

{
  "domain": "example.com",
  "count": 5
}

Additional fields are available for other resources/operations but are not relevant here.

Output

The node outputs the response from the SmartLead API call related to mailbox auto-generation. The output is structured as a JSON array where each item corresponds to an element of the API response data.

  • The main output field is json, containing the API response data about the generated mailboxes.
  • There is no binary data output for this operation.

Dependencies

  • Requires an API key credential for authenticating with the SmartLead API.
  • The base URL used for requests is https://server.smartlead.ai/api/v1.
  • The node uses HTTP POST method to send mailbox generation data in JSON format.
  • Proper JSON formatting of the mailbox generation data is mandatory; invalid JSON will cause errors.

Troubleshooting

  • Invalid JSON in mailbox generation data: If the JSON provided in the "Mailbox Generation Data" property is malformed, the node will throw an error indicating invalid JSON. To fix, ensure the JSON syntax is correct and includes required fields (domain and count).
  • API authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
  • Network or server errors: Check network connectivity and SmartLead service status if requests fail.
  • Unexpected API responses: Validate that the domain exists and that the count is within allowed limits by the SmartLead service.

Links and References


This summary focuses exclusively on the Smart Senders resource and its Auto-generate Mailboxes operation as requested.

Discussion