Adjustable Cron trigger?

I’m having trouble with a workflow.

I’m trying to get it to send an email to send at a time based on when my next shift at work is. I set it to run at midnight, check google calendar, calculate when it should fire, and then added a “wait” node set to “resume at specified time”.

But its not working! I checked past executions, and it shows the wait, but then it just stops, it doesn’t continue to the next nodes.

I wanted to be able to shift the cron trigger itself with a check after the workflow fires for the next time it should fire, but I can’t find a way to do that.

Is there a functional way to do this?

Please share your workflow

Information on your n8n setup

  • n8n version: Version 1.63.4
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on Droplet
  • Operating system: linux I think?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @Serendipisea

You could probably use the workflowStaticData to set the new time in the Wait node.

You would insert it with a code node before the wait node and it gets automatically updated with each new workflow run.

So something like this:
(I have omitted the irrelevant part of the workflow for simplicity)