# Send Workflow Failure Alerts to LINE

Source: https://openflow.run/en/templates/send-workflow-failure-alerts-to-line/
Content language: en
Template revision: 9018120e802d4de0a097610157c565df858c0871

Operations

Send a LINE message when a configured workflow fails.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F9018120e802d4de0a097610157c565df858c0871%2Fworkflows%2Fsend-workflow-failure-alerts-to-line%2Ftemplates%2Fsend-workflow-failure-alerts-to-line.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/send-workflow-failure-alerts-to-line/templates/send-workflow-failure-alerts-to-line.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/send-workflow-failure-alerts-to-line/templates/send-workflow-failure-alerts-to-line.n8n.json)

![Send Workflow Failure Alerts to LINE workflow in Open Flow](https://openflow.run/_astro/preview-light.LdSiZGPY_Z1y4IGV.webp)

Send a LINE message when a configured workflow fails.

## Setup

Connect a LINE Messaging API channel with permission to send push messages and set the user, group or room ID in **Send the LINE alert**. The destination must be reachable by that LINE Official Account. In Open Flow, select the published source workflows in **Receive a workflow failure**, then publish and enable this workflow. In n8n configure a Header Auth credential with Authorization set to Bearer followed by the channel access token in **Send the LINE alert**, set the destination ID in **Prepare the failure alert**, enable this workflow, and select it as the error workflow in each source workflow’s settings. Enable one format and avoid assigning the error workflow to itself.

## Behavior

An automatic workflow failure sends one LINE message with its workflow name. Open Flow also reports indeterminate runs and includes the run ID; its error event does not supply an execution URL. n8n includes the execution URL when available. An alert over 5,000 characters stops before sending. Restrict access to the LINE conversation and execution history. A successful API response confirms acceptance, not delivery to a recipient who has blocked the account. A failed or uncertain push may already have been accepted; check LINE before retrying.

Inspiration & credits

## Changes to the source

*   Replace the private LINE destination and token with setup; Open Flow uses the formal LINE push Action. n8n constructs the JSON object before sending so names and URLs containing quotes remain valid.
*   Open Flow reports the run ID available in its error event instead of the n8n execution URL.

Adapted from [n8n Error Report to Line](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Error/1849_Error_Stickynote_Automation_Webhook.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The matching [n8n community listing](https://n8n.io/workflows/3141-send-n8n-error-reports-to-line/) credits lin. The original template does not state a separate license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Apps used

*   [**LINE**`line`](https://console.openflow.run/connections/line)

## What you’ll need

*   LINE Messaging API channel access token and destination ID
*   An enabled error workflow bound to the source workflows

*   line
*   monitoring
*   alerts

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/workflows/send-workflow-failure-alerts-to-line/README.md)
