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 "Resume In Campaign" operation allows users to resume a paused lead in a specified campaign after an optional delay period. This is useful in scenarios where leads have been temporarily paused (e.g., due to non-responsiveness or manual intervention) and need to be reactivated automatically after some time.
Practical examples:
- Automatically resuming leads in a drip email campaign after a 10-day pause.
- Resuming leads who were paused due to temporary issues, ensuring they continue receiving campaign communications without manual effort.
- Managing lead engagement by controlling when leads are active in campaigns based on business rules.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign in which the lead is to be resumed. |
| Lead ID | The unique identifier of the lead to be resumed in the campaign. |
| Resume Delay (Days) | Number of days to wait before resuming the lead. Defaults to 10 if not specified. |
Output
The output is a JSON object representing the response from the Smartlead.ai API after attempting to resume the lead in the campaign. It typically contains details about the lead's updated status or confirmation of the resume action.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Smartlead.ai API.
- The node makes HTTP POST requests to the endpoint:
https://server.smartlead.ai/api/v1/campaigns/{campaignId}/leads/{leadId}/resume - The request body includes the delay parameter as
resume_lead_with_delay_days.
Troubleshooting
Common Issues:
- Invalid or missing Campaign ID or Lead ID will cause the API call to fail.
- Insufficient permissions or invalid API key may result in authentication errors.
- Providing a negative or non-integer value for the resume delay might cause unexpected behavior or errors.
Error Messages:
- Authentication errors: Check that the API key credential is correctly configured and valid.
- "Lead not found" or "Campaign not found": Verify that the provided IDs exist and are correct.
- Validation errors related to the delay parameter: Ensure the delay is a positive integer.
Links and References
- Smartlead.ai API Documentation (general reference for API endpoints)
- n8n documentation on HTTP Request Node for understanding how API calls are made within nodes