# Create a self-contained CRUD app with Redis and HTML: n8n workflow

> Started by another system calling it, and works across Redis. 19 steps, 1 loop or waits: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/create-a-self-contained-crud-app-with-redis-and-html (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Integrations](https://millionrounds.com/workflows?category=Integrations#library)

# Create a self-contained CRUD app with Redis and HTML

Started by another system calling it, and works across Redis. 19 steps, 1 loop or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-a-self-contained-crud-app-with-redis-and-html)

**19 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 7 Logic 4 Service 8

The steps in the order they run, from what starts it.

- 1 **Hook: Get Items** Webhook *Starts it*
- 2 **Hook: Add Item** Webhook *Starts it*
- 3 **Hook: Edit Item** Webhook *Starts it*
- 4 **Hook: Delete Item** Webhook *Starts it*
- 5 **Hook: Reset** Webhook *Starts it*
- 6 **Webhook: Serve HTML App** Webhook *Starts it*
- 7 **Get All Items** Redis *Service*
- 8 **GetID** Redis *Service*
- 9 **Update the item** Redis *Service*
- 10 **Delete Item by Id** Redis *Service*
- 11 **Reset Autoincrement ID** Redis *Service*
- 12 **SET API URL** Set *Logic*
- 13 **Format the Items** Code *Logic*
- 14 **Add Item** Redis *Service*
- 15 **Get All Item Keys** Redis *Service*
- 16 **Serve HTML CRUD App** Respond To Webhook *Starts it*
- 17 **Format as JSON** Code *Logic*
- 18 **Loop Over Items** Split In Batches *Logic*
- 19 **Delete an Item** Redis *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 19, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Redis
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Redis account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-a-self-contained-crud-app-with-redis-and-html)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Redis](https://millionrounds.com/workflows?service=Redis#library)

## Workflows like it

Also integrations, with the same services where possible, closest in size first.

- [**Route API traffic with Stripe RBAC and Redis** 17 steps · Redis](https://millionrounds.com/workflow/route-api-traffic-with-stripe-rbac-and-redis)
- [**Batch process data with Redis** 15 steps · Redis](https://millionrounds.com/workflow/batch-process-data-with-redis)
- [**Redis locking for concurrent task handling** 14 steps · Redis](https://millionrounds.com/workflow/redis-locking-for-concurrent-task-handling)
- [**Building a consistent storytelling AI on autopilot with Redis** 11 steps · Redis](https://millionrounds.com/workflow/building-a-consistent-storytelling-ai-on-autopilot-with-redi)
- [**Message buffer system with Redis** 27 steps · Redis](https://millionrounds.com/workflow/message-buffer-system-with-redis)
- [**Prevent concurrent workflow runs with Redis** 31 steps · Redis](https://millionrounds.com/workflow/prevent-concurrent-workflow-runs-with-redis)
