Commit graph

8 commits

Author SHA1 Message Date
6ecdf6ee69 Add NTE floor on WO open and refine close-out digest rules.
Raise NTE to $400 when a new WO space opens, align /createWO defaults with SC_WO_OPEN_MIN_NTE, limit the daily digest to all non-invoiced COMPLETED WOs, and add unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 10:57:42 -04:00
abd6423218 Route FedEx tracking updates through ServiceChannel WO notes.
Write status and all-delivered messages as SC notes so Note Added webhooks
update WO spaces, keep dedup via comparison keys, deeplink ops delivery
headers, and skip duplicate cron posts on unchanged status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-27 08:21:30 -04:00
0fc3eb38fa Add /createWO, WO file upload, and suppress SC upload webhook echo.
Enable ServiceChannel work order creation from DM, upload attachments from
WO spaces via /attach and /upload, and skip note/attachment echo for
bot-originated uploads. Also fixes duplicate FedEx notifications and adds
multi-instance command dedup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:22:21 -04:00
d6549c07f8 Add FedEx shipment tracking with polling, ops delivery alerts, and backfill.
Auto-register tracking numbers from SC notes, poll FedEx on a business-hours cron, and expose /trackStatus, /trackTest, and admin /track-backfill.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:06:48 -04:00
cba047cb4e Add invoice approval cards, /confirmed close-out fallback, and /addNote.
Replace /completed with /confirmed that tries SC CONFIRMED then falls back to SC notes and ServChan close-out records when status is locked. Post invoice approval cards on PDF attach, track close-outs for cleanup, and add WO-space /addNote.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 12:59:54 -04:00
bd02d51111 Add consolidated close-out digest, /completed command, and proposal NTE fix.
Post daily non-terminal COMPLETED digest to ops room, let /completed confirm in WO spaces with SC note and ops notification, and default approval NTE to proposal total instead of adding to current NTE.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 08:59:15 -04:00
7ea64b5f24 Refine space cleanup rules and add daily close-out reminders.
Auto-remove only terminal COMPLETED statuses (Confirmed, Cancelled, No Charge), post daily reminders for other COMPLETED variants until they reach a terminal state, and schedule reminder cron with dedup tracking.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 16:05:39 -04:00
c2e98d105e Initial commit: ServChan Webex bot for ServiceChannel work orders.
ServiceChannel webhook processor, proposal approval cards, attachment auto-post,
CollabSupport commands, and Docker deployment configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 15:12:08 -04:00