Actions37
- 🎯 Campaign Management Actions
- 👥 Lead Management Actions
- 📧 Email Accounts Actions
- 📊 Analytics & Stats Actions
Overview
This node integrates with the SmartLead API to manage email marketing campaigns, specifically allowing users to fetch the sequence of emails associated with a given campaign. The "Get Sequence" operation retrieves the detailed email sequence configured for a specified campaign ID.
Typical use cases include:
- Reviewing or auditing the email sequence of an ongoing or past campaign.
- Automating workflows that need to analyze or modify campaign sequences based on retrieved data.
- Integrating campaign sequence data into other systems for reporting or further processing.
For example, a marketing automation workflow could use this node to fetch the current email sequence of a campaign and then adjust follow-up actions depending on the retrieved sequence content.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign whose email sequence you want to retrieve. |
| Additional Fields | Optional parameters to refine results (not applicable for "Get Sequence" operation). |
Note: For the "Get Sequence" operation, only the Campaign ID is required and used.
Output
The node outputs JSON data representing the email sequence of the specified campaign. This typically includes details such as the order of emails, their content, timing, and any associated metadata defined in the campaign's sequence.
The output structure is an array of objects, each corresponding to an element in the campaign's email sequence. The exact fields depend on the SmartLead API response but generally cover:
- Email content and templates
- Timing/scheduling information for each email in the sequence
- Status or configuration flags related to the sequence steps
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the SmartLead API via an API key credential configured in n8n.
- The node uses the base URL
https://server.smartlead.ai/api/v1. - Proper permissions on the API key are necessary to access campaign sequences.
Troubleshooting
- Invalid Campaign ID: If the provided campaign ID does not exist or is incorrect, the API will return an error. Verify the campaign ID is correct.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
- Network Issues: Connectivity problems can cause request failures; check network access to the SmartLead API endpoint.
- Empty Sequence Response: If the campaign has no sequence configured, the returned data may be empty or minimal.
Common error messages:
"Not Found"or"404": Campaign ID does not exist."Unauthorized"or"401": Invalid or missing API authentication."Bad Request"or"400": Malformed request parameters.
Resolving these usually involves verifying input parameters, credentials, and network connectivity.
Links and References
- SmartLead API Documentation (Assumed URL based on base URL, please verify)
- n8n Documentation on Creating Custom Nodes
- General info on email marketing automation best practices