Automation library · Customer support

Create Linear tickets from Notion content with OpenAI

Started by someone submitting a form, and works across Linear and Notion. It hands the judgement calls to OpenAI. 19 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

19 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 3Model 1Logic 9Service 6

The steps in the order they run, from what starts it.

  1. 1n8n Form TriggerForm triggerStarts it
  2. 2Fetch Linear team detailsGraphqlService
  3. 3Team missing?IfLogic
  4. 4Respond with error1Respond To WebhookStarts it
  5. 5Set team IDSetLogic
  6. 6Get issuesNotionService
  7. 7Unimported, unchecked to_do blocks onlyFilterLogic
  8. 8Respond with errorRespond To WebhookStarts it
  9. 9Loop Over ItemsSplit In BatchesLogic
  10. 10Set assignee and titleCodeLogic
  11. 11Shorten titleOpen AiModel
  12. 12Get issue contentsNotionService
  13. 13Set page URLSetLogic
  14. 14Convert contents to MarkdownCodeLogic
  15. 15AggregateAggregateLogic
  16. 16Prepare issue dataSetLogic
  17. 17Create linear issueLinearService
  18. 18Get issue URLGraphqlService
  19. 19Add link to Notion blockHttp RequestService

How it's built

Starts on
Someone submitting a form
Steps
19, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Linear, Notion
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Linear and Notion accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.