How to make my workflow runs 24/7?

i just started using n8n today to get my expense to sheets, currently its self hosted on docker. event on gmail trigger is “message received”. So how do i make it always running? i saw some people has “active” on top but i don’t have it. I also sent 2 email previously but it doesnt read it

workflow file

Hey @Farel_Bayhaqi !

Since you are using newer version that mine, I think the UI has changed.

What you have seen in videos, yes I have the “toggle active” button.

Now it’s “Publish” as you can see innsame spot.

And , yea, you should keep your PC on .

A couple of quick things for your setup:

  1. The workflow won’t trigger on old emails – the Gmail “Message Received” trigger only fires on new emails that arrive after you’ve activated the workflow. That’s why your previous 2 emails didn’t get processed.

  2. To make it “always running”:

    • Save the workflow

    • Hit the “Activate” toggle (top right corner, it should say “Inactive” → switch to “Active”)

    • As long as your Docker container stays up, the workflow will now listen 24/7.

If you don’t see the Activate button, make sure you’re on the latest n8n version (check with docker logs or the about page) and that you’re looking at the actual workflow editor, not just the preview.

Once it’s active, send yourself a test email and you should see it pop into Sheets almost instantly.

Let me know if the toggle is still missing – happy to help troubleshoot! Good luck

ahhh, i see

i tried reconnect my gmail credentials and sent 1 email and it still not reading new email. i’ll try remove all credentials and add them again later

  1. I did publish and execute before sending those emails

  2. I just found out that latest version(which i use) replace active with publish

    also workflow runs normal manually but not while it “running“ or published

Its working now, i had to delete “get all message node“ and gmail trigger goes to code node

1 Like

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