⚙️ KV - Cloudflare key-value database full API integration workflow

1,519 views · ⚙️ DevOps & CI/CD

Description

Cloudflare KV

This n8n template provides a comprehensive solution for managing Key-Value (KV) pairs using Cloudflare’s KV storage. It’s designed to simplify the interaction with Cloudflare’s KV storage APIs, enabling users to perform a range of actions like creating, reading, updating, and deleting namespaces and KV pairs.

Features

Prerequisites

Workflow Overview

This workflow is divided into three main sections for ease of use:

  1. Single Actions: Perform individual operations on KV pairs.
  2. Bulk Actions: Handle multiple KV pairs simultaneously.
  3. Specific Actions: Execute specific tasks like renaming namespaces.

Key Components

Usage

  1. Setup Account Path: Input your Cloudflare account details in the ‘Account Path’ node. you can get your account path by your cloudflare URL Cloudflare-Screen
  2. Choose an Action: Select the desired operation from the workflow.
  3. Configure Nodes: Adjust parameters in the HTTP request nodes as needed. (each node contain sticky note with direct link to it own document page)
  4. Execute Workflow: Trigger the workflow manually to perform the selected operations.

Detailed Node Descriptions

I covered in this Workflow the full api calls of Cloudflare KV product.

API NODE: Delete KV

API NODE: Create KV-NM

API NODE: Delete KV1

API NODE: Write KVs inside NM

API NODE: Read Value Of KV In NM

API NODE: Read MD from Key

> The rest can be found inside the workflow with sticky/onflow note explain what to do.

Best Practices

Keywords: Cloudflare KV, n8n workflow automation, API integration, key-value storage management.

🔗 Nodes Used

HTTP Request

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup