Actions74
- šÆ Campaign Management Actions
- š„ Lead Management Actions
- š§ Email Accounts Actions
- š Analytics & Stats Actions
- š Smart Delivery Actions
- Get Region Provider IDs
- Create Manual Placement Test
- Create Automated Placement Test
- Get Spam Test Details
- Delete Tests in Bulk
- Stop Automated Test
- List All Tests
- Get Provider Report
- Get Geo Report
- Get Sender Account Report
- Get Spam Filter Report
- Get DKIM Details
- Get SPF Details
- Get rDNS Report
- Get Sender Account List
- Get Blacklists
- Get Domain Blacklist
- Get Spam Test Email Content
- Get Email Reply Headers
- Get Schedule History
- Get IP Details
- Get Mailbox Summary
- Get Mailbox Count
- Get All Folders
- Create Folder
- Get Folder by ID
- Delete Folder
- š Webhooks Actions
- šØ Smart Senders Actions
Overview
This node integrates with the SmartLead API to manage email marketing automation, specifically focusing on various resources such as campaigns, leads, email accounts, analytics, smart delivery tests, webhooks, and smart senders. For the Email Accounts resource with the Get All for User operation, the node retrieves all email accounts associated with the current authenticated user.
This operation is useful when you want to list or manage all email accounts that belong to your user profile in SmartLead, for example, to monitor their status, configure settings, or assign them to campaigns.
Practical example:
You might use this node to fetch all your email accounts before assigning some of them to a new campaign or to check which accounts are active and ready for sending emails.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Collection of optional parameters: |
| - Limit | Number of results to return (default 100) |
| - Offset | Number of results to skip (default 0) |
| - Status | Campaign status filter with options: Active, Paused, Stopped (default Active) |
Note: Although these additional fields are defined generally for multiple resources/operations, for the Email Accounts > Get All for User operation, only the base endpoint is called without additional query parameters in the code. The properties above come from the shared definition but are not explicitly used in this operation's request.
Output
The node outputs an array of JSON objects representing email accounts retrieved from the SmartLead API for the current user. Each object corresponds to one email account and contains its details as provided by the API.
- The output is structured under the
jsonfield. - No binary data output is involved in this operation.
Example output structure (simplified):
[
{
"id": "email_account_id_1",
"email": "user@example.com",
"status": "active",
"created_at": "2023-01-01T12:00:00Z",
...
},
{
"id": "email_account_id_2",
"email": "another@example.com",
"status": "paused",
"created_at": "2023-02-15T08:30:00Z",
...
}
]
Dependencies
- Requires an API key credential for authenticating with the SmartLead API.
- The node uses the base URL
https://server.smartlead.ai/api/v1for requests. - The HTTP request includes headers for
Accept: application/jsonandContent-Type: application/json. - No other external dependencies are required.
Troubleshooting
Invalid API credentials or authentication errors:
Ensure that the API key credential is correctly configured and has sufficient permissions.Empty or unexpected response:
Verify that the user actually has email accounts registered in SmartLead. If no accounts exist, the response will be empty.Network or connectivity issues:
Check network access tohttps://server.smartlead.ai. Firewall or proxy settings may block the request.Unexpected JSON parsing errors:
This operation does not parse input JSON, but if you extend usage with additional fields, ensure JSON inputs are valid.Rate limiting or API errors:
If the API returns errors related to rate limits or invalid parameters, review the SmartLead API documentation and adjust request frequency or parameters accordingly.
Links and References
- SmartLead API Documentation (Assumed official docs URL)
- n8n Documentation on Creating Custom Nodes
- General info on Email Marketing Automation
If you need summaries for other operations or resources, feel free to ask!