Node n8n how Check run execution time?

How do I set conditions? I want to check run duration if less than 1 s to be true .

Hi @Panupol_Sonnuam, you’d need to store the time before the node execution and than calculate the difference after the respective node execution. For example:

This example returns the duration as seconds:

You can then check this value in your IF node.

Hope this helps!