Start an AI coding agent from Linear issues with CloudCLI
UnknownWhat this workflow does
This workflow has 7 nodes and runs on Linear events. Along the way it connects Linear and Cloud Cli (community).
How it runs
Trigger: On Linear events.
- Is New Issue? (If): checks a condition and branches into true / false
- Compose Agent Prompt (Edit Fields (Set)): sets 3 fields: agentPrompt, issueId, issueIdentifier
- Get Environment Details (Cloud Cli): get
- Run AI Coding Agent (Cloud Cli): work with agent
- Extract Agent Result (Edit Fields (Set)): sets 7 fields: agentResult, sessionId, accessUrl…
- Post Results to Linear (Linear): work with comment
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 @cloudcli-ai/n8n-nodes-cloud-cli is verified or supports 3.0 (used in Get Environment Details, Run AI Coding Agent).
Nodes used (5)
- Linear Trigger
n8n-nodes-base.linearTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Cloud Cli
@cloudcli-ai/n8n-nodes-cloud-cli.cloudCli - Linear
n8n-nodes-base.linear
From the author
Turn new Linear issues into automated AI coding sessions. When an issue is created, this workflow runs an AI coding agent (Claude Code, Cursor CLI, Gemini or Codex) on the task inside a CloudCLI cloud dev environment and posts the results back to Linear with…