Templates / File parcel loss and damage claims with Shopify, Shiprocket, GPT-4o-mini, and Slack

File parcel loss and damage claims with Shopify, Shiprocket, GPT-4o-mini, and Slack

Needs changes

by Rahul Joshi ✓ · 17 views · created 2026-11-03 · Document Extraction, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 90 nodes and runs on a schedule (every 6 hours) (plus 5 other triggers). Along the way it connects Gmail, Google Sheets, OpenAI and Slack and 1 more. It also calls apiv2.shiprocket.in, googleapis.com and gotenberg:3000 over HTTP.

How it runs

Trigger: On a schedule (every 6 hours) (plus 5 other triggers).

  1. Set Claim Config (Code): runs custom JavaScript code
  2. Extract Claim ID (Edit Fields (Set)): sets 3 fields: claim_id, reply_text, received_at
  3. Normalize Question (Edit Fields (Set)): sets 3 fields: question, channel, thread_ts
  4. Format Error (Edit Fields (Set)): sets 4 fields: workflow, failed_node, message…
  5. Route Run (Switch): routes items into 3 branches
  6. Filter: keeps only the items that match a condition
  7. Claims Q&A Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (claim_by_order, claims_by_status); memory: Chat Memory
  8. Post Error to Slack (Slack): uses Slack
  9. Read Claims (Google Sheets): uses Google Sheets
  10. Read Claims (Report) (Google Sheets): uses Google Sheets

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

Services it uses

GmailGoogle SheetsOpenAISlackOpenAI Chat Model

HTTP calls to: apiv2.shiprocket.in, googleapis.com, gotenberg:3000

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Claims Q&A Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
  • Also check Slack Trigger requires a signing secret on the Slack API credential.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Claims Q&A Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (24)

From the author

Quick overview This workflow monitors Shopify shipments using Shiprocket or AfterShip tracking, drafts and files lost/damaged parcel claims with carrier APIs or Gmail, records everything in Google Sheets, coordinates approvals and updates in Slack, and uses…

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.