How to trigger an n8n workflow every 4 hours after a form is submitted once?

I’m trying to set up an n8n workflow with the following behavior:

  • A user fills out a form once.

  • After that, the workflow should run automatically every 4 hours.

  • I’m stuck on how to structure this logic cleanly.

My current thought was to store a flag in the DB like is_form_filled = true, and let the workflow start only when that flag is set. But I’m not sure how to reset it back to false when the workflow stops, or if that’s even the right approach.

Has anyone solved something similar?
What’s the best pattern in n8n for: “Run a recurring workflow only after a one-time form submission”?

I think you should create two workflows. The first one has a schedule trigger and the workflow is not activated. the second workflow has the form and activate the first workflow by using n8n api node

this is the best solution i can think of

1 Like

thanks.
that is a good solution

1 Like

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