SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

The "List All Tests" operation under the "Smart Delivery" resource allows users to retrieve a list of all email deliverability and placement tests managed by the SmartLead platform. This operation supports filtering and pagination through JSON-formatted parameters, enabling users to control the number of results returned and to skip a certain number of entries.

This node is beneficial for email marketers and deliverability specialists who want to monitor and analyze their email placement tests to ensure emails reach inboxes effectively across different providers and geographies. For example, a user can list recent spam and placement tests with limits and offsets to review test outcomes or integrate this data into reporting workflows.

Properties

Name Meaning
Test Filter Data JSON object specifying filter and pagination options for listing tests. Common fields include:
- limit: Number of results to return (e.g., 10)
- offset: Number of results to skip (e.g., 0)
- Optional date filters like date_from and date_to to restrict tests by date range

Example value for Test Filter Data:

{
  "limit": 10,
  "offset": 0
}

Output

The output is a JSON array containing the list of tests matching the filter criteria. Each item in the array represents a test with its associated details as provided by the SmartLead API. The exact structure depends on the API response but typically includes identifiers, status, timestamps, and other metadata about each test.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the SmartLead API.
  • The node makes HTTP POST requests to the endpoint https://smartdelivery.smartlead.ai/api/v1/spam-test/list.
  • The JSON filter data must be valid; otherwise, the node will throw an error.

Troubleshooting

  • Invalid JSON in filter data: If the JSON provided in the "Test Filter Data" property is malformed, the node will throw an error indicating invalid JSON. To resolve, ensure the JSON syntax is correct before running the node.
  • API authentication errors: If the API key credential is missing or invalid, requests will fail. Verify that the API key is correctly configured in n8n credentials.
  • Empty or unexpected responses: If no tests match the filter criteria, the output array may be empty. Adjust the filter parameters such as limit, offset, or date ranges to retrieve relevant data.

Links and References


This summary focuses exclusively on the "List All Tests" operation within the "Smart Delivery" resource based on static analysis of the node's source code and provided properties.

Discussion