Production-ready Cloudflare Worker templates for common integrations. Each template is a standalone project you can clone, configure, and deploy.
| Template | Description | Key Integrations |
|---|---|---|
| Twilio Voice Agent | AI-powered voice agent using Twilio Media Streams + OpenAI Realtime API | Twilio, OpenAI, HubSpot CRM, Cloudflare Durable Objects, Vectorize |
| WooCommerce Product Embedding | Sync WooCommerce products to Cloudflare Vectorize for semantic search | WooCommerce, OpenAI Embeddings, Cloudflare Vectorize, KV |
- Choose a template from the table above
- Copy the template directory to your project
- Follow the template's README for setup and configuration
- Deploy with
npx wrangler deploy
- Cloudflare account with Workers paid plan
- Node.js 18+
- Wrangler CLI (
npm install -g wrangler)
cloudflare-worker-templates/
├── twilio-voice-agent/ # Voice agent with CRM integration
│ ├── src/
│ │ ├── index.ts # Worker entry point
│ │ ├── config/ # Agent configuration
│ │ ├── agents/ # AI agent instructions & tools
│ │ ├── durable-objects/ # Session management (Durable Objects)
│ │ ├── tools/ # Tool implementations
│ │ └── utils/ # Logging utilities
│ ├── wrangler.toml
│ └── README.md
│
├── woocommerce-product-embedding/ # Product sync & vector search
│ ├── src/
│ │ ├── index.ts # Worker entry point
│ │ ├── sync-products.ts # WooCommerce sync logic
│ │ ├── types.ts # TypeScript interfaces
│ │ └── utils.ts # Embedding utilities
│ ├── wrangler.toml
│ └── README.md
│
├── LICENSE
└── README.md
MIT