Modify Liveblocks storage with JSON Patch and Anthropic Claude
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Anthropic Chat Model and CUSTOM (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Create a room (Liveblocks): create room
- Patch room storage (Liveblocks): patch storage document
- Get room storage (Liveblocks): get storage document
- AI Agent: runs an AI agent, with model: Anthropic Chat Model; output parser: Structured Output Parser
- Set presence in a room (Liveblocks): set presence
- Patch room storage (Liveblocks): patch storage document
- Get room storage (Liveblocks): get storage document
- Set presence in a room (Liveblocks): set presence
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that CUSTOM is verified or supports 3.0 (used in Create a room, Patch room storage, Get room storage).
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Liveblocks
CUSTOM.liveblocks - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
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…