Discord Bot
- Guild: 1473795019575132222
- Primary Channel: aurora-build (1473827938905489408)
- Escalation: aurora-red (C0AEZCAQMRT)
- Token: Managed by openclaw-gateway (DISCORD_BOT_TOKEN env var)
- Capabilities: Send messages, embeds, buttons, reactions
Supabase
- Purpose: Database, auth, real-time subscriptions
- Access: Via shared db.js module
- Edge Functions: For serverless endpoints
HubSpot API
- Pipeline: 816046 (Wholesale)
- Access: Full read/write via credentials store
- Key endpoints: deals, contacts, companies, custom objects
SalesMessage API
- Purpose: SMS automation and messaging
- OAuth: Managed by sm-token-refresh cron
- Access: Via credentials store
Node.js Runtime
- Version: System Node.js
- Package manager: npm
- Scripts directory: /home/opsadmin/.openclaw/workspace/scripts/
Browser Automation
- Purpose: Glide, OpenPhone web UI, testing
- Tool: Playwright/Puppeteer available
Perplexity Pro (web research with citations)
- Purpose: Real-time web data with citations for morning brief, deal due diligence, market intel
- Auth: Cookie session (Henry’s 20/moProplan,0 marginal cost per call)
- Wrapper:
/home/opsadmin/.openclaw/tools/perplexity-cookie-session/comprehensive_wrapper.py
- Modes: ask (free auto), search (1 Pro query), reason (1 Pro query, thinking models), deep_research (1 Pro query, ~85s agentic)
- Morning brief collector:
/home/opsadmin/.openclaw/workspace/scripts/aurora_perplexity_collector.py — runs 4 cited queries (CA RE 24h, mortgage rates, wholesale marketplace activity, today’s econ data), writes JSON + Markdown to /tmp/aurora-perplexity-intel-{date}.{json,md}
- Skill:
/perplexity (Claude Code skill loader)
- Quotas: 400 cookie Pro queries/day total (soft alert via daily_summary.py); 30 deep_research/day
- KB:
workspace/knowledge-base/perplexity/ (6 docs)
action=send, channel=discord, target={channel_id} — Discord posting
action=send, channel=slack, target={channel_id} — Slack posting
Shared Modules
scripts/lib/db.js — Supabase client
scripts/lib/hubspot-client.js — HubSpot API wrapper
scripts/lib/openphone-sms.js — SMS utilities
scripts/lib/compliance-gate.js — SMS compliance checks
- Supabase — Primary database and serverless
- Cloudflare Workers — Edge compute
- GitHub — Code hosting