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
The node integrates with the SmartLead API to manage email marketing campaigns. Specifically, the Update Schedule operation under the šÆ Campaign Management resource allows users to modify the scheduling settings of an existing campaign. This includes setting how often emails are sent (daily, weekly, or monthly), the exact time for sending, specific days of the week (for weekly schedules), the day of the month (for monthly schedules), and the timezone.
This operation is beneficial when you want to automate or adjust the timing of your email campaigns without recreating them. For example, you might want to change a campaign from sending emails every Monday, Wednesday, and Friday at 9 AM UTC to sending daily at 10 AM in the "America/New_York" timezone.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign whose schedule you want to update. |
| Schedule Type | The frequency type of the schedule. Options: Daily, Weekly, Monthly. |
| Schedule Time | The time of day to send emails, in 24-hour format (HH:mm). |
| Schedule Days | (Required if Schedule Type is Weekly) The days of the week to send emails. Options: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. |
| Schedule Date | (Required if Schedule Type is Monthly) The day of the month (1-31) to send emails. |
| Timezone | The timezone for the schedule, e.g., UTC, America/New_York. |
Output
The output JSON contains the response data from the SmartLead API after updating the campaign schedule. Typically, this will include confirmation details about the updated schedule such as the new schedule type, time, days or date, and timezone.
The node does not output binary data for this operation.
Dependencies
- Requires an active connection to the SmartLead API via an API key credential configured in n8n.
- The node makes authenticated HTTP requests to the SmartLead API endpoint
https://server.smartlead.ai/api/v1/campaigns/{campaignId}/schedule. - Proper permissions on the API key to update campaign schedules are necessary.
Troubleshooting
- Invalid Campaign ID: If the provided Campaign ID does not exist or is incorrect, the API will return an error. Verify the Campaign ID before running the node.
- Invalid Schedule Parameters: Providing inconsistent parameters, such as missing
Schedule Daysfor a weekly schedule orSchedule Datefor a monthly schedule, may cause errors. Ensure all required fields for the chosen schedule type are set. - Time Format Errors: The
Schedule Timemust be in 24-hourHH:mmformat. Incorrect formatting can lead to request failures. - Timezone Issues: Use valid timezone strings recognized by the API (e.g.,
UTC,America/New_York). Invalid timezones may cause errors. - API Authentication Failures: Ensure the API key credential is correctly configured and has sufficient permissions.
- Network or Server Errors: Temporary network issues or server downtime can cause request failures. Retry after some time or check SmartLead service status.
Links and References
- SmartLead API Documentation (Assumed URL based on base URL; verify actual docs)
- List of IANA Time Zone Database Names ā for valid timezone values
- n8n HTTP Request Node Documentation ā for understanding HTTP request handling in n8n
If you need further details on other operations or resources, feel free to ask!