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 webhooks related to email marketing campaigns. Specifically, for the Delete Campaign Webhook operation under the Webhooks resource, it allows users to delete an existing webhook associated with a particular campaign.
Use cases include:
- Removing outdated or incorrect webhook URLs from a campaign.
- Cleaning up webhook configurations when campaigns are modified or retired.
- Managing event notifications by controlling which webhooks remain active.
Practical example:
- You have a campaign that no longer requires certain event notifications. Using this node operation, you can delete the webhook URL that was previously set up to receive those events, ensuring no further data is sent to that endpoint.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign whose webhook you want to delete. |
The node expects the Campaign ID as a required string input to identify which campaign's webhook should be deleted.
Output
The output JSON contains the response data from the SmartLead API after attempting to delete the webhook. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
The structure is:
{
"data": { ... }
}
Where data holds the API response payload relevant to the deletion request.
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 used for requests is
https://server.smartlead.ai/api/v1. - Proper configuration of the API authentication within n8n is necessary for successful execution.
Troubleshooting
- Invalid Campaign ID: If the provided campaign ID does not exist or is malformed, the API may return an error indicating the campaign was not found. Verify the campaign ID is correct.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key credential is correctly configured and has sufficient permissions.
- Webhook Not Found: Attempting to delete a webhook that does not exist for the specified campaign may result in an error or no action. Confirm the webhook exists before deletion.
- JSON Parsing Errors: Although this operation does not require JSON input beyond the campaign ID, other webhook operations do. For those, ensure JSON inputs are valid to avoid parsing errors.
Links and References
- SmartLead API Documentation (assumed public API docs)
- n8n Documentation on HTTP Request Node for understanding API calls
- General webhook management best practices in email marketing systems