SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead platform's Smart Delivery resource to create and manage email deliverability tests. Specifically, the Create Automated Placement Test operation allows users to schedule automated email placement tests that evaluate how emails perform across different providers and regions over time.

Typical use cases include:

  • Automatically testing email deliverability and inbox placement on a recurring schedule.
  • Monitoring email content and sender reputation by simulating real-world delivery scenarios.
  • Optimizing email campaigns by identifying spam filter issues or provider-specific problems before sending to actual recipients.

For example, a marketing team can configure an automated test with specific email content and schedule it to run daily, helping them track deliverability trends and adjust campaigns accordingly.

Properties

Name Meaning
Additional Fields (Not applicable for this operation)
Automated Test Data JSON configuration of the automated placement test including:
- subject: Subject line of the test email
- content: Body content of the test email
- from_email: Sender email address
- from_name: Sender display name
- schedule: Frequency of the test (e.g., "daily")

The Automated Test Data property must be provided as a valid JSON string describing the test parameters.

Example value for Automated Test Data:

{
  "subject": "Test Subject",
  "content": "Test email content",
  "from_email": "sender@example.com",
  "from_name": "Test Sender",
  "schedule": "daily"
}

Output

The node outputs the response from the Smart Delivery API after creating the automated placement test. The output is structured as JSON data under the json field and typically contains details about the created test such as its ID, status, configuration, and scheduling information.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential configured in n8n for authenticating requests to the SmartLead API.
  • The node makes HTTP requests to the SmartLead Smart Delivery API endpoint at https://smartdelivery.smartlead.ai/api/v1/spam-test/schedule.
  • Proper network connectivity and API access permissions are necessary.

Troubleshooting

  • Invalid JSON in Automated Test Data: If the JSON provided in the Automated Test Data property is malformed, the node will throw an error indicating invalid JSON. To fix, ensure the JSON syntax is correct and all required fields are included.
  • Authentication Errors: If the API key credential is missing or invalid, the request will fail. Verify that the API key is correctly set up in n8n credentials.
  • API Request Failures: Network issues or incorrect API endpoint usage may cause errors. Check internet connectivity and confirm the SmartLead service status.
  • Missing Required Fields: Ensure all mandatory fields like subject, content, from_email, from_name, and schedule are present in the JSON.

Links and References


This summary focuses exclusively on the Smart Delivery resource and the Create Automated Placement Test operation as requested.

Discussion