Integration Health & Credit Efficiency

Production monitoring — 7-day observation window

Today's Credit Status — Mon, 31 Aug

Observed Integration Calls

0

Estimated Base44 Credits

0

GREEN

Actual Base44 Billing Credits

Not available from application telemetry

7-Day Average

0

credits/day

GREEN: ≤ 30 credits/day
AMBER: 31–40 credits/day
WARNING: 41–50 credits/day
RED: > 50 credits/day
7-Day Daily Credit Summary
DateObserved CallsEst. CreditsActual CreditsAIEmailDriveQBAutoFailedRetriesCachedDupes PreventedTop Consumer
Tue, 25 Aug00
GREEN
N/A000000000
Wed, 26 Aug00
GREEN
N/A000000000
Thu, 27 Aug00
GREEN
N/A000000000
Fri, 28 Aug00
GREEN
N/A000000000
Sat, 29 Aug00
GREEN
N/A000000000
Sun, 30 Aug00
GREEN
N/A000000000
Mon, 31 Aug00
GREEN
N/A000000000

7-Day Average

0 credits/day

Highest Day

0

Lowest Day

0

Mon, 31 Aug

Circuit Breaker Events

0

Top 5 Credit Consumers (7-Day)

No integration credit usage recorded yet.

Cache Savings (7-Day)

0

external calls avoided by caching

Duplicates Prevented (7-Day)

0

duplicate calls blocked by idempotency

Per-Integration Summary (7-Day)
IntegrationCalls TodayCalls 7 DaysFailuresEst. CreditsStatus
AI / InvokeLLM0000
Idle
Resend0000
Idle
Google Drive0000
Idle
Google Sheets0000
Idle
Google Calendar0000
Idle
QuickBooks0000
Idle
Stripe0000
Idle
PayPal0000
Idle
Companies House0000
Idle
Address Lookup0000
Idle
WhatsApp0000
Idle
Automation Runs0000
Idle

Credit figures are application-level estimates based on call count × per-type cost. Not authoritative billing.

AI Verification Requests (7d)

0

AI Actually Executed (7d)

0

Cache Hits (7d)

0

Cache Hit Rate (7d)

0%

AI Function Activity (7-Day)

No AI function activity recorded yet. Records appear automatically as functions execute.

Loading AI cost control settings...

Integration Call Log — Today

Total Calls

0

Successful

0

Failed

0

Cached/Skipped

0

Retries

0

Potential Waste Detection

No waste patterns detected in the logged period.

Cache Savings Breakdown (7 days)

AI Cache Skips

0

Email Dedup

0

Drive Hash Skips

0

Address Cache

0

These calls were served from cache or prevented by idempotency checks — zero external API credits consumed.

Loading call budgets...

Top Consumers (by Function)

No integration call logs recorded yet.

Integration & Automation Health

No integration health records yet. Records appear automatically as functions execute.

Total Functions Audited

170

Fully Unprotected

160

Fully Protected

5

Cloud Offload Savings

~1120/mo

A — Critical Financial

14 functions · 12 unprotected

B — Critical Business

33 functions · 29 unprotected

C — Operational Notifications

64 functions · 62 unprotected

D — AI Functions

30 functions · 30 unprotected

E — External API / Drive

29 functions · 27 unprotected

Cloud Offloading Assessment
Function-Level Credit Inventory
FunctionClassIntegrationsCreditsCBLogDedupCacheRLRetryAI CtrlRecommendation
processStripePayment
A
stripe3FULLY PROTECTED — idempotency + logging active
capturePayPalPayment
A
paypal2Add idempotency logging + circuit breaker
createPayPalOrder
A
paypal1Add idempotency + logging
createStripePaymentIntent
A
stripe1Add idempotency + logging
createStripeCheckoutSession
A
stripe1Add idempotency + logging
confirmStripePayment
A
stripe1Add idempotency + logging
generatePayroll
A
email1Add email dedup + logging
generatePayrollInvoices
A
email,drive,external_api4Add circuit breaker + logging + drive dedup
autoRunWeeklyBACSPayroll
A
email1Add email dedup + logging
generateRTIFPS
A
email1Add email dedup + logging
generateAndSubmitRTIFPS
A
email1Add email dedup + logging
generateHMRCFPS
A
email1Add email dedup + logging
autoGenerateRTIFPSOnPayroll
A
email1Add email dedup + logging
exportHMRCPayroll
A
email1Add email dedup + logging
verifyDocumentWithAI
B
ai,email,drive3FULLY PROTECTED — circuit breaker + AI hash cache + cost control
verifyRightToWork
B
ai,drive3Add circuit breaker + AI hash cache + logging
verifyRightToWorkWithPDF
B
ai,drive3Add circuit breaker + AI hash cache + logging
verifyDbsUpdateService
B
external_api1Add circuit breaker + caching + logging
generateAndSendBillingCycleInvoice
B
email,drive,external_api3Add circuit breaker + email dedup + drive dedup + logging
sendInvoiceToAccountsPayable
B
email,drive,external_api4Add circuit breaker + email dedup + drive dedup + logging
sendInvoiceEmail
B
email,external_api3Add circuit breaker + retry logic
sendInvoiceToClient
B
email,external_api2Add email dedup + logging
generateInvoicePDF
B
drive1Add drive content hash + logging
generateAndSendInvoicePDF
B
email,drive,external_api3Add circuit breaker + email dedup + drive dedup + logging
autoAttachInvoicePDFOnSent
B
drive1Add drive content hash + logging
generateClientContract
B
email,drive2Add email dedup + drive dedup + logging
generateClientContractWithSignature
B
email,drive2Add email dedup + drive dedup + logging
generateSignedContract
B
drive1Add drive content hash + logging
generateSubcontractorAgreementPDF
B
drive1Add drive content hash + logging
sendSubcontractorAgreement
B
email1Add email dedup + logging
sendContractEmail
B
email1Add email dedup + logging
handleDocumentApproval
B
email3Add email dedup + logging
backupCriticalRecordToDrive
B
drive,external_api2FULLY PROTECTED — content hash + circuit breaker + retry
sendPayslipEmails
B
email1Add email dedup + logging
uploadPayslipToDrive
B
external_api,google_api3Add drive content hash + circuit breaker + logging
checkExpiringComplianceDocuments
B
email4Add email dedup + logging
sendOverdueInvoicePaymentReminders
B
email2Add circuit breaker + retry logic
checkOverdueInvoices
B
email1Add email dedup + logging
checkOverdueInvoicesAndRemind
B
email1Add email dedup + logging
sendPaymentReminders
B
email1Add email dedup + logging
sendPaymentReminder
B
email1Add email dedup + logging
markInvoiceAsPaid
B
email1Add email dedup + logging
sendShiftAssignmentEmail
C
email1Add email dedup + logging
sendShiftReminders
C
email1Add email dedup + logging
sendUpcomingShiftReminders
C
email1Add email dedup + logging
sendUpcomingShiftNotifications
C
email1Add email dedup + logging
sendShiftNotifications
C
email1Add email dedup + logging
sendTimesheetReminders
C
email1Add email dedup + logging
sendDraftTimesheetReminder
C
email1Add email dedup + logging
sendOnboardingReminders
C
email1Add email dedup + logging
sendOnboardingProgressUpdate
C
email1Add email dedup + logging
sendProfileCompletionReminder
C
email1Add email dedup + logging
sendStaffAvailabilityReminder
C
email1Add email dedup + logging
sendAvailabilityReminders
C
email1Add email dedup + logging
sendTrainingExpiryNotifications
C
email1Add email dedup + logging
sendDocumentExpiryReminders
C
email1Add email dedup + logging
sendExpiryReminders
C
email1Add email dedup + logging
sendComplianceReminderEmails
C
email1Add email dedup + logging
sendComplianceExpiryNotifications
C
email1Add email dedup + logging
sendReferenceRequestsForStaff
C
email,external_api3Add circuit breaker + retry logic
sendSingleReferenceRequest
C
email,external_api2Add email dedup + logging
sendReferenceReminders
C
email1Add email dedup + logging
sendReferenceChaseReminders
C
email1Add email dedup + logging
sendInvoiceReminders
C
email1Add email dedup + logging
sendInvoicePaidThankYou
C
email1Add email dedup + logging
sendShiftInvoiceEmail
C
email1Add email dedup + logging
sendBulkInvoices
C
email1Add email dedup + logging
sendOverdueInvoiceReminders
C
email1Add email dedup + logging
scheduledInvoiceReminders
C
email1Add email dedup + logging
sendMessageNotification
C
email1Add email dedup + logging
sendVerificationEmail
C
email1Add email dedup + logging
notifyInvoiceStatusChange
C
email1Add email dedup + logging — 1,366 historical failures
notifyShiftChanges
C
email1Add email dedup + logging — 34,530 historical failures
notifyStaffNewShifts
C
email1Add email dedup + logging — 1,145 historical failures
notifyMatchingStaffNewShift
C
email1Add email dedup + logging — 1,039 historical failures
notifyClientNewApplication
C
email1Add email dedup + logging
notifyClientShiftActivity
C
email1Add email dedup + logging
notifyClientShiftApproval
C
email1Add email dedup + logging
notifyAdminDocumentIssue
C
email1Add email dedup + logging
notifyAdminOnboardingMilestone
C
email1Add email dedup + logging
notifyAdminsOnboardingComplete
C
email1Add email dedup + logging
notifyShiftAssigned
C
email1Add email dedup + logging
notifyShiftAssignment
C
email1Add email dedup + logging
notifyShiftCancelled
C
email1Add email dedup + logging
notifyShiftCreated
C
email1Add email dedup + logging
notifyShiftResponse
C
email1Add email dedup + logging
notifyShiftStatusChange
C
email1Add email dedup + logging
notifyTimesheetStatusChange
C
email1Add email dedup + logging
notifyUpcomingShift
C
email1Add email dedup + logging
notifyStaffUnavailability
C
email1Add email dedup + logging
notifyMatchingJobs
C
email1Add email dedup + logging
notifyMatchedStaff
C
email1Add email dedup + logging
notifyNewShiftsAvailable
C
email1Add email dedup + logging
notifyEligibleStaffNewVacancy
C
email1Add email dedup + logging
notifyShiftChange
C
email1Add email dedup + logging
notifyShiftInvitation
C
email1Add email dedup + logging
notifyContractRenewalsAutomation
C
email1Add email dedup + logging
sendContractRenewalReminders
C
email1Add email dedup + logging
emailStaffProfileToClient
C
email1Add email dedup + logging
emailStaffProfilesToClient
C
email1Add email dedup + logging
emailReferenceCopy
C
email1Add email dedup + logging
sendRefereeLoginLink
C
email1Add email dedup + logging
sendWhatsAppReferenceNotification
C
whatsapp1Add dedup + logging
sendCustomInvitation
C
email1Add email dedup + logging
aiShiftSchedulingAssistant
D
ai3Add circuit breaker + AI hash cache + cost control + logging
aiComplianceAutomation
D
ai,email2Add circuit breaker + AI hash cache + cost control + logging
aiComplianceMonitor
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiProactiveComplianceMonitor
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiProactiveComplianceCheck
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiComprehensiveProfileVerification
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiDocumentReviewer
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiMatchStaffToShift
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiSuggestStaffForShift
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiSuggestShiftsForStaff
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiTimesheetApprovalAssistant
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiShiftRateCalculator
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiGenerateInvoiceFromTimesheets
D
ai1Add circuit breaker + AI hash cache + cost control + logging
aiGenerateInvoices
D
ai1Add circuit breaker + AI hash cache + cost control + logging
generateAIInvoice
D
ai1Add circuit breaker + AI hash cache + cost control + logging
generateAISchedule
D
ai1Add circuit breaker + AI hash cache + cost control + logging
generateStaffReviewSummary
D
ai1Add circuit breaker + AI hash cache + cost control + logging
detectTimesheetAnomalies
D
ai1Add circuit breaker + AI hash cache + cost control + logging
analyzeReferenceResponse
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractDocumentData
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractAccountsFromFile
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractShiftsFromFile
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractTimesheetData
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractFormFields
D
ai1Add circuit breaker + AI hash cache + cost control + logging
extractClientInfo
D
ai1Add circuit breaker + AI hash cache + cost control + logging
searchCareHomes
D
ai,external_api2Add circuit breaker + AI hash cache + cost control + logging
getPersonalizedOnboardingGuidance
D
ai1Add circuit breaker + AI hash cache + cost control + logging
predictStaffingShortages
D
ai1Add circuit breaker + AI hash cache + cost control + logging
calculateJobMatch
D
ai1Add circuit breaker + AI hash cache + cost control + logging
lookupAddress
E
address1FULLY PROTECTED — postcode cache + rate limit + retry
lookupCompanyAddress
E
companies_house1Add caching + circuit breaker + logging — CLOUD OFFLOAD candidate
geocodePostcode
E
external_api1Add caching + circuit breaker + logging — CLOUD OFFLOAD candidate
getUKBankHolidays
E
external_api1FULLY PROTECTED — bank holiday cache
syncFormSubmissionToDrive
E
external_api,google_api5Add circuit breaker + drive dedup + logging — CLOUD OFFLOAD candidate
archiveUserToGoogleDrive
E
external_api,google_api4Add circuit breaker + drive dedup + logging — CLOUD OFFLOAD candidate
autoBackupToGoogleDrive
E
external_api4Add circuit breaker + drive dedup + logging — CLOUD OFFLOAD candidate
syncDocumentToGoogleDrive
E
external_api,google_api3Add circuit breaker + drive dedup + logging — CLOUD OFFLOAD candidate
exportToGoogleDrive
E
external_api2Add circuit breaker + drive dedup + logging
exportPayrollToGoogleSheets
E
external_api,google_api2Add circuit breaker + logging — CLOUD OFFLOAD candidate
syncShiftPlannerToSheets
E
external_api,google_api2Add circuit breaker + logging — CLOUD OFFLOAD candidate
syncShiftToCalendar
E
external_api1Add circuit breaker + logging
syncShiftToGoogleCalendar
E
external_api,google_api2Add circuit breaker + logging
syncStaffShiftsToGoogleCalendar
E
external_api1Add circuit breaker + logging
saveOnboardingPDFToDrive
E
external_api,google_api3Add circuit breaker + drive dedup + logging
generateInvoiceFromUpload
D
ai1Add circuit breaker + AI hash cache + cost control + logging
generateStaffProfilePDF
E
drive1Add drive content hash + logging
generateStaffSummaryPDF
E
drive1Add drive content hash + logging
generateAppGeneratedProfilePDF
E
drive1Add drive content hash + logging
generateReferencePDF
E
drive1Add drive content hash + logging
generateReferencePDFReport
E
drive1Add drive content hash + logging
downloadReferencePDF
E
drive1Add drive content hash + logging
generateStatementPDF
E
drive1Add drive content hash + logging
generateFormSubmissionPDF
E
drive1Add drive content hash + logging
generateWeeklyInvoicePDF
E
drive1Add drive content hash + logging
generateTimesheetPDF
E
drive1Add drive content hash + logging
generateAndStoreTimesheetPDF
E
drive1Add drive content hash + logging
syncInvoiceToAccounting
E
quickbooks1Add circuit breaker + logging — CLOUD OFFLOAD candidate
syncPayrollToAccounting
E
quickbooks1Add circuit breaker + logging — CLOUD OFFLOAD candidate
syncPayrollWithQuickBooks
E
quickbooks1Add circuit breaker + logging — CLOUD OFFLOAD candidate
sendViaResendAPI
C
email1Add circuit breaker + retry logic
prepareBulkWhatsAppMessages
C
whatsapp1Add dedup + logging
generateStaffPayslips
B
email1Add email dedup + logging
savePayrollRecord
B
email1Add email dedup + logging
exportTimesheetsToPayroll
B
email1Add email dedup + logging
automatePayrollFromTimesheets
B
email1Add email dedup + logging
generatePayrollInvoices
B
email,drive2Add email dedup + drive dedup + logging

CB = Circuit Breaker | Log = Integration Logging | Dedup = Idempotency/Dedup | Cache = Caching

RL = Rate Limiting | Retry = Exponential Backoff Retry | AI Ctrl = AI Cost Control

Classification: A = Critical Financial (Stripe/PayPal/RTI) | B = Critical Business (Invoices/Contracts/Compliance) | C = Operational Notifications (Email) | D = AI Functions | E = External API / Drive

Note: Only functions with integration calls are shown. Entity-only functions (database reads/writes) are not counted.

Cloud Offload: Stateless functions that don't require the Base44 SDK can be externalized to Cloudflare Workers or Supabase Edge Functions to eliminate integration credit consumption entirely.

Loading production monitoring data...
Protection Coverage (Reconciled)
100%
PHASE 2 FROZEN

173

Protected Functions

173

True Integration Functions

33

Reclassified as Internal

Email
104 / 104
100%
AI
32 / 32
100%
External APIs
17 / 17
100%
Drive / UploadFile
13 / 13
100%
Google API
6 / 6
100%
WhatsApp
1 / 1
100%
Inventory Reconciliation
Internal CSV/XML Generators

19

Local Accounting Prep

2

Delegating Functions

5

Internal-Only

6

Inbound Webhooks

1

Total Reclassified

33

These functions were originally counted as integration consumers but code inspection proved they perform only local computation, delegate to an already-protected function, or receive inbound traffic without initiating outbound calls.

Prevented Credit Waste
Loading metrics...
Automation Review
16 active

74

Total Automations

16

Active & Healthy

58

Archived (replaced/fixed)

Previously High-Failure Automations (all archived):

notifyShiftChanges
34530 failures
ARCHIVED — payload incompatibility fixed via automationPayload.ts
notifyInvoiceStatusChange
1366 failures
ARCHIVED — payload incompatibility fixed via automationPayload.ts
notifyStaffNewShifts
1145 failures
ARCHIVED — payload incompatibility fixed via automationPayload.ts
notifyMatchingStaffNewShift
1039 failures
ARCHIVED — replaced by deterministic notifyEligibleStaffNewVacancy
initiateStaffOnboarding
49 failures
ARCHIVED — payload incompatibility fixed via automationPayload.ts
weeklyComplianceExpiryReport
5 failures
ARCHIVED — replaced by checkExpiringComplianceDocuments
autoBackupToGoogleDrive
5 failures
ARCHIVED — replaced by event-driven backupCriticalRecordToDrive
aiComplianceAutomation
5 failures
ARCHIVED — replaced by deterministic complianceEvaluator.ts
alertUnfilledShifts
5 failures
ARCHIVED — high-frequency polling replaced by event-driven logic
Validation Status
Static Code Inspection
STATIC_VALIDATION_PASSED
Import Validation
STATIC_VALIDATION_PASSED
Schema Validation
STATIC_VALIDATION_PASSED
Dependency Analysis
STATIC_VALIDATION_PASSED
Frontend Call-Site Validation
STATIC_VALIDATION_PASSED
Automation Configuration Review
STATIC_VALIDATION_PASSED
Idempotency Key Validation
STATIC_VALIDATION_PASSED
Permission Checks
STATIC_VALIDATION_PASSED
Syntax/Build Validation
STATIC_VALIDATION_PASSED
Circuit Breaker Configuration
STATIC_VALIDATION_PASSED
Retry Classification
STATIC_VALIDATION_PASSED
Content Hash Duplicate Prevention
STATIC_VALIDATION_PASSED
Runtime Validation
Credits reset 2026-09-09 — test matrix prepared (20 tests)
RUNTIME_VALIDATION_PENDING
7-Day Observation
Starts after runtime validation passes
RUNTIME_VALIDATION_PENDING
Inventory Reconciliation (170→173)
170 + 43 discovered − 40 reclassified = 173
STATIC_VALIDATION_PASSED

Observed Integration Calls = actual external API calls made (AI, email, Drive, QuickBooks, Stripe, etc.)

Estimated Base44 Credits = application-level estimate based on call count × per-type cost. Not authoritative billing.

Actual Base44 Billing Credits = not available from application telemetry. Check Base44 billing dashboard for authoritative usage.

Note: Ordinary entity/database reads and writes are NOT counted as integration-credit calls. Only external API calls are tracked.