Cloud Functions

All 24 Cloud Functions deployed to aaas-platform -- triggers, regions, memory allocation, and purpose.

Open Cloud Functions Console
All Functions (24)
FunctionTriggerRegionMemoryPurpose
contextPipelineFirestore createus-central11GiB5-step context generation
generateContextPackageFirestore createus-central1--HTTP context generation
emailOnUserUpdateFirestore updateus-central1--Event-driven emails
emailSchedulerCron daily 09:00us-central1512MiBDrip stages 2-6+
courseSchedulerCron daily 09:30us-central1--5-day email course
subscriberBridgeFirestore createus-central1--Blog to platform bridge
subscriberWelcomeFirestore createus-central1--Welcome email
adminNotifierFirestore createus-central1--Admin alerts
gravityclawSyncHTTPus-central1--Content sync
resendWebhookHTTPus-central1--Email tracking
dailyDigestSchedulerCron dailyus-central1--Blog digest
weeklyNewsletterSchedulerCron weeklyus-central1--Newsletter
ttsHTTPus-central1--Text-to-speech
demoChatHTTPus-central1--Landing page chat
agentExecutorFirestore createus-central1--Agent task execution
agentRetryExecutorCronus-central1--Failed task retry
agentResponseDeliveryFirestore updateus-central1--Result delivery
inboundEmailHTTPus-central1--Email processing
contentQualityGateFirestore createus-central1--Content validation
contentShareSchedulerCronus-central1--Social sharing
discoveryPipelineTriggerCronus-central1--Research pipeline
autoresearchVerifierCronus-central1--Research QA
contextCompletionHookFirestore updateus-central1--Context pipeline hook
gravityclawSchedulerCronus-central1--GravityClaw trigger
Operational Notes

Structured Logging

All 24 functions use JSON structured logging via createLogger(). Every log entry includes severity, message, functionName, and contextual fields. Logs are queryable in Cloud Logging.

Email Retry Policy

3 retries with exponential backoff (1s, 4s, 16s). Failed emails are logged with full context for manual review. Bounce/complaint events tracked via resendWebhook.

Quick Links