Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
Operator → Scheduler
AI-generatedOverview
The Operator - Scheduler operation in this custom n8n node allows you to schedule HTTP POST requests to a specified webhook with customizable timing options. You can configure it for one-time, multiple, cron-based, or posthook-triggered executions. This is useful for automating data delivery to external systems at specific times or intervals.
Common scenarios:
- Sending reminders or notifications to a webhook at scheduled times.
- Automating periodic data exports to another service.
- Triggering workflows in other systems based on a defined schedule.
Practical examples:
- Schedule a daily report to be sent to a Slack webhook using the Cronjob option.
- Post a JSON payload to an API endpoint at several specific dates/times.
- Set up a one-time notification to be sent at a future date.
Properties
| Name | Meaning |
|---|---|
| Webhook to Send To | The URL of the webhook where the data will be sent. (Required) |
| Stringified JSON Data | The data to send, as a stringified JSON object. (Required) |
| intervalType | Defines how and when the data should be sent: - One-Time - Multiple Times - Cronjob - Timed Posthook |
| One-Time Execution | The date and time for a single execution. Only shown if "intervalType" is set to "One-Time". |
| Multiple Times | A collection of date/time values specifying multiple execution times. Only shown if "intervalType" is set to "Multiple Times". |
| Cronjob | A cron expression defining the schedule. Only shown if "intervalType" is set to "Cronjob". For more info: crontab-generator.com |
| Times Posthook | Configuration for a timed posthook. Only shown if "intervalType" is set to "Timed Posthook". For more info: 1saas.co docs |
| End Date | Optional. The date after which the scheduler should be deactivated. |
Output
The output is a JSON object reflecting the result of the scheduling request. Typical fields include:
{
"success": true,
"message": "Scheduler created",
"details": {
// Information about the scheduled task, such as ID, next run, etc.
}
}
- If an error occurs and "Continue On Fail" is enabled, the output will contain an
errorfield with the error message.
Dependencies
- External Service: Requires access to the target webhook URL.
- API Key: The node requires credentials named
codeKitApito authenticate requests. - n8n Configuration: No special environment variables are required beyond standard credential setup.
Troubleshooting
Common issues:
- Invalid Webhook URL: Ensure the "Webhook to Send To" is a valid, reachable URL.
- Malformed JSON Data: The "Stringified JSON Data" must be valid JSON. Invalid input will cause errors.
- Incorrect Cron Expression: If using the Cronjob option, ensure your cron syntax is correct.
- Missing Required Fields: Each interval type has its own required fields; make sure all are filled.
Error messages:
"error": "Unexpected token ..."— Indicates invalid JSON in the "Stringified JSON Data" property."error": "Request failed with status code 4xx/5xx"— The webhook endpoint returned an error. Check the endpoint and payload."error": "Missing required parameter ..."— A necessary property was not provided for the selected interval type.
How to resolve:
- Double-check all required fields for your chosen interval type.
- Validate your JSON data using a linter or online tool.
- Test your webhook URL independently to ensure it accepts POST requests.