Skip to main content

Smoke Tests: External Integrations (Stripe, Anthropic, LiveKit)

non-critical   Property: ChurchWiseAI   Category: API / Integration Tier: all Persona: devops Touchpoint: /api endpoints, third-party APIs

Preconditions

  • All external API keys configured in env
  • Stripe, Anthropic, LiveKit accounts active

Steps

#ActionExpected Result
1Send test chatbot request to AnthropicChatbot API returns 200. Response contains generated text. Latency <10s.
2Send test Stripe webhook (signed)Webhook endpoint returns 200. Event processed correctly.
3Create test Stripe customerStripe API returns customer object. Customer ID can be used for payments.
4Send test SMS via Twilio (if integrated)SMS API returns 200. No failures in logs.
5Test LiveKit voice agent connectivityVoice agent SIP endpoint accessible. Can initiate call.
6Verify Supabase connectionDatabase queries fast (<100ms). No connection errors in logs.
7Check all API keys are valid (not expired)No 401 (Unauthorized) responses from external APIs.
8Monitor error logs for integration failuresNo error stack traces. APIs responding normally.

Known Failure Modes

  • Anthropic API key invalid — chatbot breaks
  • Stripe webhook secret wrong — payments not processed
  • Twilio SMS failing — notifications don't send
  • LiveKit unreachable — voice agent offline
  • Supabase connection broken — data layer unavailable

References

Notes

Integration health check for all external services. Run after environment variable changes or after upstream service outages. Verifies API keys are valid, services are reachable, and latency is acceptable. Failures indicate configuration error or service outage — likely causes: expired keys, wrong region, wrong API version, rate limit exceeded.