Actions39
- Campaign Actions
- Campaign Statistic Actions
- Client Actions
- Email Account Actions
- Lead Actions
- Master Inbox Actions
- Webhook Actions
Overview
This node interacts with the Smartlead.ai API to manage leads within campaigns. Specifically, the "Update Category" operation for the "Lead" resource allows users to change the category of a lead in a given campaign and optionally pause the lead during this update.
This operation is useful when you want to reorganize or reclassify leads based on new information or campaign strategies. For example, if a lead's status changes or they need to be moved to a different segment, updating their category helps keep your campaign data accurate and actionable. Pausing the lead during this update can prevent further automated actions until the change is fully processed.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign containing the lead. |
| Lead ID | The unique identifier of the lead whose category will be updated. |
| Category ID | The numeric ID representing the new category to assign to the lead. |
| Pause Lead | Boolean flag indicating whether to pause the lead when updating its category (true/false). |
Output
The node outputs JSON data representing the response from the Smartlead.ai API after attempting to update the lead's category. This typically includes confirmation of the update or details about the updated lead object.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Smartlead.ai API.
- Requires an API authentication token configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://server.smartlead.ai/api/v1.
Troubleshooting
Common Issues:
- Invalid or missing Campaign ID or Lead ID will cause the API request to fail.
- Providing a Category ID that does not exist or is invalid may result in an error.
- Network connectivity issues or incorrect API credentials will prevent successful communication with the Smartlead.ai API.
Error Messages:
- Errors returned by the API will be propagated as node errors. Common messages might include "Lead not found", "Invalid category ID", or "Unauthorized".
- To resolve, verify that all IDs are correct, the API key is valid, and the network connection is stable.
Links and References
- Smartlead.ai API Documentation (Assumed link for reference purposes)