SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node provides integration with the SmartLead API, focusing on email marketing campaign management. Specifically, the Export Data operation under the šŸŽÆ Campaign Management resource allows users to export data related to a specific email campaign.

This operation is useful when you want to extract campaign-related data for reporting, backup, or further analysis outside of the SmartLead platform. For example, you might export campaign results to feed into a business intelligence tool or archive campaign details after completion.

Properties

Name Meaning
Campaign ID The unique identifier of the campaign whose data you want to export.
Additional Fields Optional parameters to refine the export:
- Limit Number of results to return (default 100).
- Offset Number of results to skip before starting to collect results (default 0).
- Status Filter campaigns by status; options are Active, Paused, or Stopped (default Active).

Note: For the Export Data operation, only the Campaign ID and optionally Additional Fields (limit, offset, status) are relevant.

Output

The output JSON contains the exported campaign data returned from the SmartLead API. This typically includes detailed information about the campaign's leads, performance metrics, or other campaign-specific data depending on what the API returns for the export endpoint.

  • The output is structured as an array of JSON objects representing the exported data entries.
  • No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the SmartLead API via an API key credential configured in n8n.
  • The node makes HTTP requests to https://server.smartlead.ai/api/v1/campaigns/{campaignId}/export.
  • Proper API permissions must be granted to allow exporting campaign data.

Troubleshooting

  • Invalid Campaign ID: If the provided campaign ID does not exist or is incorrect, the API will likely return an error. Verify the campaign ID is correct.
  • API Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
  • JSON Parsing Errors: Since this operation does not require JSON input beyond simple parameters, errors here are unlikely unless additional fields are malformed.
  • Rate Limits: Large exports may hit API rate limits; consider using the limit and offset parameters to paginate results.

Links and References


If you need details on other operations or resources, feel free to ask!

Discussion