Learn > The job queue: triggering plugins from outside INTRODUCTION The job queue lets another program (a shell script, a phone shortcut, a home server, a companion app) ask your plugin.js to do something, without anyone clicking in the web UI. your script --POST /api/plugin-jobs--> reader (stores the job; does NOT run it) ^ | claim / complete | v a browser page with your plugin loaded --> runs your action your script --GET /api/plugin-jobs/status?id=...--> {state:"done", result:{...}} The reader only stores jobs. They are executed by a browser page that has your plugin loaded: /plugins, /files, or the dedicated headless page /plugins-run. No page open = jobs wait as pending. Next: 02 In your plugin