Trigger N8N workflows from an ESP32 device button using a simple HTTP GET call
Roni Bandini, Buenos Aires, Argentina, June 2025
ESP32N8NButton is a lightweight Arduino library for ESP32 that sends HTTP GET requests to a user-defined webhook URL.
It's designed to trigger a N8N node using a button.
Great for:
- Physical IoT triggers for workflows
- Simple smart buttons
- ESP32-to-N8N communication without external services
- Sends HTTP GET request on button press (GPIO)
- WiFi connection via built-in ESP32 WiFi
- Simple API (
begin()+handle()) - Designed to work with N8N webhooks
- Install with Arduino IDE, Sketch, Include library, Add Zip Library
- Open the BasicWebHook.ino example
- Edit WiFi credentials, Webhook URL and GPIO
- Press the button
