SmartLead icon

SmartLead

Comprehensive SmartLead API integration for email marketing automation

Overview

This node integrates with the SmartLead API to manage email marketing campaigns and related entities such as leads, email accounts, analytics, webhooks, and smart sender domains. Specifically, the šŸŽÆ Campaign Management - Get All operation retrieves a list of all email campaigns from the SmartLead platform.

Typical use cases include:

  • Fetching all active or paused email campaigns for reporting or monitoring.
  • Retrieving campaigns with pagination controls (limit and offset).
  • Filtering campaigns by their status (Active, Paused, Stopped).

For example, a marketing automation workflow might use this node to pull all active campaigns and then trigger follow-up actions based on campaign performance or status.

Properties

Name Meaning
Additional Fields Optional parameters to customize the query:
- Limit Number of campaign results to return (default 100).
- Offset Number of campaign results to skip (default 0).
- Status Filter campaigns by status. Options: Active, Paused, Stopped (default Active).

Output

The node outputs an array of campaign objects in the json field. Each object represents a campaign with its associated data as returned by the SmartLead API. The exact structure depends on the API response but typically includes campaign identifiers, names, statuses, schedules, and other metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the SmartLead API.
  • The node makes HTTP requests to the SmartLead API base URL: https://server.smartlead.ai/api/v1.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid JSON errors: If you provide JSON input in other operations (not relevant here), ensure it is well-formed to avoid parsing errors.
  • API authentication failures: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Empty or missing results: Check the Limit, Offset, and Status filters to ensure they match existing campaigns.
  • Network issues: Ensure that your environment can reach the SmartLead API endpoint without firewall or proxy restrictions.

Links and References

Discussion