Skip to content

Add Google Chat app: document requests & approvals on SuperDocs - #49

Open
regression1607 wants to merge 5 commits into
superdocsapp:mainfrom
regression1607:add-google-chat-app
Open

Add Google Chat app: document requests & approvals on SuperDocs#49
regression1607 wants to merge 5 commits into
superdocsapp:mainfrom
regression1607:add-google-chat-app

Conversation

@regression1607

Copy link
Copy Markdown

Builder: Ekansh Kumar (@regression1607)

A Google Chat app that starts document work from chat and runs it end-to-end on SuperDocs: @mention it with a request and it drafts a document, posts an item-by-item approval card (each proposed change has its own Approve/Reject, plus Approve all / Reject all), applies exactly the approved changes, and returns a real signed download link. A digest command (and a scheduler endpoint) reports what the space produced and what's still waiting.

SuperDocs features used: the four core calls — upload (/v1/documents/upload-base64), chat edit under human gate (/v1/chat/async, approval_mode: ask_every_time), approve (/v1/chat/{session_id}/approve), export/download (/v1/documents/export, /v1/downloads) — driven via job polling. Follow-ups like "using last year's" reuse the space's prior SuperDocs session for continuity.

Run: pip install -r requirements.txt && python -m pytest -q (35 tests, fully mocked, no API key needed). Live webhook via uvicorn app.main:app; sideload with deployment/chat-app-manifest.json.

Folder: extensions/regression1607/superdocs-google-chat/. Built for the SuperDocs task — an integration built on SuperDocs, not a clone of it. (A Chat-space screenshot will follow once deployed live.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant