Skip to main content

12 docs tagged with "cloud function"

View All Tags

Proxy Tavily AI Search via CloudBase Cloud Function

Use @tavily/core in a CloudBase Cloud Function to call the Tavily Search API, wrap real-time web retrieval for LLM agents into an HTTP-triggered function, and let frontends / Mini Programs call it directly without exposing the API key.

Send Transactional Email via Resend in a Cloud Function

Use the Resend Node SDK inside a CloudBase Web Cloud Function (HTTP trigger) to send transactional emails — registration confirmation, password reset, billing alerts, agent notifications — with SPF/DKIM managed automatically by Resend, a custom sender domain, and optional React Email templates.

Send WeChat Mini Program Subscribe Messages via Cloud Function

The Mini Program frontend obtains user authorization via wx.requestSubscribeMessage, the server uses cloud.openapi.subscribeMessage.send to deliver messages, covering differences between one-time and long-term subscriptions and handling of 43101/47003 errors.

WxCloudSDKError: [Error] secret id error

When locally debugging cloud functions in WeChat Developer Tools, you may encounter the error message WxCloudSDKError: [Error] secret id error. This error is usually caused by the local debugging environment failing to correctly verify secretId.