Add Google Chat app: document requests & approvals on SuperDocs - #49
Open
regression1607 wants to merge 5 commits into
Open
Add Google Chat app: document requests & approvals on SuperDocs#49regression1607 wants to merge 5 commits into
regression1607 wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
digestcommand (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 viauvicorn app.main:app; sideload withdeployment/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.)