resonate-gcp-deployments-typescript

Deploy TypeScript Resonate workers as HTTP-triggered Google Cloud Functions Gen 2.

6|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/resonatehq/resonate-skills --skill resonate-gcp-deployments-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resonate-gcp-deployments-typescript
Source: https://github.com/resonatehq/resonate-skills/tree/main/resonate-gcp-deployments-typescript
Command: npx skills add https://github.com/resonatehq/resonate-skills --skill resonate-gcp-deployments-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides engineers to deploy TypeScript Resonate workers as HTTP-triggered Google Cloud Functions (Gen 2) so durable workflows can resume across short-lived serverless invocations and communicate with a Resonate Server.

Core Features & Use Cases

  • GCP shim integration: add the @resonatehq/gcp package and instantiate Resonate using the shim for serverless compatibility.
  • Worker pattern: register durable functions and export an HTTP handler compatible with Cloud Functions Gen 2 to resume workflows across invocations.
  • Deployment guidance: instructs setting the RESONATE_URL environment variable and deploying with gcloud functions deploy (Gen 2, HTTP trigger).
  • Use Cases: deploy countdown workflows, webhook-driven durable jobs, or cost-efficient burstable background processors that need to persist execution state.

Quick Start

Install @resonatehq/gcp, implement and export a handler that registers your workflow, set RESONATE_URL to the Resonate Server URL, and deploy the function with gcloud functions deploy using Gen 2 HTTP trigger and the appropriate environment variables.

Frequently Asked Questions about resonate-gcp-deployments-typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy TypeScript durable workflows to Google Cloud Functions?

Deploy TypeScript Resonate workers to Google Cloud Functions by installing the @resonatehq/gcp shim, exporting an HTTP handler compatible with Gen2 Cloud Functions, and using gcloud functions deploy with the appropriate environment variables.

How do I resume durable workflows across short-lived serverless invocations on GCP?

Resume durable workflows across serverless invocations on GCP by instantiating Resonate using the @resonatehq/gcp shim and exporting an HTTP handler that registers your workflow functions for Gen2 Cloud Functions.

Can I use Cloud Functions Gen2 with Resonate for cost-efficient burstable background processors?

Yes, you can deploy TypeScript Resonate workers as HTTP-triggered Gen2 Cloud Functions to create cost-efficient burstable background processors that persist execution state across short-lived serverless invocations.

What environment variables do I need to set for deploying a Resonate worker to Google Cloud?

Set the RESONATE_URL environment variable to a reachable Resonate Server URL when deploying your TypeScript Resonate worker to Google Cloud Functions using gcloud functions deploy.

Does the @resonatehq/gcp shim support webhook-driven durable jobs on Google Cloud?

Yes, the @resonatehq/gcp shim supports webhook-driven durable jobs by allowing you to register durable functions and export HTTP handlers compatible with Google Cloud Functions Gen2 triggers.

What are the limitations of running Resonate durable workflows on serverless Cloud Functions?

Serverless Cloud Functions are short-lived, so durable workflows rely on the Resonate Server to persist execution state and resume across invocations, requiring a reachable RESONATE_URL and HTTP-triggered Gen2 deployment.