# Keep recent Twilio errors in Cloudflare Workers KV

Store each Twilio error for 24 hours in a selected Workers KV namespace. The error SID identifies the key, with the product, error code and timestamp available to an internal status dashboard.

[Use template](https://dashboard.fasthook.io/workflow/new?templateKey=twilio-errors-to-workers-kv&templateName=Keep+recent+Twilio+errors+in+Cloudflare+Workers+KV)

**Required accounts**

- Twilio
- Cloudflare Workers KV

## Workflow steps

### 1. Trigger · Error Log Recorded

**Twilio**. Emit an event when Twilio Event Streams delivers com.twilio.error-logs.error.logged.

### 2. Action · Write the event to Workers KV

**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 Twilio, 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 Twilio, 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)
- [Twilio integrations](https://www.fasthook.io/apps/twilio/integrations)
