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 interact with webhooks related to email marketing campaigns. Specifically, the "Fetch Webhooks by Campaign ID" operation retrieves all webhook configurations associated with a given campaign. This is useful for monitoring or managing event notifications such as email opens, clicks, or other campaign-related events.
Practical scenarios include:
- Auditing which webhooks are currently set up for a campaign.
- Synchronizing webhook configurations between systems.
- Debugging or verifying that webhooks are correctly registered for campaign event tracking.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign whose webhooks you want to fetch. |
| Additional Fields | (Not applicable for this operation) |
The provided properties JSON defines:
- Campaign ID (string, required): Specifies the campaign to fetch webhooks for.
- Additional Fields: Not used in this operation but generally includes options like limit, offset, and status for other operations.
Output
The node outputs an array of webhook objects under the json output field. Each object represents a webhook configured for the specified campaign, typically including details such as:
- Webhook URL
- Events subscribed to (e.g., email opened, clicked)
- Status or metadata about the webhook registration
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the SmartLead API.
- The node makes HTTP requests to the SmartLead server at
https://server.smartlead.ai/api/v1. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Invalid JSON in Webhook Data: If adding or updating webhooks, ensure the webhook JSON configuration is valid. Errors will indicate parsing issues.
- Missing or Incorrect Campaign ID: The operation requires a valid campaign ID; missing or incorrect IDs will cause API errors.
- API Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Connectivity problems to the SmartLead API endpoint can cause request failures.
- Continue on Fail Behavior: If enabled, the node will return error messages per item instead of stopping execution.
Links and References
- SmartLead API Documentation (hypothetical link based on base URL)
- n8n Documentation on HTTP Request Node (for understanding underlying request mechanics)
- General webhook concepts: https://en.wikipedia.org/wiki/Webhook