SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API to manage leads, campaigns, email accounts, analytics, smart delivery tests, webhooks, and smart senders for email marketing automation. Specifically, the "Add to Block List" operation under the šŸ‘„ Lead Management resource allows users to add a lead's email address or domain to a global block list, preventing further communication with that lead or domain.

Common scenarios where this node is beneficial include:

  • Automatically blocking problematic or unsubscribed leads from future campaigns.
  • Managing lead statuses and categories within email marketing workflows.
  • Integrating lead management actions into automated pipelines for better campaign hygiene.

Practical example:

  • When a lead opts out or reports spam, use this node to add their email to the block list, ensuring they are excluded from all future email campaigns.

Properties

Name Meaning
Additional Fields Collection of optional fields (Limit, Offset, Status) used in some operations but not relevant for "Add to Block List".

For the Add to Block List operation specifically, the key input property is:

Name Meaning
email The email address of the lead to block.

(Note: The provided properties JSON relates to other operations and resources; the "Add to Block List" operation uses the email string parameter as input.)

Output

The node outputs the response from the SmartLead API call in the json field. This typically contains the data returned by the API after adding the lead/email to the block list, such as confirmation details or the blocked entity information.

No binary data output is involved in 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 configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid JSON Errors: Some operations require JSON input (not applicable for Add to Block List), but if JSON parsing errors occur, ensure the JSON syntax is correct.
  • API Authentication Failures: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Missing Required Parameters: For "Add to Block List," ensure the email parameter is provided and valid.
  • Network Issues: Check connectivity to https://server.smartlead.ai/api/v1.

If the node throws errors related to invalid parameters or failed requests, review the input values and API credentials.

Links and References

Discussion