Ignore trigger unless completed

When self-hosting n8n, you could use this example provided by Jan to see if a workflow is already running:

To test this on your end, you would need to save your workflow before running it (otherwise no workflow ID would be assigned).