Actions39
- Campaign Actions
- Campaign Statistic Actions
- Client Actions
- Email Account Actions
- Lead Actions
- Master Inbox Actions
- Webhook Actions
Lead → Add To Global Block List
AI-generatedOverview
This node integrates with the Smartlead.ai API to manage leads and campaigns. Specifically, the "Add To Global Block List" operation under the "Lead" resource allows users to add one or more domains to a global block list. This is useful for preventing emails from certain domains from being contacted or included in campaigns, helping maintain email hygiene and reduce spam or unwanted contacts.
Practical scenarios include:
- Automatically blocking domains known for spam or low-quality leads.
- Managing compliance by excluding specific domains from outreach.
- Maintaining a clean lead database by globally blocking problematic domains.
Properties
| Name | Meaning |
|---|---|
| Domain Block List | A comma-separated list of domain names (e.g., blocked.com, nospam.org) to add to the global block list. These domains will be blocked globally across all campaigns and leads. |
Output
The node outputs JSON data representing the response from the Smartlead.ai API after attempting to add the specified domains to the global block list. The structure typically includes confirmation of the added domains or any error messages returned by the API.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Smartlead.ai API.
- The base URL for API requests is
https://server.smartlead.ai/api/v1. - Proper configuration of the API authentication credential within n8n is necessary.
Troubleshooting
Common Issues:
- Providing an empty or improperly formatted domain list (e.g., missing commas) may cause the API request to fail.
- Network connectivity issues can prevent successful communication with the Smartlead.ai API.
- Insufficient permissions or invalid API credentials will result in authentication errors.
Error Messages:
- Errors related to invalid input typically indicate that the domain list was not provided or formatted correctly. Ensure domains are comma-separated and trimmed.
- Authentication errors suggest checking the API key credential setup.
- API rate limits or server errors should be retried later or checked with Smartlead.ai support.
Links and References
- Smartlead.ai API Documentation (general reference; actual endpoint details may vary)
- n8n documentation on API Credentials for setting up API keys