Skip to main content

Modify Liveblocks storage with JSON Patch and Anthropic Claude

Workflow preview

Workflow preview
100%
Modify Liveblocks storage with JSON Patch and Anthropic Claude preview
Open on n8n.io

1. Workflow Overview

Modify Liveblocks Storage with JSON Patch This example uses Liveblocks Storage, a sync engine created by...

Best for

  • Engineering automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, custom.liveblocks, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatanthropic, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Liveblocks.

Original n8n.io source

1.1 Workflow description

Title
Modify Liveblocks storage with JSON Patch and Anthropic Claude
Workflow name
Modify Liveblocks storage with JSON Patch and Anthropic Claude

Modify Liveblocks Storage with JSON Patch

This example uses Liveblocks Storage, a sync engine created by Liveblocks that allows you to create collaborative applications like Figma, Pitch, and Spline. When we fetch the Storage value for a room, we're fetching the state of the multiplayer document which users are collaborating on.

In this workflow example, our document holds a list of shapes, like a drawing tool. Here's a rectangle, for example:

{
 "id": "rect-1",
 "type": "rectangle",
 "x": 100,
 "y": 150,
 "width": 200,
 "height": 100,
 "color": "#ff0000"
}

Picture this hooked up to a design tool like Figma, with the user asking AI to edit their document.

In these nodes, to generates a JSON Patch operation from the user's request ("Add a blue circle, and make the square orange") and applies it to the collaborative document.

As soon as the JSON Patch operation has run, each user's design tool in their web browser will update with the changes in real time.

Additionally, we're setting presence in the room, which means that the AI will appear in the document's live avatar stacks while it works, before disappearing shortly after.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Create a room

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 3 - Patch room storage

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 4 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 5 - Get room storage

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 6 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 7 - Patch room storage1

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 8 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 9 - Get room storage1

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Set presence in a room

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Set presence in a room1

Type / Role
CUSTOM.liveblocks - liveblocks
Config choices
Version 1

Block 17 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Modify Liveblocks storage with JSON Patch and Anthropic Claude
Complexity advanced
Nodes 17
Categories Engineering, AI RAG
Author Liveblocks
Published 24 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14301/14301.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Modify Liveblocks storage with JSON Patch and Anthropic Claude do?

Modify Liveblocks Storage with JSON Patch This example uses Liveblocks Storage, a sync engine created by...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.