SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API to manage email marketing automation, specifically focusing on email accounts in this context. The Update operation for the Email Accounts resource allows users to modify settings of an existing email account within their SmartLead environment.

Typical use cases include:

  • Updating configuration or metadata of an email account used in campaigns.
  • Adjusting email account parameters without recreating the account.
  • Automating maintenance tasks such as reconnecting or updating warmup settings (though those are separate operations).

For example, a user might update the display name or credentials associated with an email account to ensure smooth campaign delivery.

Properties

Name Meaning
Email Account ID The unique identifier of the email account to update.
Additional Fields Optional extra parameters to customize the update request. Includes:
- Limit Number of results to return (if applicable).
- Offset Number of results to skip (for pagination).
- Status Campaign status related to the email account; options are Active, Paused, Stopped.

Note: Although "Additional Fields" includes some campaign-related options like status, these may be relevant depending on the exact update context or API endpoint behavior.

Output

The node outputs JSON data representing the updated email account information returned by the SmartLead API. This typically includes all current properties of the email account after the update.

The output is structured as an array of JSON objects, each corresponding to an item processed by the node. Each object contains the updated email account details under the json property.

No binary data output is produced by this operation.

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.
  • Proper network access to the SmartLead API endpoint is necessary.
  • The node uses HTTP POST method to send update requests to the /email-accounts/{emailAccountId} endpoint.

Troubleshooting

  • Invalid Email Account ID: If the provided ID does not exist or is malformed, the API will likely return an error. Verify the ID before running the node.
  • Authentication Errors: Ensure that the API key credential is valid and has sufficient permissions.
  • Network Issues: Connectivity problems to the SmartLead server can cause timeouts or failures.
  • Incorrect Additional Fields: Passing unsupported or incorrectly formatted additional fields may result in API errors.
  • API Rate Limits: Excessive requests may trigger rate limiting; consider adding delays or batching.

Common error messages:

  • "Not Found" or "Resource does not exist": Check the email account ID.
  • "Unauthorized" or "Authentication failed": Verify API credentials.
  • "Bad Request": Review the payload structure and field values.

Links and References

Discussion