ProgressPoint is a Google Chat bot that automates daily standup collection for internal teams. When added to a Google Chat Space, it guides the Space owner through a setup wizard. At the configured time each day, the bot privately DMs every Space member with standup questions. After the response window closes, it compiles all answers and posts a rollup summary to the Space.
| Requirement | Version / Detail | Where to get it |
|---|---|---|
| Google Workspace Admin access | Required to publish the bot internally | Your org's Workspace Admin console |
| GCP account with billing | A billing account to attach to the new project | console.cloud.google.com/billing |
| gcloud CLI | Latest stable | cloud.google.com/sdk/docs/install |
| PowerShell | 5.1 or later (built into Windows) | Pre-installed on Windows 10/11 |
| Docker (optional) | Only needed for local testing; Cloud Build handles production builds | docker.com |
Google Chat Space
│
│ (Bot added / Card clicked / Message sent)
▼
Cloud Run (/webhook) ◄── Google Chat push events (JWT verified)
│
├── bot_handler.py ← All bot logic (wizard, DM sending, rollup posting)
├── card_builder.py ← All Card v2 JSON (wizard, DM, reminder, rollup)
├── firestore_service.py ← Database reads/writes + KMS encrypt/decrypt
└── scheduler.py ← Heartbeat processor (standup/reminder/rollup timing)
▲
│ (POST /internal/heartbeat every 5 minutes)
Cloud Scheduler
│
└── Checks all Space configs in Firestore
→ Sends standup DMs at configured time
→ Sends reminder 1h before window closes
→ Posts rollup at end of window
Firestore
└── spaces/{spaceId}
├── config (questions, time, cadence, etc.)
└── standups/{YYYY-MM-DD}
├── metadata (status, memberIds, respondedIds)
└── responses/{userId}
└── encryptedAnswers (AES-256 via Cloud KMS)
Cloud KMS
└── progresspoint-keyring
└── space-{hash16} (one key per Space)
Authenticate gcloud before running any scripts
gcloud auth login
gcloud auth application-default login
Get your Billing Account ID and Org ID
gcloud organizations list # → Org ID (optional, only needed if using a GCP org)
gcloud billing accounts list # → Billing Account ID (format: XXXXXX-XXXXXX-XXXXXX)
Other useful lookup commands
gcloud projects list # List all projects you have access to
gcloud config set project PROJECT_ID # Set the active project for gcloud commands
Run preflight check
$yourprojectid = "org-department-progresspoint"
$yourbillingaccount = "XXXXXX-XXXXXX-XXXXXX"
cd C:\Your\Path\ProgressPoint
.\Scripts\setup.ps1 -ProjectId $yourprojectid -Check
This validates: gcloud auth, project exists, billing enabled, required APIs. Fix any failures before proceeding.
Preview mode (dry run)
.\Scripts\setup.ps1 -ProjectId $yourprojectid -billingaccount $yourbillingaccount
Shows exactly what will be created. No changes made. Review the output.
.\Scripts\setup.ps1 -ProjectId $yourprojectid -billingaccount $yourbillingaccount -Force
Creates: Artifact Registry repository, Firestore database, KMS keyring + key, Service Account + IAM bindings, Cloud Scheduler job.
setup.ps1 writes a JSON checkpoint file to Logs/. If it fails partway through, re-run it — completed steps are skipped automatically.
deploy.ps1 builds the Docker image via Cloud Build and deploys it to Cloud Run. Run this after setup.ps1 and on every code update.
The first run is without -force so it will be a dry run.
.\Scripts\deploy.ps1 -ProjectId $yourprojectid -Region 'europe-west2'
If you're happy with the output run:
.\Scripts\deploy.ps1 -ProjectId $yourprojectid -Region 'europe-west2' -force
A placeholder BotUserId is used for the first deploy — this is fine. You will update it after discovering the real ID.
At the end of the deploy, the script prints the webhook URL:
✅ Webhook URL: https://progresspoint-bot-resrgdj7ia-nw.a.run.app/webhook
Register the Chat API and add the bot to a Space
This is done once per GCP project. In the Google Cloud Console: Google Cloud Console → APIs & Services → Enabled APIs → Google Chat API → Configuration tab
Set the connection settings
| Field | Value |
|---|---|
| App Name | ProgressPoint |
| Avatar URL | https://whereyouuploadedthefile.to/logo.png |
| Description | Progress Point, a standup bot. |
| Interactive feature | Enabled |
| Join spaces and group conversations | Enabled |
| Connection type | HTTP endpoint URL |
| Triggers | Use a common HTTP endpoint URL for all triggers |
| HTTP endpoint URL | The URL from deploy.ps1 |
Register slash commands
Under "Slash commands", add all three commands exactly as follows:
| ID | Name | Description | Dialog? |
|---|---|---|---|
| 1 | /setup | Configure ProgressPoint standup for this Space | ✅ checked |
| 2 | /configure | Update standup settings (Space owner only) | ✅ checked |
| 3 | /editstandup | Edit your standup response for today | ❌ unchecked |
Save and publish
Click Save. The bot is now available in your Google Workspace. Users can add ProgressPoint to their Spaces via the Chat app directory.
Discover the real BotUserId from logs
Add the bot to a temporary Space, then fire /setup and save. Then run this command in the terminal:
gcloud logging read 'resource.type="cloud_run_revision" AND resource.labels.service_name="progresspoint-bot"' --limit=60000 --project=$yourprojectid --freshness=8h --format=json | ConvertFrom-Json | ForEach-Object { if ($_.textPayload -match "bot':\s*\{'name':\s*'users/(\d+)'") { $matches[1] } }
You should see something like110699941333765692479, this is what your BotID.
If you see no results check the logging with this command to capture the BotID
gcloud logging read 'resource.type="cloud_run_revision" AND resource.labels.service_name="progresspoint-bot"' --limit=100 --project=$yourprojectid --freshness=30m --format=json | Select-String -Pattern "{'bot': {'name': '"
Look for a line containing Chat token verified — this confirms events are reaching your webhook. Then look for a line containing bot or sender in the raw event. The BotUserId is the numeric portion of the bot's name field.
'bot': {'name': 'users/105292875518405709221', 'displayName': 'ProgressPoint', ...}
105292875518405709221 = the ID you're after.
Redeploy with the correct BotUserId
.\Scripts\deploy.ps1 -ProjectId $yourprojectid -BotUserId "YOUR_REAL_BOT_ID" -Force
Add ProgressPoint to a Space
In Google Chat, open the team Space. Click the Space name → Apps → Add apps → search "ProgressPoint" → Add.
Run /setup
In the Space message box, type /setup and send. The wizard card opens.
Fill in the wizard
| Field | Notes |
|---|---|
| Questions (Q1–Q4) | Required. The standup questions sent daily. Q5–Q8 optional. |
| Timezone | The timezone for interpreting send time. Use your team's primary timezone. |
| Send days | Tick the days standups should be sent (Mon–Fri typical). |
| Send time | HH:MM in 24-hour format in the selected timezone. |
| Response window | How long members have to respond, entered in decimal hours. Examples: 6 = 6 hours (default), 1 = 1 hour, 0.5 = 30 minutes, 0.25 = 15 minutes, 0.1667 = 10 minutes. |
| Rollup format | Expandable Cards (one card per person) or Table View (all visible at once). Can be toggled after posting. |
Click Save Configuration
ProgressPoint posts a confirmation and immediately sends an onboarding message to the Space. This onboarding message contains a link for each team member to open a DM with the bot — this is required before DM-based standups will work.