Templates / Confirm COD orders and recover carts with Telegram, Google Sheets, OpenAI and Slack

Confirm COD orders and recover carts with Telegram, Google Sheets, OpenAI and Slack

Ready for 3.0

by Rahul Joshi ✓ · 32 views · created 2026-07-23 · Lead Nurturing, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 33 nodes and runs when an HTTP GET request hits its webhook URL (plus 4 other triggers). Along the way it connects Telegram, Google Sheets, OpenAI and Slack.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 4 other triggers).

  1. Normalize Order Data (Edit Fields (Set)): sets or maps fields
  2. Slack: uses Slack
  3. Route Confirm vs Cancel (Switch): routes items into branches
  4. Get Pending Orders (Google Sheets): uses Google Sheets
  5. Normalize Cart Data (Edit Fields (Set)): sets or maps fields
  6. Log Order to Sheet (Google Sheets): uses Google Sheets
  7. Update Sheet — Confirmed (Google Sheets): uses Google Sheets
  8. Update Sheet — Cancelled (Google Sheets): uses Google Sheets
  9. Calculate Elapsed & Nudge Stage (Code): runs custom JavaScript code
  10. Log Abandoned Cart (Google Sheets): uses Google Sheets

…plus 17 more steps. See the full node list below.

Services it uses

TelegramGoogle SheetsOpenAISlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (15)

From the author

Quick overview This workflow handles COD order confirmation and abandoned-cart recovery by combining webhooks, Google Sheets logging, OpenAI message generation, and Telegram messaging with inline buttons, plus Slack alerts for execution errors. How it works…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.