Back to Integrations
integrationGmail node
integrationLinear node

Gmail and Linear integration

Save yourself the work of writing custom integrations for Gmail and Linear and use n8n instead. Build adaptable and scalable Communication, HITL, and Productivity workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and Linear

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and Linear integration: Create a new workflow and add the first step

Step 2: Add and configure Gmail and Linear nodes

You can find Gmail and Linear in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Gmail and Linear nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Gmail and Linear integration: Add and configure Gmail and Linear nodes

Step 3: Connect Gmail and Linear

A connection establishes a link between Gmail and Linear (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Gmail and Linear integration: Connect Gmail and Linear

Step 4: Customize and extend your Gmail and Linear integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Gmail and Linear with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Gmail and Linear integration: Customize and extend your Gmail and Linear integration

Step 5: Test and activate your Gmail and Linear workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Gmail to Linear or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Gmail and Linear integration: Test and activate your Gmail and Linear workflow

Automatically create Linear issues from Gmail support request messages

This n8n template watches a Gmail inbox for support messages and creates an equivalent issue item in Linear.

How it works
A scheduled trigger fetches recent Gmail messages from the inbox which collects support requests.
These support requests are filtered to ensure they are only processed once and their HTML body is converted to markdown for easier parsing.
Each support request is then triaged via an AI Agent which adds appropriate labels, assesses priority and summarises a title and description of the original request.
Finally, the AI generated values are used to create an issue in Linear to be actioned.

How to use
Ensure the messages fetched are solely support requests otherwise you'll need to classify messages before processing them.
Specify the labels and priorities to use in the system prompt of the AI agent.

Requirements
Gmail for incoming support messages
OpenAI for LLM
Linear for issue management

Customising this workflow
Consider automating more steps after the issue is created such as attempting issue resolution or capacity planning.

Nodes used in this workflow

Popular Gmail and Linear workflows

Automatically Create Linear Issues from Gmail Support Request Messages

This n8n template watches a Gmail inbox for support messages and creates an equivalent issue item in Linear. How it works A scheduled trigger fetches recent Gmail messages from the inbox which collects support requests. These support requests are filtered to ensure they are only processed once and their HTML body is converted to markdown for easier parsing. Each support request is then triaged via an AI Agent which adds appropriate labels, assesses priority and summarises a title and description of the original request. Finally, the AI generated values are used to create an issue in Linear to be actioned. How to use Ensure the messages fetched are solely support requests otherwise you'll need to classify messages before processing them. Specify the labels and priorities to use in the system prompt of the AI agent. Requirements Gmail for incoming support messages OpenAI for LLM Linear for issue management Customising this workflow Consider automating more steps after the issue is created such as attempting issue resolution or capacity planning.
+2

Auto-Reply & Create Linear Tickets from Gmail with GPT-5, gotoHuman & Human Review

This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.

Build your own Gmail and Linear integration

Create custom Gmail and Linear workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

Add Label
Delete
Get
Get Many
Mark as Read
Mark as Unread
Remove Label
Reply
Send
Send and Wait for Response
Create
Delete
Get
Get Many
Create
Delete
Get
Get Many
Add Label
Delete
Get
Get Many
Remove Label
Reply
Trash
Untrash

Linear supported actions

Add Comment
Add a comment to an issue
Add Link
Add a link to an issue
Create
Create an issue
Delete
Delete an issue
Get
Get an issue
Get Many
Get many issues
Update
Update an issue

FAQs

  • Can Gmail connect with Linear?

  • Can I use Gmail’s API with n8n?

  • Can I use Linear’s API with n8n?

  • Is n8n secure for integrating Gmail and Linear?

  • How to get started with Gmail and Linear integration in n8n.io?

Need help setting up your Gmail and Linear integration?

Discover our latest community's recommendations and join the discussions about Gmail and Linear integration.
jake chard
Jan Koch
Paul Kennard

Looking to integrate Gmail and Linear in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Gmail with Linear

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon