Send social post failure fixes to Telegram with PostWire, Gemini and Sheets
UnknownWhat this workflow does
This AI workflow has 20 nodes and runs on Post Wire events (post.failed, connection.reauth required). Along the way it connects Google Sheets, Google Gemini, Telegram and Gmail and 1 more.
How it runs
Trigger: On Post Wire events (post.failed, connection.reauth required).
- Alert settings (Edit Fields (Set)): sets 4 fields: telegram_chat_id, email, timezone…
- Explain the failure (Code): runs custom JavaScript code
- Read the alert log (Google Sheets): read
- Is it a repeat? (Code): runs custom JavaScript code
- New problem? (If): checks a condition and branches into true / false
- Check the connection (Post Wire): check health (connection)
- Log the repeat (Google Sheets): append
- Find the queued posts (Post Wire): get many (scheduled post)
- Build the alert (Code): runs custom JavaScript code
- Known error? (If): checks a condition and branches into true / false
…plus 9 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Telegram + Google Sheets templates (674)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-postwire is verified or supports 3.0 (used in When a post fails or a login expires).
- Check that n8n-nodes-postwire is verified or supports 3.0 (used in Check the connection, Find the queued posts, Create a reconnect link).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Post Wire Trigger
n8n-nodes-postwire.postWireTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Post Wire
n8n-nodes-postwire.postWire - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow listens for failed social posts and expired logins from PostWire, explains the cause and fix (using Google Gemini for unknown errors), deduplicates alerts via Google Sheets, and sends notifications to Telegram with a Gmail…