How to make n8n load a website and press a button?

Describe the problem/error/question

Hello, so my work has this website i need to enter every morning and press a green login button.
The website has an api so i use something like link.work/api=874467846984 so no login neccesary with user password or whatever else, the workflow would need just to access the link and preess the green login button.

What i want to do is make a workflow that every morning at 7 to press the button on the website, and on weekends not do anything.

I have Gemini at my disposal so i can use AI Agents too, i just don’t know what tools to use for this…

Information on your n8n setup

  • n8n version: 1.109.2
  • Database (default: SQLite): i think SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): i don’t know.
  • Running n8n via (Docker, npm, n8n cloud, desktop app): lxc on proxmox
  • Operating system: proxmox?

EDIT: I also tried using n8n-nodes-puppeteer but i didn’t succed on my own…

Hey, sounds like an interesting project to save some time each day :grinning_face:

I wouldn’t recommend using an AI Agent, because the task seems to be very predictable and easy to automate. You have two options:

  • using a headless browser like you tried with n8n-nodes-puppeteer
  • figuring out which http call the frontend makes and replicating that in a simple http node

The second option would be the easiest to start out with, but it’s not guaranteed to work and you need to find out which network request is being made when you press the login button with the help of the browser’s dev tools.

Using n8n-nodes-puppeteer might require some setup on your server, but it’s a very versatile tool. You need to figure out how the button can be identified on the web page and write a little Puppeteer script for it to work (with the help of AI it’s not that hard).

Another idea would be to try Airtop - they have a free tier and you can use it right away in n8n.

1 Like

Thank you, i’m gonna try the Airtop option for now.

I tried Airtop, it worked, but i’d like something free and selfhostable, or at least a one-time payment for a licensed software to do that for me installed locally.
Thanks anyway @haimich .

Hi, sorry I am new here. I did a post before but the title is gray. I think my post in NOT online.

Do you know this problem? Thanks.

You actually don’t need an agent for something like this.
I’d recommend trying Crawl4AI — it’s a lightweight and straightforward browser automation tool that can easily handle clicking buttons or loading pages like the one you described.

From my own experience, it’s super simple to install with Docker (literally one command) and very easy to use through its API — no need for complex AI agents or headless browser setups.

Once it’s running, you could just schedule a call to the Crawl4AI endpoint every weekday at 7 AM to load the page and trigger the green login button.
It’s been a clean, reliable solution for automations like this.

2 Likes