CRM and lead operations

Notion to-do items to Linear issues with OpenAI title formatting

Short answer

This AI-assisted n8n workflow queries Linear team details over GraphQL and filters unimported, unchecked to-do blocks from a Notion page. OpenAI shortens long task titles while code nodes format block content into Markdown. It creates the Linear issue and writes the issue link back to Notion.

Catalogue ID
#0438
Functional nodes
19
Connections
19
Trigger
formTrigger
AI layer
AI-assisted
Business problem solved

Business problem solved

Client commitments captured as Notion checkboxes rarely reach engineering trackers in Linear on time. Manual copying loses child context and leaves teams unsure which action items were already logged.

Trigger

The form trigger launches the transfer whenever a team lead submits the Notion page and Linear team name.

Connected systems

Connected systems

  • Web form trigger
  • Notion
  • Linear
  • GraphQL API
  • OpenAI
  • Self-hosted n8n

Every workflow is deployed on your own server with documentation, a run log and an error queue.

Workflow architecture

Workflow architecture

  1. 1. Loop Over Items (Logic and routing) (connects to Set assignee and title)
  2. 2. Fetch Linear team details (Service and data) (connects to Team missing?)
  3. 3. Get issue contents (Service and data) (connects to Set page URL)
  4. 4. Aggregate (Logic and routing) (connects to Prepare issue data)
  5. 5. Prepare issue data (Service and data) (connects to Create linear issue)
  6. 6. Create linear issue (Service and data) (connects to Get issue URL)
  7. 7. Set assignee and title (Logic and routing) (connects to Shorten title)
  8. 8. Team missing? (Logic and routing) (connects to Respond with error1, Set team ID)
  9. 9. Set page URL (Service and data) (connects to Convert contents to Markdown)
  10. 10. Set team ID (Service and data) (connects to Get issues)
  11. 11. Add link to Notion block (Service and data) (connects to Loop Over Items)
  12. 12. Get issue URL (Service and data) (connects to Add link to Notion block)
  13. 13. Shorten title (AI layer) (connects to Get issue contents)
  14. 14. Unimported, unchecked… (Logic and routing) (connects to Loop Over Items)
  15. 15. n8n Form Trigger (Trigger) (connects to Fetch Linear team details)
  16. 16. Get issues (Service and data) (connects to Unimported, unchecked…, Respond with error)
  17. 17. Convert contents to Markdown (Logic and routing) (connects to Aggregate)
  18. 18. Respond with error (Service and data)
  19. 19. Respond with error1 (Service and data)
  • Trigger
  • AI layer
  • Logic and routing
  • Service and data

Node positions and directed links are generated from the verified catalogue record.

Workflow steps

Workflow steps

  1. 01

    Linear team lookup and Notion filter

    GraphQL fetches Linear team IDs while Notion reads unchecked to-do blocks that lack an existing issue link.

  2. 02

    Assignee parsing and OpenAI title shortening

    A code node sets assignee details and OpenAI condenses lengthy block titles to fit Linear conventions.

  3. 03

    Markdown formatting and Linear creation

    Child Notion blocks are converted into Markdown descriptions and submitted to create the Linear issue.

  4. 04

    Notion block link update

    GraphQL retrieves the new Linear issue URL and an HTTP request writes it back into the Notion block.

Error queue and human approval

Error queue and human approval

Built-in state in the catalogue workflow

The verified catalogue workflow contains 3 built-in error flags. Two GraphQL lookups enable continue-on-fail, and the Notion reader routes errors to webhook error responses.

Production layer added by ALTAI

During live deployment, ALTAI adds token refresh guards, duplicate issue locks before Linear creation and a central run audit log.

Frequently asked

Notion to Linear AI issue conversion workflow Frequently asked questions

No. The filter excludes blocks that are already checked or already carry a Linear backlink written by the previous run.

Missing Linear team lookups and Notion read errors branch cleanly to explicit webhook error responses instead of failing silently.

No. Full original text and nested Notion block details are preserved inside the Linear Markdown description.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

We write the proposal after we have found the problem together

In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.

30 minutes · no preparation needed

The call and the week of discovery are both free.Read the terms

Chat on WhatsApp