# Drop to CDN for Activepieces

> Upload from Activepieces flows and get instant CDN URLs. Install npm piece piece-drop-to-cdn — Upload, Get, and Delete actions with API key auth.

piece-drop-to-cdn is the Drop to CDN piece for Activepieces, published on npm. Install it from Settings → My Pieces, add a connection with your API key, and use Upload File, Get File Information, and Delete File in any flow — including self-hosted Activepieces.

## Connect Drop to CDN in Activepieces

Install the piece, add your API key, and build a flow.

- Get your API key: sign up at Drop to CDN and create a key in Dashboard → Settings (starts with dtc_).
- Install the piece: Settings → My Pieces → Install Piece → piece-drop-to-cdn.
- Connect and build a flow: add a Drop to CDN connection with your API key, then use Upload File, Get File Information, or Delete File.

## Activepieces actions

Upload, get metadata, or delete files by ID.

- Upload File — inputs: file (upload or URL), optional retention days, never expire. Outputs: id, url, expires_at, size, mime_type, original_name.
- Get File Information — inputs: file ID. Outputs: id, url, expires_at, size, mime_type, original_name.
- Delete File — inputs: file ID. Outputs: id, deleted: true.

## Activepieces flow examples

Common patterns in Activepieces flows.

- Webhook → CDN URL: receive a file on a webhook trigger, upload with Drop to CDN, and pass the public url to the next step.
- Self-hosted automation: run Activepieces on your own infrastructure and push files to Cloudflare CDN without a separate upload service.
- Pipeline cleanup: delete files by ID after delivery or when a flow completes so storage stays within your plan.

## Activepieces integration FAQ

Common questions about the Activepieces piece.

### How do I install the Drop to CDN piece?

In Activepieces: Settings → My Pieces → Install Piece → piece-drop-to-cdn. Then add a connection under Connections → Drop to CDN with your API key.

### Where do I get an API key?

Sign up at Drop to CDN, open Dashboard → Settings → API keys, and create a key (starts with dtc_).

### Does it work on self-hosted Activepieces?

Yes. The piece is published on npm and installs the same way on cloud and self-hosted instances.

## More from Drop to CDN

- [Home](https://droptocdn.com/)
- [Pricing](https://droptocdn.com/pricing)
- [API Docs](https://droptocdn.com/docs)
- [Image to CDN](https://droptocdn.com/image-to-cdn)
- [Video to CDN](https://droptocdn.com/video-to-cdn)
- [PDF to CDN](https://droptocdn.com/pdf-to-cdn)
- [n8n Integration](https://droptocdn.com/integrations/n8n)
- [Zapier Integration](https://droptocdn.com/integrations/zapier)
- [Make Integration](https://droptocdn.com/integrations/make)
- [Activepieces Integration](https://droptocdn.com/integrations/activepieces)
- [MCP (Cursor, Claude)](https://droptocdn.com/integrations/mcp)
- [CLI (agents & terminal)](https://droptocdn.com/integrations/cli)
- [Buffer Integration](https://droptocdn.com/integrations/buffer)
- [Loom to CDN](https://droptocdn.com/loom-to-cdn)
- [Privacy Policy](https://droptocdn.com/privacy)
- [Terms of Service](https://droptocdn.com/terms)

- [Site index for agents (llms.txt)](https://droptocdn.com/llms.txt)
- [XML sitemap](https://droptocdn.com/sitemap.xml)
- [OpenAPI specification](https://api.droptocdn.com/v1/openapi.json)

---

Canonical HTML page: https://droptocdn.com/integrations/activepieces
