SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead platform's Smart Delivery resource, specifically supporting the Create Folder operation. It allows users to create a new folder within the Smart Delivery system by providing folder details in JSON format.

Typical use cases include organizing email deliverability tests or placement analyses into folders for better management and categorization. For example, a user running multiple spam or placement tests might want to group related tests into named folders such as "Q2 Campaign Tests" or "High Priority Deliverability Checks."

Properties

Name Meaning
Folder Data JSON object containing folder information. Must include properties like name (folder name) and optionally description. Example: { "name": "New Folder", "description": "Folder description" }

Output

  • The output contains a JSON object representing the newly created folder as returned by the SmartLead API.
  • The exact structure depends on the API response but typically includes folder identifiers, name, description, creation timestamps, and other metadata.
  • No binary data is produced by this operation.

Dependencies

  • Requires an API key credential configured in n8n for authenticating requests to the SmartLead API.
  • The node sends HTTP POST requests to the endpoint:
    https://smartdelivery.smartlead.ai/api/v1/folders
  • The request body must be valid JSON describing the folder.

Troubleshooting

  • Invalid JSON in Folder Data: If the provided JSON for folder data is malformed, the node will throw an error indicating invalid JSON.
    Resolution: Ensure the JSON syntax is correct before executing the node.

  • Authentication Errors: If the API key credential is missing or invalid, the request will fail.
    Resolution: Verify that the API key credential is properly set up and has necessary permissions.

  • API Errors: The SmartLead API may return errors if required fields are missing or if there are server issues.
    Resolution: Check the API response message for details and ensure all required folder fields are included.

Links and References


Note: This summary is based solely on static analysis of the node's source code and provided property definitions.

Discussion