Actions37
- 🎯 Campaign Management Actions
- 👥 Lead Management Actions
- 📧 Email Accounts Actions
- 📊 Analytics & Stats Actions
Overview
This node integrates with the SmartLead API to provide comprehensive email marketing automation capabilities. Specifically, the Top Level Analytics operation under the Analytics & Stats resource retrieves high-level analytics data for a specified email campaign.
Use cases include:
- Quickly obtaining an overview of campaign performance metrics.
- Monitoring key statistics to evaluate campaign effectiveness.
- Integrating campaign analytics into automated workflows for reporting or decision-making.
For example, a marketer can use this node to fetch top-level analytics of a running campaign and trigger alerts if certain thresholds (like open rates or click rates) are not met.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign for which to retrieve top-level analytics. |
| Additional Fields | Optional parameters to refine the query: • Limit: Number of results to return. • Offset: Number of results to skip. • Status: Filter campaigns by status (Active, Paused, Stopped). |
Output
The node outputs JSON data containing the top-level analytics for the specified campaign. This typically includes aggregated performance metrics such as:
- Total emails sent
- Open rates
- Click rates
- Bounce rates
- Unsubscribe counts
- Other summary statistics relevant to campaign performance
The output is structured as an array of JSON objects, each representing a set of analytics data points. There is no binary data output in this operation.
Dependencies
- Requires an active connection to the SmartLead API via an API key credential configured in n8n.
- The node makes authenticated HTTP requests to
https://server.smartlead.ai/api/v1. - Proper permissions on the API key to access campaign analytics endpoints are necessary.
Troubleshooting
Common issues:
- Invalid or missing Campaign ID will cause the API request to fail.
- Network connectivity problems may prevent successful API calls.
- Insufficient API permissions can result in authorization errors.
Error messages:
"Campaign not found": Verify that the Campaign ID is correct and exists."Unauthorized"or"Authentication failed": Check that the API key credential is valid and has required scopes."Rate limit exceeded": The API usage limits have been reached; wait before retrying.
To resolve errors, ensure all required properties are correctly set, credentials are valid, and network connectivity is stable.
Links and References
- SmartLead API Documentation (assumed official docs URL)
- n8n documentation on HTTP Request Authentication
- General best practices for email campaign analytics and monitoring