Package Information
Available Nodes
Documentation generatingโฆ
Documentation
๐ Flipkart Seller for n8n
Run your Flipkart shop on autopilot. Connect your seller account to WhatsApp, Slack, Google Sheets, Shopify, your ERP or your accountant โ and let the boring parts happen by themselves.
No code. No API knowledge. Just pick what you want to do and fill in two or three fields.
58 operations ยท 10 sections ยท 3 nodes ยท 0 dependencies
๐ Key Features
๐ช Simple Mode on Every Screen
Every operation opens with two or three plain-English fields and sensible defaults. Want today's unpacked orders? Set Show to Waiting to be packed and Time Range to Today. That's the whole setup โ the node works out Flipkart's filter types, state codes, date formats and paging for you.
Need the full control panel? Flip the Advanced switch. Nothing you already filled in is lost.
๐ท๏ธ One-Click Pack & Ship
Select Pack & Ship (All Steps) and a single node does the entire pre-dispatch run:
- Generates the shipping label and GST invoice
- Waits while Flipkart builds them (usually 5โ10 seconds)
- Downloads the PDF, ready to save or print
- Marks the order ready for courier pickup
Auto invoice numbering: leave it on Auto-Generate and you get INV-2627-00001, INV-2627-00002โฆ counting up correctly across the Indian financial year.
๐ฆ Bulk Updates Straight from a Spreadsheet
Point Update Stock or Change Price at your Google Sheet columns and hit go.
- Auto-batching: Flipkart only accepts 10 products per request โ the node splits your rows automatically.
- Per-row results: every SKU comes back with its own success or failure, so one bad row doesn't hide the other forty.
- Plain-English summary: "42 updated, 3 failed: TSHIRT-118: listing does not exist"
- ๐งช Dry Run: see exactly what would be sent, without sending a thing.
๐ Real-Time Order Alerts โ Two Ways
- Push (
Flipkart Seller Trigger): Flipkart tells you the instant an order lands. Needs a one-off support ticket to register your address. - Polling (
Flipkart Seller Poll Trigger): works everywhere, zero setup. Checks on your schedule for new orders, state changes, new returns, updated returns or finished reports.
Not sure which? Start with polling. It needs nothing from Flipkart's support team and it doubles as a safety net if a pushed message ever goes missing.
๐ Real PDFs, Not Just Data
Everything printable comes out as a proper file you can save to Drive, email, or send to a printer:
- ๐ท๏ธ Shipping labels โ with invoice, label-only, or raw thermal-printer format
- ๐งพ GST invoices โ as a PDF, or as line-item data
- ๐ Courier manifests โ the handover sheet for pickup
- ๐ All 15 Flipkart reports โ settlements, GST returns, orders, returns, inventory, profit & loss
๐ Reports Without the Waiting Around
Pick Download Report, choose Last month, done. The node requests it, waits while Flipkart builds it (these can take minutes), then hands you the finished file.
Window checks run first: ask for 5 months of profit & loss and you get "the Profit and Loss report allows at most 31 days per request" โ before the call is made, not as a cryptic error afterwards.
๐ก๏ธ Smart Error Protection
- Pre-send checks: missing warehouse ID, backwards date ranges, empty orders and over-long report windows are caught before the request goes out.
- Never repeats a dangerous action: if the connection drops mid-dispatch or mid-cancel, the node stops and tells you rather than risking doing it twice.
- Keeps what worked: turn on Continue On Fail and one bad row won't throw away the fifty that succeeded.
- Errors that tell you what to do next: "Reconnect your Flipkart credential", not
HTTP 401.
๐งช Practise Safely First
Switch a credential to Sandbox and the whole node points at Flipkart's practice system. The Sandbox Testing section lets you invent test orders and push them through every stage โ shipped, delivered, returned โ without touching a real customer.
Move to live by swapping the credential. Nothing else changes.
๐ค Ready for AI Agents
The node is usableAsTool, so an n8n AI Agent can act on "show me orders that must ship today" or "set stock of TSHIRT-118 to zero".
๐ How to Install in n8n
The easy way โ Settings โ Community Nodes โ Install โ paste:
n8n-nodes-flipkart-seller
Or from the command line:
npm install n8n-nodes-flipkart-seller
Requires n8n v1+ on Node 20.15 or newer.
๐ Connect Your Flipkart Account
1. Get your keys from Flipkart
Seller Hub โ Help โ API โ register an application. Flipkart gives you an Application ID and an Application Secret. Treat the Secret like a password.
2. Add them to n8n
Credentials โ Add credential โ Flipkart Seller API. Paste both in, leave Environment on Production, save. n8n tests the connection immediately โ a green tick means you're done.
3. Save yourself typing (optional but worth it)
Paste your warehouse code into Default Location ID and you'll never have to enter it again on any screen. Find it at Seller Hub โ Manage Profile โ Business Details.
Which credential do I pick?
Flipkart Seller API is for sellers running their own shop โ that's almost certainly you. Flipkart Seller OAuth2 API is only for agencies managing shops on behalf of other sellers, and needs a partnership approval from Flipkart first.
โก Your First Workflow
- Add a Flipkart Seller node
- Resource โ Order, Operation โ Find Orders
- Show โ Waiting to be packed, Time Range โ Today
- Click Test step
Today's unpacked orders appear on the right. Hook a Slack, WhatsApp or Gmail node after it and you'll be told about them automatically.
๐ฌ Turn on Add Summary Line under Options and each order arrives as one readable sentence:
Order OD4321 ยท 2 items ยท INR 1,299 ยท dispatch by Fri 12 Sep 6 PM
๐ What You Can Do
๐ Orders
| I want toโฆ | Use |
|---|---|
| See what needs packing | Find Orders |
| Print label + invoice | Print Labels & Pack |
| Do everything in one go | Pack & Ship (All Steps) |
| Tell Flipkart it's ready | Mark Ready for Pickup |
| Re-download a label | Download Labels |
| Look up one order | Get Order |
| Cancel an order | Cancel Order |
| See what the courier collects | Get Pickup Summary |
| Print the handover sheet | Download Manifest |
๐ท๏ธ Stock & Prices
| I want toโฆ | Use |
|---|---|
| Change quantity | Update Stock |
| Change a price | Change Price |
| Search my listings | Find Listings |
| Add a new listing | Create Listing |
| Take a listing down | Activate/Deactivate or Archive |
๐ฎ Returns
Find Returns ยท Approve ยท Reject ยท Mark Picked Up ยท Record Failed Pickup ยท Mark Received ยท Cancel
Plus Return Handover for when a Flipkart field agent scans returns at your warehouse.
๐งฐ Everything Else
Self-Ship Order (orders you post yourself) ยท Service Visit (installations and engineer visits) ยท Report (all 15) ยท Notifications (Flipkart's alerts on/off) ยท Account (connection health) ยท Sandbox Testing
๐ Ready-Made Workflows
Five complete workflows ship inside the package, each with a sticky note listing the two things to change. Find them at node_modules/n8n-nodes-flipkart-seller/templates/ and import via Workflows โ Import from File.
| Workflow | What it does |
|---|---|
๐ new-order-alerts |
New order โ Slack message + Google Sheets row |
๐ฆ auto-fulfil |
Every 10 min โ pack waiting orders โ labels to Drive |
๐ inventory-sync-from-sheet |
Hourly โ read a sheet โ update Flipkart stock |
๐ฐ monthly-finance-reports |
1st of month โ settlement + GST reports filed away |
๐ฉบ token-health-alert |
Weekly โ warn before your connection expires |
๐ Flipkart Words, Explained
| Word you'll see | What it actually means |
|---|---|
| Shipment | One parcel from one order. Buy two things that ship separately and that's one order, two shipments. Most screens here just say Order. |
| Location ID | Your warehouse address as a code, like LOC1234567890. |
| SKU | Your product code, e.g. TSHIRT-BLUE-M. |
| FSN / Product ID | Flipkart's code for a product in their catalogue. |
| Packed | Label and invoice made. Not with the courier yet. |
| Ready for pickup | You've told Flipkart the courier can collect it. |
| Manifest | The printed list you hand the courier. |
| Sandbox | Practice mode with fake orders. |
๐ฉบ If Something Goes Wrong
| Message | What to do |
|---|---|
| Reconnect your Flipkart credential | Access expired. Open the credential in n8n and save it again. |
| โฆnot allowed to call that endpoint | Your Flipkart app lacks permission. Raise a Seller Hub ticket. |
| Flipkart could not find that ID | Check the code โ a stray space or copied newline is the usual cause. |
| โฆunderstood the request but refused it | Wrong stage. You can't mark something ready for pickup before it's packed. |
| This operation needs a Location ID | Set a Default Location ID on your credential. |
| โฆallows at most 31 days per request | Ask for a shorter date range. |
| Flipkart is rate limiting this application | Too fast. Run less often or in smaller batches. |
| โฆstill generating the label | Flipkart is busy. Retry shortly, or raise the timeout under Options. |
๐ก Tip: turn on Continue On Fail (node โ Settings) so one bad row can't stop the rest. Failed rows come back with an error field explaining why.
๐ Your Data & Security
- Your Flipkart Secret is write-once. It never appears in error messages, logs or workflow output.
- Customer addresses and phone numbers are hidden by default. Turn Simplify off only if you genuinely need the delivery address.
- Report files download without your Flipkart key attached โ those files live on separate storage, and the key doesn't belong there.
- Irreversible actions are never auto-repeated. A dropped connection mid-dispatch stops and reports, rather than risking a double send.
- Webhook messages are verified โ signature-checked, replay-protected, and re-confirmed against Flipkart directly rather than trusting what was pushed.
- One credential per seller if you manage several shops, then use n8n's sharing settings to control access.
- โ ๏ธ n8n stores everything a workflow produced in its execution history. If yours handle customer details, check n8n's execution-pruning settings.
- โ ๏ธ Attaching this to an AI Agent gives the AI every operation โ including cancelling orders and changing prices.
โ ๏ธ Known Limits
Being straight with you:
- Some write formats are built from Flipkart's written docs, which are dated in places โ specifically label generation, return decisions, and creating/updating listings. They follow what's documented, but weren't confirmed against a live account. If one is rejected, every such screen has a Body (JSON) box under Options to send the exact format Flipkart wants, without waiting for an update.
- The agency/partner login (OAuth2) is untested end to end โ it needs a Flipkart partnership approval. The normal seller login is unaffected.
- Not included: Flipkart's older order system (superseded), FTP bulk upload (not an API), and Flipkart Ads.
Something not covered? Both credentials also work in n8n's plain HTTP Request node โ choose Predefined Credential Type โ Flipkart. That reaches any part of Flipkart's system, using the same saved login.
๐งโ๐ป For Developers
npm install
npm run build # compile TypeScript + copy icons
npm test # jest โ 97 tests
npm run lint # n8n community-node rules
npm run dev # tsc --watch
Local install: npm run build && npm link, then npm link n8n-nodes-flipkart-seller inside ~/.n8n/custom, restart n8n.
Zero runtime dependencies. Signature checking uses Node's built-in crypto; all HTTP goes through n8n's authenticated request helper.
Layout: nodes/FlipkartSeller/actions/<resource>/ holds one module per resource (UI description + handlers); actions/router.ts maps resource + operation to a handler; transport/ owns auth, base URLs, retries and error shaping; helpers/ covers pagination, batching, IST dates, polling and output shaping.
Tests cover what's easy to get wrong: forged, stale and replayed webhook requests; report links pointing at internal addresses; path traversal through IDs; non-GET requests never re-sent after an ambiguous failure; repeating pagination cursors; per-SKU batching with duplicates; and error messages staying free of secrets.
๐ Licence
MIT