SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node provides integration with the SmartLead API, focusing on managing leads within email marketing campaigns. Specifically, the "Pause" operation under the "Lead Management" resource allows users to pause a lead's activity in a specified campaign. This is useful when you want to temporarily halt sending emails or other campaign interactions to a particular lead without removing them entirely.

Common scenarios include:

  • Temporarily suspending communication with a lead due to inactivity or manual review.
  • Pausing leads who have requested a temporary hold on emails.
  • Managing lead engagement dynamically based on external triggers or business logic.

Example: Pause a lead with ID 12345 in campaign abcde to stop further emails until resumed.

Properties

Name Meaning
Campaign ID The unique identifier of the campaign where the lead is managed.
Lead ID The unique identifier of the lead to be paused within the campaign.
Additional Fields (Not applicable for this operation)

Output

The output JSON contains the response data from the SmartLead API after attempting to pause the lead. Typically, this will include confirmation of the action or details about the paused lead status.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the SmartLead API.
  • The base URL used for API calls is https://server.smartlead.ai/api/v1.
  • Proper configuration of the API credential in n8n is necessary for successful execution.

Troubleshooting

  • Invalid Campaign ID or Lead ID: If either ID is incorrect or does not exist, the API will return an error. Verify IDs before running the node.
  • Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
  • JSON Parsing Errors: Not applicable for this operation as no JSON input fields are required beyond simple strings.
  • Network Issues: Check connectivity to https://server.smartlead.ai.

Common error messages:

  • "Invalid JSON in lead data" — Not relevant here since no JSON input is required for pause.
  • API errors indicating missing or invalid parameters should be resolved by verifying input values.

Links and References

Discussion