Problem Description:
Hello everyone, I have a question to ask you. I receive json alert information from tradingview through the webhook node, and then send it to my discorde channel webhook address through the httpRequest node. Now, after each execution, the workflow will be closed automatically, and I have to manually click “executeworkflow” to continue execution. How can I make this workflow run in an infinite loop instead of manually executing it once each time?
Another problem is that after clicking “executeworkflow”, the workflow seems to only last a few minutes before ending. Can it be set to continue after clicking once, and the workflow will continue to run unless manually closed?please help me
This is the downloaded JSON code for the workflow:
Basic Configuration Information
Server: Google Cloud 2 cores, 2GB RAM, 20GB SSD
Operating System: Ubuntu 22.04
I deployed n8nio/n8n:latest using Portainer.
Once activated the webhook should be listening for incoming requests. You do need to make sure you use production endpoint of the webhook URL in TradingView. When running manually the URL typically includes the work “test”. The production URL will be the same but without “test”.
@Anton_Odongo , I don’t understand why you cannot leave the workflow active as it is triggered from outside. Perhaps the outside process could run on schedule instead.
If for some reason you still have to have the workflow active only at a specific timeframe I would do it differently.
Leave the workflow active
Disregard any incoming data if it is not in the timeframe you need
Essentially, there is no need for Schedule Trigger.