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 email accounts in this context. The Update operation for the Email Accounts resource allows users to modify settings of an existing email account within their SmartLead environment.
Typical use cases include:
- Updating configuration or metadata of an email account used in campaigns.
- Adjusting email account details without recreating it.
- Automating email account management as part of a larger workflow.
For example, you might update the SMTP settings or credentials of an email account after a password change, or modify its association with campaigns programmatically.
Properties
| Name | Meaning |
|---|---|
| Email Account ID | The unique identifier of the email account to update. |
| Additional Fields | A collection of optional fields that can be added when updating (not detailed here). |
Note: The provided input properties JSON only explicitly defines "Email Account ID" and "Additional Fields" for this resource-operation combination. The actual update payload is constructed dynamically based on user input but is not fully detailed in the snippet.
Output
The node outputs the JSON response from the SmartLead API corresponding to the updated email account data. This typically includes the updated email account details such as ID, status, configuration, and any other relevant metadata returned by the API.
If the API returns binary data (not indicated here), it would represent attachments or files related to the email account, but this node primarily deals with JSON data.
Dependencies
- Requires an active connection to the SmartLead API via an API key credential configured in n8n.
- The base URL for API requests is
https://server.smartlead.ai/api/v1. - Proper authentication credentials must be set up in n8n under the node's credentials section.
Troubleshooting
- Invalid Email Account ID: If the provided Email Account ID does not exist or is malformed, the API will return an error. Verify the ID before running the node.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to update email accounts.
- Malformed JSON in Additional Fields: If additional fields require JSON input, ensure the JSON is correctly formatted to avoid parsing errors.
- API Rate Limits: Frequent updates may hit API rate limits; consider adding delays or handling retries.
- Network Issues: Connectivity problems to the SmartLead API endpoint will cause request failures.
Common error messages:
"Invalid JSON in ..."ā indicates malformed JSON input; fix the JSON syntax."Unauthorized"or"Authentication failed"ā check API credentials."Not Found"ā verify the Email Account ID exists.
Links and References
- SmartLead API Documentation (assumed official API docs)
- n8n documentation on HTTP Request Node for understanding API calls
- General best practices for email marketing automation
This summary focuses exclusively on the Email Accounts - Update operation extracted from the provided source code and input property definitions.