cronhooks.io Trigger
AI-generatedOverview
This node acts as a trigger for cronhooks.io, allowing workflows to be initiated based on scheduled cron expressions. It is useful for automating tasks that need to run at specific intervals or times, such as periodic data fetching, report generation, or system maintenance tasks. Users can specify a cron expression, a title for the schedule, and optionally assign the schedule to a group.
Use Case Examples
- Trigger a workflow every 5 minutes using the cron expression '*/5 * * * *'.
- Set up a scheduled task to run daily reports at midnight by specifying the appropriate cron expression.
- Organize scheduled triggers by assigning them to different groups for better management.
Properties
| Name | Meaning |
|---|---|
| Title | The name or title of the cron schedule to identify it. |
| CRON Expression | The cron expression that defines the schedule for triggering the workflow. |
| Group Name or ID | Optional group to which the schedule belongs, can be selected from a list or specified by ID using an expression. |
Output
JSON
workflowData- Array containing the JSON data received from the cronhooks.io trigger webhook.
Dependencies
- cronhooks.io API
- An API key credential for cronhooksApi with a webhook secret
Troubleshooting
- Ensure the cron expression is valid and correctly formatted to avoid scheduling errors.
- Verify that the webhook secret used for HMAC signature verification matches the one configured in cronhooks.io to prevent authentication failures.
- If the node fails to create or delete schedules, check API credentials and network connectivity.
Links
- n8n Cronhooks Trigger Documentation - Official documentation for setting up and using the cronhooks.io trigger node in n8n.