Automatic AI reply when mentioned in a Liveblocks comment
UnknownWhat this workflow does
This AI workflow has 7 nodes and runs on Liveblocks events (comment created). Along the way it connects Anthropic Chat Model and CUSTOM (community).
How it runs
Trigger: On Liveblocks events (comment created).
- Get a comment (Liveblocks): get comment
- If: checks a condition and branches into true / false
- Get a thread (Liveblocks): get thread
- AI Agent: runs an AI agent, with model: Anthropic Chat Model
- Create a comment (Liveblocks): work with comment
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, 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 Liveblocks Trigger).
- Check that CUSTOM is verified or supports 3.0 (used in Get a comment, Get a thread, Create a comment).
Nodes used (5)
- Liveblocks Trigger
CUSTOM.liveblocksTrigger - Liveblocks
CUSTOM.liveblocks - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
From the author
Automatic AI reply when mentioned in a Liveblocks comment This example uses Liveblocks Comments, collaborative commenting components for React. When an AI assistant is mentioned in a thread (e.g. "@AI Assistant"), it will automatically leave a response. Using…