Actions37
- 🎯 Campaign Management Actions
- 👥 Lead Management Actions
- 📧 Email Accounts Actions
- 📊 Analytics & Stats Actions
Overview
The node integrates with the SmartLead API to manage leads within email marketing campaigns. Specifically, the "Update Category" operation under the "Lead Management" resource allows users to update the category of leads associated with a particular campaign. This is useful for organizing leads into different segments or categories based on their behavior, status, or other criteria, enabling more targeted marketing efforts.
Practical examples include:
- Reclassifying leads after a campaign phase ends.
- Moving leads to a new category based on engagement metrics.
- Automating lead segmentation as part of a workflow.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign to which the lead belongs. |
| Additional Fields | Optional parameters that can be added; includes: |
| - Limit | Number of results to return (used in some operations). |
| - Offset | Number of results to skip (used in some operations). |
| - Status | Status of the campaign; options are Active, Paused, or Stopped (used in some operations). |
Note: For the "Update Category" operation, the key required property is Campaign ID. Additional fields may not be directly relevant here but are available for other lead-related operations.
Output
The output JSON contains the response data from the SmartLead API related to the update category request. Typically, this will include confirmation of the update and possibly the updated lead category details.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating requests to 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
Common issues:
- Invalid or missing Campaign ID can cause the API call to fail.
- Incorrect API credentials or expired tokens will result in authentication errors.
- Network connectivity issues may prevent successful API calls.
Error messages:
- Authentication errors typically indicate invalid API keys; verify and update credentials.
- "Not Found" errors may mean the specified campaign or lead does not exist.
- Validation errors could occur if required fields are missing or malformed.
Resolution tips:
- Double-check all input parameters, especially Campaign ID.
- Ensure the API key credential is correctly set up and has sufficient permissions.
- Review API limits and usage quotas to avoid throttling.
Links and References
- SmartLead API Documentation (Assumed URL based on base URL)
- n8n Documentation on Creating Custom Nodes
- General best practices for Email Marketing Automation (Hypothetical link)