Actions74
- šÆ Campaign Management Actions
- š„ Lead Management Actions
- š§ Email Accounts Actions
- š Analytics & Stats Actions
- š Smart Delivery Actions
- Get Region Provider IDs
- Create Manual Placement Test
- Create Automated Placement Test
- Get Spam Test Details
- Delete Tests in Bulk
- Stop Automated Test
- List All Tests
- Get Provider Report
- Get Geo Report
- Get Sender Account Report
- Get Spam Filter Report
- Get DKIM Details
- Get SPF Details
- Get rDNS Report
- Get Sender Account List
- Get Blacklists
- Get Domain Blacklist
- Get Spam Test Email Content
- Get Email Reply Headers
- Get Schedule History
- Get IP Details
- Get Mailbox Summary
- Get Mailbox Count
- Get All Folders
- Create Folder
- Get Folder by ID
- Delete Folder
- š Webhooks Actions
- šØ Smart Senders 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 segmenting leads dynamically based on their behavior or status in a campaign.
Common scenarios include:
- Reclassifying leads into different categories after certain interactions.
- Organizing leads for targeted follow-ups or reporting.
- Automating lead lifecycle management by updating categories programmatically.
Example: Automatically move leads from a "Prospect" category to a "Customer" category after a successful purchase event tracked in your workflow.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign containing the leads whose categories will be updated. |
Note: The operation does not require additional input fields beyond the campaign ID for this action, as the category update payload is sent in the request body internally (not exposed as an input property here).
Output
The output JSON contains the response data from the SmartLead API after attempting to update the lead category. Typically, this includes confirmation of the update or details about the affected leads.
The structure is:
{
"data": { /* API response object related to category update */ }
}
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the SmartLead API via an API key credential configured in n8n.
- The node sends authenticated HTTP requests to
https://server.smartlead.ai/api/v1. - Proper permissions on the API key are necessary to update lead categories within campaigns.
Troubleshooting
- Invalid JSON Errors: If you manually provide JSON inputs (in other operations), ensure they are well-formed. For this operation, the node handles JSON internally.
- Authentication Failures: Verify that the API key credential is valid and has sufficient permissions.
- Campaign ID Issues: Ensure the provided Campaign ID exists and is accessible by the API key user.
- API Errors: The node throws errors if the API returns failures; check the error message for details such as invalid parameters or rate limits.
Links and References
- SmartLead API Documentation (general reference for endpoints)
- SmartLead Lead Management Guide (for understanding lead categories and usage)
This summary focuses exclusively on the Lead Management > Update Category operation as requested.