SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The node integrates with the SmartLead platform's Smart Delivery resource, specifically supporting the operation Get Spam Filter Report among many other operations. This operation retrieves a report on how emails are filtered by spam filters during deliverability testing.

This node is useful for email marketers and deliverability specialists who want to analyze how their emails perform against spam filters. It helps identify issues that might cause emails to be marked as spam, enabling optimization of email content and sending practices.

Practical example:
You run an automated placement test on your marketing emails and want to fetch the spam filter report to see which spam filters flagged your emails and why. Using this node, you can programmatically retrieve that report and integrate it into your monitoring or reporting workflows.


Properties

Name Meaning
Additional Fields Collection of optional fields:
- Limit: Number of results to return (number)
- Offset: Number of results to skip (number)
- Status: Campaign status; options are "Active", "Paused", "Stopped"

Note: For the Get Spam Filter Report operation under the Smart Delivery resource, no additional input properties are required beyond the default parameters like testId (the ID of the spam/placement test).


Output

  • The output JSON contains the data returned from the SmartLead API endpoint for the spam filter report.
  • The structure typically includes details about spam filtering results related to the specified test, such as which spam filters were triggered, counts, and possibly reasons or metadata about the spam classification.
  • No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authenticating with the SmartLead API.
  • The base URL for Smart Delivery endpoints is https://smartdelivery.smartlead.ai/api/v1.
  • The node uses HTTP requests with JSON payloads and expects JSON responses.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid JSON errors: When providing JSON input fields (e.g., manualTestData), ensure the JSON is well-formed. Errors will indicate invalid JSON with the item index.
  • Missing or incorrect test ID: The testId parameter must be provided and valid; otherwise, the API call will fail.
  • API authentication errors: Ensure the API key credential is correctly set up and has permissions for Smart Delivery endpoints.
  • Network or connectivity issues: Verify network access to smartdelivery.smartlead.ai.
  • Unexpected API response: If the API changes or returns unexpected data, check the SmartLead API documentation or support.

Links and References

Note: The above links are indicative based on typical naming conventions; please refer to your official SmartLead resources for exact URLs.

Discussion