# Cache new Cal.com booking references in Workers KV

Index each new booking by UID in a selected namespace. Store the event type and start and end times. The lookup entry expires after a day and excludes attendee details.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=calcom-new-bookings-to-workers-kv&templateName=Cache+new+Cal.com+booking+references+in+Workers+KV)

**Required accounts**

- Cal.com
- Cloudflare Workers KV

## Workflow steps

### 1. Trigger · Booking created

**Cal.com**. Signed Cal.com BOOKING\_CREATED webhook. Account-level events; access and event generation depend on Cal.com plan and role.

### 2. Action · Index the booking reference

**Cloudflare Workers KV**. Write text or binary data under one key. Optionally attach JSON metadata or set an expiration time.

## Set up your workflow

1. **Copy the template** Open the template in FastHook to create an editable Workflow Draft.
2. **Connect your accounts** Connect your accounts for Cal.com, Cloudflare Workers KV.
3. **Review the Workflow** Review the Steps, field mappings, routes, and provider settings.
4. **Activate** Activate the Workflow when the Draft is ready, then verify a test run.

## Questions about this template

### Does the template copy someone else's credentials?

No. FastHook creates a disconnected Draft. Connect your own Cal.com, Cloudflare Workers KV accounts before activation.

### Can I change the Steps and mappings?

Yes. The copied Workflow is an editable Draft. Review every Step, input, mapping, and route before you activate it.

### What is copied into my workspace?

FastHook recreates the Trigger configuration, Action Steps, routes, and mappings with new IDs. Provider accounts, credentials, and secrets are never copied.

### When does the Workflow start running?

Only after you connect the required accounts, finish the configuration, and explicitly activate the Draft.

## Related integrations

- [Cloudflare Workers KV integrations](https://www.fasthook.io/apps/cloudflare-workers-kv/integrations)
- [Cal.com integrations](https://www.fasthook.io/apps/cal-com/integrations)
