Skip to main content
L

L Hùng

2
Workflows

Workflows by L Hùng

Workflow preview: Error handler send Telegram: real-time workflow failure alerts
Free beginner

Error handler send Telegram: real-time workflow failure alerts

This workflow acts as an error handler, sending real-time notifications to Telegram when another workflow fails. It provides detailed error information, including workflow name, timestamp, execution URL, last executed node, and error message. --- ### **Pre-Conditions** - A Telegram bot created via [BotFather](https://core.telegram.org/bots#botfather). - The bot token and Telegram group/channel `chatId`. - An active n8n instance with the **Telegram** and **Error Trigger** nodes installed. --- ### **Setup** 1. **Workflow Configuration:** - Import the workflow into n8n. - Update the Telegram `chatId` in the **Config** node. - Add your Telegram bot token in the **Telegram** node credentials. 2. **Error Workflow Setup:** - Set this workflow as the **Error Workflow** in other workflows. 3. **Testing:** - Trigger an error in another workflow to verify Telegram notifications. --- ### **Who the Workflow is For** - **Developers:** Monitoring workflow failures in real-time. - **Teams:** Managing multiple n8n workflows and needing instant error alerts. - **n8n Users:** Looking for a simple way to handle workflow errors via Telegram. --- ### **Primary Use** - Automates error notifications for failed workflows. - Sends detailed error reports to Telegram for quick troubleshooting. - Easily customizable to fit specific monitoring needs.

L
L Hùng
DevOps
28 Feb 2025
3255
0
Workflow preview: Facebook token retrieval & management
Free intermediate

Facebook token retrieval & management

## Pre-Conditions 1. A Facebook Developer account with an active app. 2. Basic understanding of n8n workflows. 3. Access to a database (optional, for storing tokens). ## Setup 1. **Webhook Activation**: - Configure the Webhook to receive user requests and process input data. - Ensure the Webhook URL is correctly set in your Facebook App settings. 2. **Short-Lived Token Retrieval**: - Use **Facebook OAuth** to fetch a short-lived token from the authorization code. 3. **Long-Lived Token Conversion**: - Convert the short-lived token into a long-lived token (valid for ~60 days). 4. **Page Token Retrieval**: - Follow the provided instructions to retrieve **Page Tokens** for posting on managed Facebook Pages. 5. **Customizable Scopes**: - Edit the `correctScopes` array to include or exclude permissions as needed. 6. **Optional Database Storage**: - Extend the workflow to save tokens to a database instead of displaying them on-screen. 7. **Step-by-Step Instructions**: - Detailed guidance is provided via sticky notes for activating the app, configuring Webhook, and editing parameters like `fb_redirect_uri`, `app_id`, and `app_secret`. ## Who the Template is For - **Developers**: Integrating Facebook APIs into their applications. - **Social Media Managers**: Automating posting and engagement on Facebook Pages. - **n8n Users**: Looking for a ready-to-use workflow for Facebook Token management. ## Primary Use - Automates Facebook Token retrieval and management. - Supports posting to Facebook Pages via **Page Tokens**. - Easily customizable and extendable for specific requirements.

L
L Hùng
Social Media
21 Feb 2025
1489
0