Files
conversation-history/SquareMCP/deployments/2026-06-16-communications-chatgpt-gpt-deploy.md
T

151 lines
6.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Communications Manager GPT — Deployment Record
**Date:** 2026-06-16
**Deployed by:** Garfield Heron
**Status:** Live — Anyone with a link
**Next gate:** End-to-end OAuth flow test → then GPT Store (Public)
---
## GPT Identity
| Field | Value |
|---|---|
| Name | Communications Manager |
| GPT ID | g-6a0f35429e8c81918e8caedbb8b2e4c5 |
| Editor URL | https://chatgpt.com/gpts/editor/g-6a0f35429e8c81918e8caedbb8b2e4c5 |
| Share URL | https://chatgpt.com/g/g-6a0f35429e8c81918e8caedbb8b2e4c5 |
| Visibility | Anyone with a link (not yet Public) |
| Last edited | Jun 16, 2026 |
**Description:**
Drafts and publishes social and email content from chat. Connect your SquareMCP Communications account to create profiles, generate drafts, and publish across channels.
---
## Backend
| Field | Value |
|---|---|
| Service | SquareMCP Hermes |
| Base URL | https://hermes.squaremcp.com |
| OpenAPI spec | https://hermes.squaremcp.com/openapi-communications.json |
| Spec version | OpenAPI 3.1.0, SquareMCP Communications v1.0.0 |
---
## OAuth Configuration
| Field | Value |
|---|---|
| Auth type | OAuth 2.0 |
| Client ID | d5b4125c62c6f7ae61740116f8661dbb |
| Client Secret | `COMMUNICATIONS_OAUTH_CLIENT_SECRET` env var in hermes-k8s.yaml (never logged) |
| Authorization URL | https://hermes.squaremcp.com/oauth/authorize |
| Token URL | https://hermes.squaremcp.com/oauth/token |
| Token Exchange Method | POST (default) |
| Scope | (empty) |
### ⚠️ OAuth Callback URL — Must Be Registered in Hermes
```
https://chat.openai.com/aip/g-9d379b00783d2daf4e0af3f736cff6b0c440bbac/oauth/callback
```
This URL is auto-generated by ChatGPT and is unique to this GPT. It must be added as an allowed redirect URI in the Hermes OAuth server before the "Sign in" connect-account flow will work. Without this, users will hit an OAuth redirect error.
---
## Actions (12 total)
Imported from `https://hermes.squaremcp.com/openapi-communications.json`
| Action Name | Method | Path |
|---|---|---|
| communications_get_profile | GET | /api/communications/profile |
| communications_update_profile | PUT | /api/communications/profile |
| communications_generate_onboarding | POST | /api/communications/profile/generate-onboarding |
| communications_get_examples | GET | /api/communications/examples |
| communications_chat | POST | /api/communications/chat |
| communications_get_draft | GET | /api/communications/drafts/{draft_id} |
| communications_update_draft | PUT | /api/communications/drafts/{draft_id} |
| communications_regenerate_draft | POST | /api/communications/drafts/{draft_id}/regenerate |
| communications_reject_draft | POST | /api/communications/drafts/{draft_id}/reject |
| communications_approve_draft | POST | /api/communications/drafts/{draft_id}/approve |
| communications_get_status | GET | /api/communications/status |
| communications_update_status | PUT | /api/communications/status |
---
## GPT Instructions (auto-generated, saved)
```
You are the SquareMCP Communications Manager. Help professionals draft and publish
social media and email content.
When a user starts, check if they have a connected account. If not, prompt them to
connect via the "Sign in" flow. Once connected, use their profile (NMLS number, tone
preference, enabled platforms) to personalize all drafts.
Workflow:
1) Use communications_chat to generate draft ideas from the user's input.
2) Show drafts and ask if they want to edit, regenerate, or approve.
3) On approval, call communications_approve_draft to publish.
4) On rejection, call communications_reject_draft.
Always include the NMLS disclaimer when required by the user's profile. Never publish
without explicit user approval.
```
## Conversation Starters (auto-generated, saved)
- Draft a LinkedIn post about today's rates
- Write a Facebook post for [x person type]
- Show me my recent drafts
- Update my communication preferences
---
## Privacy Policy
| Field | Value |
|---|---|
| URL set in Actions | https://squaremcp.com/privacy.html |
| Last updated | June 12, 2026 |
| Covers | squaremcp.com, app.squaremcp.com, hermes.squaremcp.com |
| Covers | ChatGPT/Claude AI connections, OAuth flows, connected social credentials |
### Known Gaps (must fix before GPT Store / Public)
1. **NMLS profile data** — policy does not mention storage of `nmls_number`, `states_licensed`, `nmls_disclaimer_text`, or broker info collected via the Communications profile endpoints.
2. **Draft content storage** — policy states "We do not log the full content of emails, notes, or social media posts" but Communications actively stores draft text server-side until the user approves or rejects it. This is a direct contradiction.
---
## What Was Completed This Session
- [x] Opened existing "Hemes-messging" draft GPT (g-6a0f35429e8c81918e8caedbb8b2e4c5)
- [x] Renamed to "Communications Manager"
- [x] Added description
- [x] Imported all 12 Communications API actions from OpenAPI spec URL
- [x] Configured OAuth (Client ID, Secret, Auth URL, Token URL)
- [x] Fixed privacy policy URL (hermes subdomain 404s → squaremcp.com is correct)
- [x] Instructions and conversation starters populated (ChatGPT auto-generated)
- [x] Saved as "Anyone with a link" — GPT is Live
---
## Remaining Before Going Public
- [ ] **Register OAuth callback URL** in Hermes OAuth server allowed redirect URIs (see URL above)
- [ ] **Run end-to-end OAuth test**: connect account → view profile → chat → draft → edit → approve/publish
- [ ] **Upload 512×512 icon** (click "+" on Configure tab)
- [ ] **Fix privacy policy gaps** — add NMLS data language and correct draft storage statement
- [ ] **Set visibility to GPT Store** — only after OAuth flow test passes cleanly
---
## Notes
- The GPT editor ID and the OAuth callback GPT ID are different strings — the callback URL uses `g-9d379b00783d2daf4e0af3f736cff6b0c440bbac`, the share URL uses `g-6a0f35429e8c81918e8caedbb8b2e4c5`. Both are correct; ChatGPT uses separate IDs for these.
- Visibility was intentionally left at "Anyone with a link" — do not flip to GPT Store until the OAuth flow is verified live.