Official n8n nodes for Liveblocks
Introducing our new Liveblocks integration for n8n, powering AI workflows with visual nodes.

Ready to get started?
Join thousands of companies using Liveblocks to build multiplayer experiences for people and agents.
Introducing our new Liveblocks integration for n8n, powering AI workflows with visual nodes.

Join thousands of companies using Liveblocks to build multiplayer experiences for people and agents.
Today, we’re releasing a Liveblocks integration for n8n, an open-source workflow automation platform. This enables you to build complex AI workflows using a visual canvas, rather than writing code. n8n already supports hundreds of popular tools and APIs, and now you can integrate Liveblocks directly into those workflows. n8n perfectly complements our new agent workflow features, enabling realtime workflow status, document editing, and AI presence.
n8n is an open-source workflow automation tool that lets you connect different apps and services together. It’s a great way to automate your workflows and build powerful AI agents by linking nodes together on a visual canvas.
Nodes are available for hundreds of popular tools and APIs, such as GitHub, Google Drive, Slack, Anthropic, and now Liveblocks.

Adding a “Create a thread” node and setting it to post a “Hello world” comment
You can link together different parts of Liveblocks, such as rooms or comments, with other tools and automations.

Adding a “Get a thread” node and fetching the thread for that comment
Additionally, we’ve added a number of Liveblocks triggers, which you can use to start your workflows. These are all based on our webhooks, which means you can trigger workflows when users create comments, modify realtime storage, have unread notifications, and more.
Our n8n integration ships a Liveblocks node for each of our 85+ REST APIs—get started by searching for the verified “Liveblocks” option in the n8n sidebar, and clicking “Install node”. Here’s a few examples of how you can use them.
Rooms are the foundation of Liveblocks—they’re multiplayer spaces where people and agents can collaborate. In n8n, add a “Create a room” node to set one up and define default access.
In your React front end, you can join the room with
RoomProvider.
Your multiplayer room may use Liveblocks Storage for realtime data—for example shapes on a collaborative canvas. Use the “Patch room storage” node to update the document with JSON Patch.
Changes are displayed in realtime for all connected clients with
useStorage.
By using the “Get room storage” node you can fetch the current realtime document as JSON. Pass this data through your favorite n8n AI model, then “Patch room storage” with the generated JSON Patch to apply AI changes to your document.
By using the “Set room presence” node you can show, then hide, an AI participant in a document while it generates data. In this workflow, we’re showing presence as realtime storage is modified.
In your front end, the AI’s avatar will appear in
AvatarStack.
You can also build fully custom presence UI with
useOthers.
Feeds is our new
primitive for storing realtime chat messages, AI activity logs, and similar
streams. We can use this to display a workflow’s status—add the “Create feed
message” node to add a status such as “Thinking…” as your agent runs. After,
update the status to “Done”.
In your front end, you can show this message in your UI as soon as it’s created and updated.
Sending new feed messages updates this UI in realtime.
Comments allows you to add threaded commenting to your product. To create an AI workflows that automatically replies to comments, add the “Comment created” trigger to start your workflow after a comment is created. Next, use “Get a comment” to get the comment, generate a response, then insert it with “Create a comment”.
In the front end, comments are displayed with
useThreads and
Thread, and the AI response
will appear after it’s created.
We’ve only highlighted a few flows. Many more Liveblocks capabilities are exposed as n8n operations, so you can:
Additionally, each webhook event has a corresponding trigger node, allowing you to start your workflows when these events occur.
We’ve published three full templates, demonstrating how to use n8n nodes to interact with Liveblocks. Interact with them below.
This templates simulates an AI workflow in a drawing tool, containing shapes. Clicking the trigger creates a room with shapes. Then the AI modifies the shapes based on a prompt. The AI’s presence is shown during the process.
Get template
This templates sets up an AI that can automatic reply to comments in a thread. First, it checks if the AI was mentioned, before generating a response.
Get template
Similar to the previous template, this one responts to mentions in comment threads. It also analyzes different types of attachments in comments, and can answer questions about them.
Get template
To install the nodes, search for “Liveblocks” in the n8n sidebar, and install the verified node. Read our documentation if you’d like to learn more.
Learn more
2 authors