SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node integrates with the SmartLead API to manage email marketing campaigns and related entities. Specifically, the "Get by ID" operation under the šŸŽÆ Campaign Management resource retrieves detailed information about a single email campaign using its unique campaign ID.

This operation is useful when you want to fetch the current configuration, status, or metadata of a specific campaign for monitoring, reporting, or further processing within an automation workflow.

Practical examples:

  • Retrieve campaign details before updating or pausing it.
  • Fetch campaign info to display in dashboards or reports.
  • Use campaign data to trigger conditional logic based on campaign status or settings.

Properties

Name Meaning
Campaign ID The unique identifier of the campaign to retrieve.
Additional Fields Optional parameters to refine the request (not applicable for "Get by ID" operation).

Note: For the "Get by ID" operation, only the Campaign ID property is required and used.

Output

The output JSON contains the detailed data of the requested campaign as returned by the SmartLead API. This typically includes fields such as:

  • Campaign name
  • Status (e.g., ACTIVE, PAUSED, STOPPED)
  • Schedule settings
  • Tracking preferences
  • Client association
  • Other metadata relevant to the campaign configuration

The exact structure depends on the API response but generally represents all stored attributes of the campaign.

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 uses the base URL https://server.smartlead.ai/api/v1 for campaign-related requests.
  • Proper permissions on the API key to read campaign data are necessary.

Troubleshooting

  • Invalid Campaign ID: If the provided campaign ID does not exist or is malformed, the API will likely return an error. Verify the campaign ID correctness.
  • Authentication Errors: Ensure the API key credential is valid and has access rights.
  • Network Issues: Connectivity problems can cause request failures; check network and endpoint availability.
  • API Rate Limits: Excessive requests may be throttled; consider adding delays or handling rate limit errors gracefully.
  • JSON Parsing Errors: Not applicable here since no user JSON input is parsed for this operation.

Links and References


This summary focuses solely on the "Get by ID" operation of the šŸŽÆ Campaign Management resource as requested.

Discussion