SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API to manage email marketing automation tasks. Specifically, for the Email Accounts - Create operation, it allows users to create new email accounts within their SmartLead environment. This is useful for setting up sender addresses that can be used in campaigns or warmup processes.

Typical scenarios include:

  • Adding a new email account to be used as a sender in email campaigns.
  • Automating the onboarding of multiple email accounts for large-scale email marketing.
  • Integrating email account creation into broader workflows involving campaign and lead management.

Example: Automatically creating an email account when a new user signs up, so that the system can start sending personalized emails from that account.

Properties

Name Meaning
Additional Fields Collection of optional fields to customize the request. Includes:
- Limit Number of results to return (not applicable for create operation here)
- Offset Number of results to skip (not applicable for create operation here)
- Status Campaign status options: Active, Paused, Stopped (not applicable for create operation here)

Note: For the Email Accounts - Create operation, no specific input properties beyond the default ones are explicitly defined in the provided JSON snippet. The node likely expects the necessary email account details to be passed via parameters or JSON body, but these are not detailed in the given property definitions.

Output

The node outputs the response from the SmartLead API after attempting to create the email account. The output is structured as JSON data under the json field, containing the API's response data about the newly created email account.

If the API returns binary data (not indicated in this operation), it would be summarized accordingly, but for this operation, the output is purely JSON.

Dependencies

  • Requires an API key credential for authenticating with the SmartLead API.
  • The base URL for API requests is https://server.smartlead.ai/api/v1.
  • The node uses HTTP POST method to send creation requests to the endpoint /email-accounts.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid JSON Errors: If the node expects JSON input for email account details and the JSON is malformed, it will throw an error indicating invalid JSON. Ensure all JSON inputs are correctly formatted.
  • Authentication Failures: If the API key or credentials are missing or incorrect, the node will fail to authenticate. Verify the API key credential setup.
  • Missing Required Fields: The API may require certain mandatory fields for creating an email account. If these are missing, the API will respond with an error. Check the SmartLead API documentation for required fields.
  • Network Issues: Connectivity problems to the SmartLead API endpoint will cause request failures. Confirm network access and endpoint availability.

Links and References

Discussion