Create Linear tickets from Notion content
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when someone submits an n8n form (“Import Linear issues from Notion”). Along the way it connects GraphQL, Notion, Linear and OpenAI.
How it runs
Trigger: When someone submits an n8n form (“Import Linear issues from Notion”).
- Fetch Linear team details (GraphQL): uses GraphQL
- Team missing? (If): checks a condition and branches into true / false
- Respond with error (Respond to Webhook): sends the response back to the webhook caller
- Set team ID (Edit Fields (Set)): sets 1 field: team_id
- Get issues (Notion): get many (block)
- Unimported, unchecked to_do blocks only (Filter): keeps only the items that match a condition
- Respond with error (Respond to Webhook): sends the response back to the webhook caller
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Set assignee and title (Code): runs custom JavaScript code
- Shorten title (OpenAI): uses OpenAI
…plus 8 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - GraphQL
n8n-nodes-base.graphql - Notion
n8n-nodes-base.notion - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Linear
n8n-nodes-base.linear - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Filter
n8n-nodes-base.filter - n8n Form Trigger
n8n-nodes-base.formTrigger - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This workflow allows you to define multiple tickets/issues in a Notion page, then easily import them into Linear. Why is it useful? We use this workflow internally at n8n for collaboration between Product and Engineering teams: - Engineering needs all work to…