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 and automate various aspects of email marketing campaigns, leads, email accounts, analytics, smart delivery tests, smart senders, and webhooks. Specifically for the Webhooks resource and the Retrigger Failed Events operation, it allows users to retrigger webhook events that previously failed to be delivered. This is useful in scenarios where webhook event notifications did not reach their destination due to temporary issues, enabling reliable event processing and synchronization.
Practical examples include:
- Automatically retrying failed webhook notifications to ensure downstream systems receive all campaign event data.
- Recovering from transient network or server errors that caused webhook delivery failures.
- Maintaining accurate event-driven workflows by ensuring no webhook events are lost.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | A collection of optional fields including: |
| - 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: For the Retrigger Failed Events operation under the Webhooks resource, no additional input properties beyond the required campaignId are explicitly defined in the provided JSON snippet. The operation triggers a POST request without extra parameters.
Output
The node outputs an array of JSON objects representing the response from the SmartLead API for the requested operation. For the Retrigger Failed Events operation, the output JSON typically contains information about the retriggering process, such as success confirmation or details on which events were retried.
The output structure is:
[
{
"data": { /* API response data related to retriggered webhook events */ }
}
]
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the SmartLead API.
- The base URL for API requests is
https://server.smartlead.ai/api/v1. - The node uses HTTP methods like POST to interact with the API endpoints.
- Proper configuration of the API key credential within n8n is necessary for successful execution.
Troubleshooting
- Invalid JSON Errors: Some operations require JSON input (e.g., webhookData). Invalid JSON will cause errors. Ensure JSON inputs are correctly formatted.
- Authentication Failures: If the API key credential is missing or invalid, requests will fail. Verify the API key is correctly set up.
- Network Issues: Temporary network problems may cause webhook retriggering to fail. Retrying the workflow or checking network connectivity can help.
- API Rate Limits: Excessive requests might hit API rate limits. Implement throttling or retries with delays if needed.
- Missing Required Parameters: Operations require specific parameters like
campaignId. Omitting these will result in errors.
Links and References
- SmartLead API Documentation (Assumed official docs URL based on context)
- n8n Documentation on Creating Custom Nodes
- Webhook Retriggering Concepts (Hypothetical link for webhook retriggering)
If you need details on other resources or operations, feel free to ask!