Actions39
- Campaign Actions
- Campaign Statistic Actions
- Client Actions
- Email Account Actions
- Lead Actions
- Master Inbox Actions
- Webhook Actions
Overview
This node interacts with the Smartlead.ai API to manage campaigns and their associated email accounts, leads, sequences, and other related entities. Specifically, the "Get Email Accounts" operation under the Campaign resource retrieves a list of all email accounts linked to a specified campaign.
This operation is useful when you want to:
- View which email accounts are currently assigned to a campaign.
- Audit or verify email account assignments before sending emails.
- Integrate campaign email account data into workflows for reporting or further processing.
Practical example:
You have a marketing campaign running in Smartlead.ai and want to fetch all email accounts used in that campaign to check their status or usage statistics. This node operation will return the relevant email account details for your automation or dashboard.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign for which you want to retrieve email accounts. |
Output
The output JSON contains an array of email account objects associated with the specified campaign. Each object typically includes details such as the email account's ID, email address, status, and other metadata provided by the Smartlead.ai API.
The node does not output binary data for this operation.
Example output structure (simplified):
[
{
"id": 123,
"email": "example1@domain.com",
"status": "active",
"otherDetails": "..."
},
{
"id": 456,
"email": "example2@domain.com",
"status": "inactive",
"otherDetails": "..."
}
]
Dependencies
- Requires an active connection to the Smartlead.ai API.
- Needs an API authentication token configured in n8n credentials (referred generically as "an API key credential").
- The base URL for API requests is
https://server.smartlead.ai/api/v1.
Troubleshooting
Common issues:
- Invalid or missing Campaign ID: Ensure the Campaign ID is correctly provided and exists in Smartlead.ai.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network or connectivity problems: Check internet access and Smartlead.ai service availability.
Error messages:
"Unauthorized"or"Authentication failed": Indicates invalid or expired API credentials; update the API key."Campaign not found": The provided Campaign ID does not exist; double-check the ID."Request timeout"or"Network error": Temporary network issues; retry after some time.
Links and References
- Smartlead.ai API Documentation (Assumed official docs URL)
- n8n Documentation on API Credentials
- n8n Community Forum for troubleshooting and examples
If you need summaries for other operations or resources, feel free to ask!