Actions37
- 🎯 Campaign Management Actions
- 👥 Lead Management Actions
- 📧 Email Accounts Actions
- 📊 Analytics & Stats Actions
Overview
The node integrates with the SmartLead API to manage email marketing campaigns. Specifically, the Export Data operation under the 🎯 Campaign Management resource allows users to export data related to a specific campaign. This is useful for extracting campaign results, lead information, or other campaign-related metrics for further analysis or reporting outside of the platform.
Typical use cases include:
- Exporting campaign leads and their statuses.
- Extracting campaign performance data for external dashboards.
- Archiving campaign data for compliance or auditing purposes.
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 return results (default 0). |
| - Status | Filter campaigns by status; options are: Active, Paused, Stopped (default: Active). |
Output
The node outputs JSON data representing the exported campaign data retrieved from the SmartLead API. The structure depends on the API response but generally includes detailed information about the campaign's leads, statuses, and possibly other metadata relevant to the campaign export.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the SmartLead API.
- The node makes HTTP requests to
https://server.smartlead.ai/api/v1. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Common issues:
- Invalid or missing Campaign ID will cause the API request to fail.
- Network connectivity problems can prevent successful API calls.
- Insufficient permissions or invalid API credentials may result in authorization errors.
- Error messages:
- Errors returned from the API will be surfaced as node execution errors unless "Continue On Fail" is enabled.
- Typical error messages might include "Campaign not found", "Unauthorized", or "Invalid parameters".
- Resolutions:
- Verify the Campaign ID is correct and exists in SmartLead.
- Check that the API key credential is valid and has required permissions.
- Ensure network access to the SmartLead API endpoint is available.
Links and References
- SmartLead API Documentation (Assumed URL based on baseURL in code)
- n8n documentation on HTTP Request Node for understanding API integrations.