{"library":"n8n-nodes-routeros-middleware","title":"n8n RouterOS Middleware Node","description":"n8n community node for automating MikroTik RouterOS operations via a middleware service. Version 1.1.6 provides five key operations: Change PPP Profile, Enable/Disable Users, Force Reconnect, Get Active Sessions, and Test Connection. Designed for ISP billing automation workflows (e.g., isolating overdue customers, restoring service on payment). Requires the separate MikroTik Billing Automation Middleware service (Go-based) and an API key. Ships TypeScript definitions. Maintained on GitHub, MIT licensed.","language":"javascript","status":"active","last_verified":"Sat May 09","install":{"commands":["npm install n8n-nodes-routeros-middleware"],"cli":null},"imports":["import { RouterOsMiddleware } from 'n8n-nodes-routeros-middleware'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { RouterOsMiddleware } from 'n8n-nodes-routeros-middleware';\n\n// The node is used within n8n workflows via UI or code.\n// Below is a programmatic example for testing (not typical usage).\nconst node = new RouterOsMiddleware();\n\nconst result = await node.execute({\n  operation: 'changeProfile',\n  routerName: 'main-router',\n  username: 'customer123',\n  newProfile: 'HOME-20MB',\n  forceReconnect: true,\n  credentials: {\n    baseUrl: process.env.MIDDLEWARE_URL ?? 'http://localhost:3000',\n    apiKey: process.env.API_KEY ?? ''\n  }\n});\n\nconsole.log(result);","lang":"typescript","description":"Demonstrates programmatic usage of the RouterOsMiddleware node with credential config and a change profile operation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}