Program Schedule Trigger CRON value from a Webhook

Describe the problem/error/question

Hi , someone has an idea how to make the cron expression from Schedule Trigger be set by a webhook with new values ??? Or another pratical idea to make the workflow always running with new time range…

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite): sqlite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

There is no native way to do this, so you need to trick around a bit.

You could use two different workflows. One containing the actual workflow starting with the schedule trigger node and another one starting with a webhook.

This second workflow could then use the n8n API to retrieve the first workflow by ID, update the settings of the schedule trigger node within the JSON and update the workflow via the API again.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.