Actions39
- Campaign Actions
- Campaign Statistic Actions
- Client Actions
- Email Account Actions
- Lead Actions
- Master Inbox Actions
- Webhook Actions
Overview
This node integrates with the Smartlead.ai API to manage leads within campaigns. Specifically, the "Pause In Campaign" operation allows users to pause a particular lead's activity in a specified campaign. This is useful when you want to temporarily halt outreach or automation sequences for a lead without removing them from the campaign entirely.
Common scenarios include:
- Temporarily stopping communication with a lead due to external factors (e.g., waiting for a response).
- Managing lead engagement by pausing leads who have requested a break.
- Controlling campaign flow dynamically based on lead status or behavior.
Example: You have an active email campaign and want to pause sending emails to a specific lead while you verify some information or wait for their reply.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign in which the lead exists. |
| Lead ID | The unique identifier of the lead to be paused within the specified campaign. |
Output
The node outputs JSON data representing the API response after attempting to pause the lead in the campaign. This typically includes confirmation of the action or details about the paused lead state.
No binary data output is involved in 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}/pause. - Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing Campaign ID or Lead ID will cause the API request to fail.
- Authentication errors if the API key credential is not set up correctly.
- Network connectivity issues preventing access to the Smartlead.ai API.
Error messages:
- Errors returned from the API will be propagated, such as "Lead not found in campaign" or "Unauthorized".
- To resolve, verify that the Campaign ID and Lead ID are correct and that the API key credential is valid and has sufficient permissions.
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