approve-workday-tasks
Approve Workday Tasks
Automates the Workday My Tasks approval flow with review first, using chrome-cdp on the user's real, logged-in browser.
It lists pending items and approves only the ones the user selects.
Never approve an item the user did not explicitly choose.
Validated live end-to-end: 3 real Time Entry approvals on 2026-07-16, 2 more on 2026-07-15, and a 6-item sweep on 2026-08-16 (each verified from its detail pane, count 6 → 0). Flow: authenticate → open My Tasks → identify the open item → Approve with
--wait-text "Success"→ return to inbox → repeat (Phase 4 covers the dead-end "Success" page). Followdrive-chrome-cdpfor the CLI: setup,--json/exit codes,--by nameaddressing,find,snap,console/net, passkey rule. Soft dependency:login-microsoft-sso(logged-in tab). Thefind-based name discovery below shipped with chrome-cdp 0.2.0 (2026-07-28) and was validated live on 2026-08-16. The approve-and-return hop is the recipeworkday-approve-and-return(Phase 4); it lives in the user's$XDG_CONFIG_HOME/chrome-cdp/recipes/, not this repo.
Phase 1 — Authenticate
Follow login-microsoft-sso (app workday) to get a logged-in Workday tab.
Use its tab id.