← All N8N workflows
Messaging & emailCodeFilterLinear TriggerManual TriggerEdit Fields

receive linear events and filter and slack

Configured with Filter, Linear Trigger, Slack. Review the connections and setup before adapting this template.

Workflow preview
TriggerLinear TriggerLinear TriggerTriggerWhen clicking "ExecuteWorkflow"Manual TriggerCodeCodeCodeRoutingFilterFilterTransformSetEdit FieldsMessagingSlackSlack

Node categories in this workflow

  • Trigger
  • Code
  • Routing
  • Transform
  • Messaging

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Linear TriggerTriggerLinear TriggerSee node parameters
When clicking "Execute Workflow"TriggerManual TriggerSee node parameters
CodeCodeCodeSee node parameters
FilterRoutingFilterSee node parameters
SetTransformEdit FieldsSee node parameters
SlackMessagingSlackSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • linearApi
  • slackApi

Workflow notes

👋 How to use this template

👋 How to use this template

This template shows how you can take any event from any service, transform its data and send an alert to your desired app. Here's how to use it:

  1. Double click the Slack node and connect to your Slack account by creating a Credential.
  2. Change the channel name in the Slack node to a channel or user you have in Slack.
  3. Click the Execute Workflow button, then double click the nodes to see their input and output data

To customize this template to you needs:

  1. Enable or swap the Linear trigger with any service that fits your use case.
  2. Change the data transformation to fit your needs
  3. Adjust the Slack node or swap it with any node that fits your use case
  4. Disable or remove the When clicking "Execute Workflow" and Code node
1. Trigger step listens for new events

1. Trigger step listens for new events

We added a Linear trigger that starts the workflow every time we have an Issue event int the Product & Design team.

You can replace this node with any trigger you wish, like Jira, Clickup, HubSpot, Google Sheets etc.

3. Notify the right channel

3. Notify the right channel

Last but not least we're sending a message to the #important-bugs channel in Slack.

You can replace this node with any service like Teams, Telegram, Email etc.

2. Filter and transform your data

2. Filter and transform your data

We only want to notify the team, if the event is fired on creating an urgent bug.

To edit the nodes, simply drag and drop input data into the fields or change the values directly. Besides filters, n8n does have other powerful transformation nodes like Set, ItemList, Code and many more.

When clicking "Execute Workflow"

For testing the workflow

Code

Mock Data

Filter

Keep urgent bugs only

Set

Transform title

receive linear events and filter and slack

receive linear events and filter and slack

Purpose and structure

This folder contains the receive linear events and filter and slack workflow. Its executable nodes use code, filter, linearTrigger, manualTrigger, set, slack. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Linear Trigger, When clicking "Execute Workflow"

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/0309_Code_Filter_Automate_Triggered.json MIT; preserve source notices.

More in Messaging & email