Actions39
- Campaign Actions
- Campaign Statistic Actions
- Client Actions
- Email Account Actions
- Lead Actions
- Master Inbox Actions
- Webhook Actions
Overview
This node integrates with the Smartlead.ai API to manage marketing campaigns and related entities such as leads, email accounts, and webhooks. Specifically, the Campaign - Create operation allows users to create a new campaign by specifying its name and optionally associating it with a client ID.
Typical use cases include automating campaign creation within marketing workflows, integrating campaign management into broader automation pipelines, or programmatically setting up campaigns based on external triggers or data sources.
For example, a marketing team could use this node to automatically create a new outreach campaign whenever a new product is launched, passing the campaign name and client ID dynamically from previous workflow steps.
Properties
| Name | Meaning |
|---|---|
| Campaign Name | The name of the campaign to be created. This is a required string input. |
| Client ID | (Optional) Numeric identifier for the client associated with the campaign. |
Output
The node outputs the JSON response returned by the Smartlead.ai API after creating the campaign. This typically includes details about the newly created campaign such as its unique ID, name, client association, creation timestamps, and other metadata provided by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Smartlead.ai API.
- Requires an API authentication credential configured in n8n to authorize requests.
- The base URL for API requests is
https://server.smartlead.ai/api/v1.
Troubleshooting
- Authentication errors: Ensure that the API key or authentication token is correctly configured and has sufficient permissions to create campaigns.
- Validation errors: The "Campaign Name" property is required; omitting it will cause the API to reject the request.
- Client ID issues: If specifying a client ID, verify that the client exists in Smartlead.ai; otherwise, the API may return an error.
- Network issues: Check connectivity to the Smartlead.ai server and ensure no firewall or proxy blocks the requests.
Common error messages are generally passed through from the API and should be reviewed to identify missing or invalid parameters.
Links and References
- Smartlead.ai API Documentation (Assumed location; replace with actual if available)
- n8n Documentation: Creating Custom Nodes