# Open Valstorm Plugins (`/plugins`) This workspace directory houses modular integration plugins for Open Valstorm. ## Controlling Active Plugins (`VALSTORM_PLUGINS`) Both `apps/open-api` (Python) and `apps/open-worker` (Go) read the `VALSTORM_PLUGINS` environment variable on startup: - `VALSTORM_PLUGINS=*` (Default): Activates all discovered plugins. - `VALSTORM_PLUGINS=none` (or `""`): Runs streamlined core only (no optional integration plugins mounted). - `VALSTORM_PLUGINS=slack,gcp,google-workspace,google-marketing`: Activates only the listed plugins. ## Available Plugins & Setup Guides | Plugin Directory | Runtime | `PlatformContext` Mount | Description & Setup Guide | | :--- | :--- | :--- | :--- | | [`valstorm-plugin-gcp`](./valstorm-plugin-gcp/README.md) | Python | `platform.gcp` | Google Cloud Platform Service Account auth, BigQuery data warehouse (`.bigquery`), and Cloud Pub/Sub (`.pubsub`). | | [`valstorm-plugin-google-workspace`](./valstorm-plugin-google-workspace/README.md) | Hybrid (Python + Go) | `platform.google_workspace` | Per-user OAuth 2.0 for Gmail (`.gmail`), Calendar (`.calendar`), Meet (`.meet`), Drive/Docs (`.docs`), and Go history/calendar delta sync. | | [`valstorm-plugin-google-marketing`](./valstorm-plugin-google-marketing/README.md) | Python | `platform.google_marketing` | Unified Google Ads (`.ads`), Search Console (`.gsc`), Google Analytics 4 (`.ga4`), and Google Tag Manager (`.gtm`). | | [`valstorm-plugin-meta`](./valstorm-plugin-meta/README.md) | Python | `platform.meta` | Meta Ads (`.ads`), Business Suite assets/pixels (`.business`), and Facebook/Instagram organic publishing (`.publishing`). | | [`valstorm-plugin-linkedin`](./valstorm-plugin-linkedin/README.md) | Python | `platform.linkedin` | LinkedIn Campaign Manager Ads (`.ads`), B2B audience sizing, Company Page & Personal Profile publishing, PDF Carousels, and post/profile analytics (`.publishing`). | | [`valstorm-plugin-telnyx`](./valstorm-plugin-telnyx/README.md) | Hybrid (Python + Go) | `platform.telnyx` | Telnyx Call Control v2, 1-on-1 SMS & Group MMS, US Local/Toll-Free Porting, Voice AI Assistants, and Go webhook/Deepgram transcription (`telnyx:webhook_event`). | | [`valstorm-plugin-twilio`](./valstorm-plugin-twilio/README.md) | Hybrid (Python + Go) | `platform.twilio` | Twilio Programmable Voice (`.twiml`), Conversations v1, SMS/MMS, Lookup v2, and Go webhook handlers (`twilio:webhook_*`). | | [`valstorm-plugin-sendgrid`](./valstorm-plugin-sendgrid/README.md) | Hybrid (Python + Go) | `platform.sendgrid` | SendGrid `/v3/mail/send`, template merge rendering, Email Activity search, and Go `email:sendgrid` / Event Webhooks (`sgem`). | | [`valstorm-plugin-booking`](./valstorm-plugin-booking/README.md) | Hybrid (Python + Go) | `platform.booking` | Public Calendar Booking & Availability Engine (`/v1/booking/{slug}/availability` & `/reserve`), FreeBusy conflict filtering, and Google Meet provisioning (`bksl`). | | [`valstorm-plugin-deepgram`](./valstorm-plugin-deepgram/README.md) | Python | `platform.deepgram` | Deepgram Nova-3 Speech-to-Text, speaker diarization (`[MM:SS] Speaker N:`), VFS recording transcription, and 10-minute ephemeral token issuance. | | [`valstorm-plugin-ai`](./valstorm-plugin-ai/README.md) | Hybrid (Python + Go) | `platform.ai` | LLM Gateway (`/v1/ai/chat/completions`, Gemini wire pass-through, `/v1/ai/models`), Agent Chat, Cross-Plugin Tool Bridge, Working Memory (`uaim`), and Go sub-10ms `desktop-sync`. | | [`valstorm-plugin-billing`](./valstorm-plugin-billing/README.md) | Python | `platform.billing` | Valstorm Cloud SaaS Pay-As-You-Go Billing, Valkey Hot Ledger (`HTTP 402`), GEAP/DO/Deepgram/Telnyx/Storage pricing, PostgreSQL daily rollups, and self-contained SaaS Stripe fulfillment (`cre`). | | [`valstorm-plugin-stripe`](./valstorm-plugin-stripe/README.md) | Python | `platform.stripe` | Customer CRM Stripe Integration (Customers `account`, Products `product`, Prices `price`, Subscriptions `subscription`, Invoices `invoice`, Billing Meters `usage_meter`, Credit Grants `credit_grant`, and Connect OAuth). | | [`valstorm-plugin-microsoft`](./valstorm-plugin-microsoft/README.md) | Python | `platform.microsoft` (`.outlook`, `.calendar`, `.subscriptions`) | Microsoft 365 / Graph API v1.0 (Outlook Mail `outm`, Outlook Calendar `miev`, Teams Online Meetings, and Graph Webhook Subscriptions). | | [`valstorm-plugin-github`](./valstorm-plugin-github/README.md) | Python | `platform.github` & `platform.ci` | GitHub App OAuth/JWT, Repositories, Pull Requests, Issues, and GitHub Actions CI/CD Live Pipeline Matrix Webhooks (`cicd` -> `cicd_deployment`). | | [`valstorm-plugin-salesforce`](./valstorm-plugin-salesforce/README.md) | Python | `platform.salesforce` & `platform.integrations.salesforce` | Salesforce CRM SOQL, Composite sObject CRUD, `ContentVersion` + `ContentDocumentLink` PDF/file upload, and ValPhone/ValRM for Salesforce bundles (`sal`–`sal5`). | | [`valstorm-plugin-support`](./valstorm-plugin-support/README.md) | Python | `platform.support` | Valstorm AI Documentation Support Specialist (`/v1/support/ask`), Deflection Telemetry (`/v1/support/telemetry`), and Ticket Escalation (`/v1/support/tickets`). | | `valstorm-plugin-slack` | Python | `platform.slack` | Slack OAuth, Events API webhooks, slash commands, Block Kit messaging, and AI Agent tools. | | `valstorm-plugin-firebase` | Hybrid (Python + Go) | `platform.firebase` | Firebase Cloud Messaging (FCM) push notifications (`notification:firebase_push`). | | `valstorm-plugin-inbound` | Hybrid (Python + Go) | `platform.inbound` | High-throughput public form & webhook lead ingestion (`/v1/inbound/submit`, `/v1/inbound/webhook`). | | `valstorm-plugin-twilio` | Hybrid (Python + Go) | `platform.twilio` | Twilio Voice TwiML & Programmable Messaging helpers. | ## Plugin Package Structure A plugin can be **Python-only** (e.g., `valstorm-plugin-gcp`, `valstorm-plugin-google-marketing`, `valstorm-plugin-slack`), **Go-only**, or **Hybrid Python + Go** (e.g., `valstorm-plugin-google-workspace`, `valstorm-plugin-firebase`, `valstorm-plugin-inbound`): ```text /plugins/valstorm-plugin-/ ├── README.md # Step-by-step setup guide, credentials, endpoints & AI tools ├── python/ │ ├── pyproject.toml │ └── src/valstorm_plugin_/ │ ├── __init__.py # Exports `plugin = ValstormPlugin(...)` │ ├── *_context.py # PlatformContext facade (`platform.`) │ ├── *_routes.py # FastAPI routers │ └── *_tools.py # AI Agent tool declarations & executors └── go/ ├── go.mod # module valstorm/plugins/ ├── plugin.go # Calls plugin.Register(&MyPlugin{}) in init() └── *_processor.go # Uses native Go ctx.Platform.ForOrg(orgID) ```