Rithvik’s phone buzzed four times while we were eating lunch. Each time he looked at it, sighed, and typed the same thing: “Bill number?” Then, “Which item?” Then, “Okay give.” The fourth time, he put the phone face down on the table and said, “This is my life. Fifteen times a day, my staff asks me if they can refund something. If I say no, the customer fights. If I say yes, I lose money. If I don’t answer, the customer waits and then fights.”
His showroom sells footwear and readymade garments. Returns are a normal part of the business. What was not normal was that every single one of them needed him, even when he was at a supplier’s godown, at his child’s school function, or eating a plate of biryani with me.
This article is about the refund approval automation my team built so that his counter staff could decide most returns themselves, following his rules exactly, and only the real exceptions reached his phone. I will explain it through the six kinds of cases that come to his counter, because that is how the rules were built: case by case, in his own words.
Lingamaneni Rithvik runs a footwear and garments showroom in Pendurthi, about 10 km from Visakhapatnam. He has six staff, two billing counters, and a back room full of boxes. His sister Pranavi runs the main counter and handles most customers who come back with something.
He found my work through a local traders’ Telegram channel. Someone in the channel had shared my article on Meesho return claims and wrong returns for small sellers, and Rithvik read it because he also sells a little online. At the bottom of his mind, a different question formed: “If online returns can have rules, why can’t my counter?”
He wrote to our email that night. His message was short and a little angry, in a good way: “I want my staff to stop calling me for every refund. Can your team do that without making my customers feel cheated?”
That last part, without making customers feel cheated, became the second rule of the whole build.
This is for retail shops and showrooms that take returns and exchanges at the counter: footwear, garments, electronics accessories, home goods, toys, cosmetics, stationery, sports goods. Typically a team of three to twenty, a billing system that prints a bill number, and an owner who is the only person allowed to say yes to money going back.
The pain has two sides. The owner is interrupted all day, often for small amounts. And the staff feel powerless, because they cannot answer a customer without first reaching the owner. The customer sees a shop that cannot decide, and that hurts trust more than a clear “no” would.
If your shop sells only perishables with no returns, this is not for you. If returns are part of your daily life and the owner’s phone is the only decision maker, refund approval automation fits well.
Before any tool, we sat with Rithvik for an evening and asked him one question again and again: “When do you say yes?”
His answers were already consistent. He just had never written them. Footwear, unused, within 7 days, full refund. Garments, unused with tags, within 10 days, full refund. After that, exchange only, up to 15 days. Anything worn, damaged by the customer, or bought on a sale day, owner decides. Any refund above a certain bill amount, owner decides. Any customer who has returned three or more times recently, owner decides.
We turned those answers into the Refund Rules sheet.
| Category | Days Full Refund | Days Exchange Only | Needs Owner Above Amount |
|---|---|---|---|
| Footwear | 7 | 15 | 3,000 |
| Garments | 10 | 15 | 2,500 |
| Accessories | 3 | 7 | 1,000 |
| Sale items | 0 | 7 | 0 |
These numbers illustrate how a rule sheet looks. Every shop sets its own.
Writing this one sheet, even before the refund approval automation existed, already reduced his calls, because Pranavi could read it. The automation simply made sure the sheet was followed the same way every time, by everyone, and that every decision was recorded.
Before you set your own numbers, it is worth reading the basics of consumer rights in India on the National Consumer Helpline site, so your shop’s rules stay fair and clear to customers.
Here is the build in the order it runs. My team used n8n as the main platform. The other platforms come later.
When a customer comes back, the staff member opens an n8n Form Trigger page on the counter tablet. The fields: Bill Number, Item, Reason (typed in the customer’s words), Condition (Unused, Opened, Damaged), and a photo of the product taken on the tablet camera. Under a minute.
Bill numbers get typed with spaces, missing prefixes and wrong case. The Code node cleans them so the lookup works.
The flow looks up the bill in the Sales sheet: date, item, amount, customer phone. Then it reads the rule for that item’s category. If the bill is not found, the case goes straight to the owner. The automation never approves a refund it cannot match to a sale.
// Code node: days since purchase and which window applies
const billDate = new Date($json.billDate);
const today = new Date();
const days = Math.floor((today - billDate) / 86400000);
const rule = $json.rule;
let window = 'Outside';
if (days <= Number(rule['Days Full Refund'])) window = 'Full';
else if (days <= Number(rule['Days Exchange Only'])) window = 'Exchange';
return [{ json: { ...$json, days, window } }];The flow counts how many refunds the same phone number received in the last 90 days from the Refund Log. This is not about suspecting customers. It is about giving the owner a fact he would otherwise not know when he decides.
This is the only AI step. The AI Agent node receives the staff member’s condition choice, the reason text and the photo, and returns one of two answers through a Structured Output Parser: Matches Condition or Does Not Match, with a one-line reason. For example, the staff marked “Unused” but the sole is clearly worn. That case goes to the owner.
It does not decide the refund. It only checks whether what was typed matches what is in the photo. If it is unsure, it says Does Not Match, which simply means the owner looks.
// The Switch logic, written out as plain conditions
// Approve: window is Full AND condition is Unused AND amount under limit
// AND past refunds under 3 AND photo matches
// Exchange Only: window is Exchange AND photo matches AND amount under limit
// Owner Review: everything else, including bill not foundFor the cases that need him, the Telegram node uses Send and Wait for Response. Rithvik sees the bill, the item, the days, the photo, the past refund count and the AI’s one-line note, with two buttons: Approve and Reject. He taps one. The flow continues.
A Google Drive node saves the photo in a Refund Proof folder. A Google Sheets node appends the Refund Log with bill, item, decision, who decided (Rule or Owner) and the photo link. The Form Ending page shows staff the result in one line: “Approved: full refund” or “Exchange only” or “Waiting for owner”.
A woman came back with sandals still in the box, bought four days earlier. Size too small. Pranavi filled the form, took a photo of the sandals in the box, and the result came back in a few seconds: Approved, full refund. No call. The customer left with her money in under five minutes.
This case was the most common one for the refund approval automation, and it was the one that used to interrupt Rithvik the most. For simple cases, the owner’s rule now answers instantly.
A young man returned a shirt on day eight. Within the garment window, but the tag was cut. Staff marked “Opened”. The rule sent it to Exchange Only, because the shop’s rule for opened garments is exchange, not refund. Pranavi explained it calmly, the customer picked another shirt, and both sides left content.
Clear rules make “no” easier to say. The staff are not inventing a reason. They are reading the shop’s policy.
Staff marked a pair of sports shoes as Unused. The AI check said Does Not Match: visible wear on the outer sole. The case went to Owner Review. Rithvik looked at the photo on Telegram, saw the wear, and tapped Reject. Pranavi offered a small discount on a new pair instead, which the customer took.
Nobody accused anybody. The staff member had simply been rushed. The check caught what a busy counter misses.
A regular customer, known to the staff, returned an item for the fourth time in two months. Everything else was within the rules. The past refund count sent it to Owner Review. Rithvik approved it, because he knows her and she buys a lot. But now he knew the pattern, and later he spoke to her politely about sizes before she bought.
The automation did not refuse a loyal customer. It gave the owner the information to choose.
Someone came in with a pair of shoes and a bill number that did not match any sale. The flow sent it to the owner instantly with “Bill not found”. Rithvik asked Pranavi to check the customer’s phone for the payment message. There was none. The customer left without a refund.
Without the lookup, a new staff member might have refunded it. If your shop also takes UPI payments at the counter, my article on spotting a fake UPI payment screenshot covers the other side of this problem.
A customer bought on a sale day and wanted a refund on day five. Sale items have zero full-refund days in Rithvik’s rules, so the result was Exchange Only. The customer was not happy. Pranavi showed the line printed on the sale bill. The customer exchanged.
This case taught us something. The rule only works if customers see it before they buy. Rithvik now prints his return policy on every bill and on a small board at the counter.
In the first week of refund approval automation, Rithvik got around four Owner Review messages a day instead of fifteen calls. By the end of the month it settled at two or three. Each one arrives with everything he needs in one message: photo, bill, days, past refunds, AI note. He taps Approve or Reject in seconds, even in the middle of something else.
He told me the bigger change was not the number of interruptions. It was the tone at his counter. “My staff stopped looking scared when a customer walks in with a bag. They know what to do.”
Pranavi’s version was simpler: “Earlier I was the one who argued. Now the bill argues.”
If you are an owner who is often away from the shop, this sits naturally beside the build my team did for a shop owner on leave. And if your counter has long queues, the retail queue management article shows how the same shop can cut waiting time at billing.
The refund approval automation was ready in a week, but it only worked once the staff trusted it. We spent one afternoon at the showroom with all six of them, after closing. No slides, no manual. We picked twelve old bills from the cupboard and played customer.
One staff member pretended to be an angry customer with sandals. Another filled the form. Everyone watched the result appear. When the result was Exchange Only, the person at the counter had to say it out loud to the “customer”, using the rule. The first few tries were stiff. By the eighth, they were laughing and doing it in the customer’s own tone, polite but firm.
The youngest staff member asked the question I wanted someone to ask: “What if the system is wrong?” Pranavi answered before I could. “Then the owner sees it. It never decides alone when it is unsure.” That is the sentence that made the staff comfortable with refund approval automation. They were not being replaced. They were being backed up.
If your team also struggles to explain products the way the owner does, the AI shop assistant in the owner’s own voice works on the same principle: the owner’s knowledge, available to staff without calling him.
After two months, the Refund Log had enough rows to show patterns. Rithvik and I sat with it one evening, sorted by item and reason.
One brand of school shoes came back far more often than others, nearly always with the same reason: sole separating within weeks. One size in a popular kurta style came back again and again as “too tight”. A particular colour of sandals came back as “looks different from the display”.
None of these were refund problems. They were buying problems and display problems. Rithvik dropped the school shoe brand at the next order, asked the kurta supplier about sizing, and changed the light above the sandal display. Returns on those items dropped the following month.
That is the quiet benefit of refund approval automation that no owner asks for at the start. Every decision is recorded, and records turn into lessons. The same idea of learning from your own data runs through my menu costing build for restaurants, where the kitchen learns which dishes lose money.
Most return disagreements end at the counter. Occasionally a customer complains online, posts a review, or approaches a consumer forum. When that happens, the shop with a written rule and a recorded decision is in a far better place than the shop that only has the owner’s memory.
Rithvik’s Refund Log shows the bill, the date, the condition chosen, the photo, the rule applied and who decided. His return policy is printed on every bill. If he ever needs to explain a decision, he can show exactly what happened and why, without arguing about who said what. Fair rules, shown before the sale and applied the same way after it, protect both the customer and the shop.
Write every rule in the sheet before you build the flow. If you cannot write it, the automation cannot follow it.
Print your return policy where the customer sees it before paying: on the bill, on a counter board, on your online listing.
Never let the flow approve when the bill is not found. Every unknown goes to the owner.
Keep the AI step in your refund approval automation as a check, never a judge. It compares the photo with the condition typed, nothing more.
Record every decision with who made it. The Refund Log becomes your answer when a customer complains later, or when a consumer forum asks what your policy was.
Look at the log once a month. Patterns in returns, a size that always comes back, a brand that fails early, are product lessons, not just refund lessons.
The refund approval automation went live in eight days. Two days went into writing the rule sheet with Rithvik and Pranavi, which was the real work. Two days went into connecting his billing export to the Sales sheet so that every bill number could be found, because his billing software only exported once a day at first and we had to change that to every hour. Three days went into building and testing the flow with old bills from the cupboard, including a few deliberately wrong entries to make sure the owner review path caught them. The last day was the staff afternoon.
If your billing software can export sales to a sheet regularly, most of that time disappears. If it cannot, the bill lookup is the first thing to solve, because a refund approval automation that cannot find the bill can only send everything to the owner, and then nothing changes for him. Start with the data, then the rules, then the flow. That order has never failed my team.
n8n is my team’s main build for Rithvik’s showroom, but the rules belong to the shop, not to the tool. Here is how the same flow moves to other platforms.
| Platform | Free plan | Cost to expect | Self-host | Best for |
|---|---|---|---|---|
| n8n | Free to self-host | Free if you host it, plus AI usage | Yes | Form with photo, rules, AI check and Telegram approval in one flow |
| Make | Free plan with limited operations | Paid by operations | No | Visual build with Google Forms or Jotform as input |
| Zapier | Free plan with few tasks | Paid by tasks | No | Simple rule check with approval by email |
| Pabbly Connect | Limited free plan | Paid, sometimes one-time deals | No | Owners who prefer one payment |
| Activepieces | Free to self-host | Free if you host it | Yes | Built-in form and approval step, close to n8n |
| Google Sheets and Apps Script | Free with a Google account | Free | Runs inside Google | Rule checks with no outside tool |
Pricing and limits change, so check before choosing.
On Make, a form tool such as Google Forms or Jotform with a file upload field starts it. “Search Rows” finds the bill and the rule, date functions count days, a Router splits Approve, Exchange and Owner Review, and the owner gets a Telegram message with two links that hit a second scenario to record his choice. An AI module for the photo check is optional.
On Zapier, a form trigger, two Sheets lookups, a “Code by Zapier” step for days and rules, Paths for the three outcomes, and an email or Telegram message for owner review. Waiting for the owner’s tap is easier on n8n and Activepieces than on Zapier.
On Pabbly Connect, the shape is similar: form trigger, Sheets lookup, a code or router step, and a message to the owner.
On Activepieces, there is a form trigger with file upload, Sheets pieces, a code piece, an AI piece and an approval step that waits for the owner, so it maps closely to n8n.
On Google Sheets with Apps Script, a Google Form with a file upload question feeds a response sheet. A script on form submit looks up the bill, applies the rule and writes the decision. Owner Review cases go to the owner by email with two links to a small web app that records Approve or Reject. There is no photo check without an AI service, so the condition is taken as typed.
My team can set up refund approval automation on whatever your shop already uses.
One more practical tip. Review the rule sheet every season, especially before festival sales and wedding months, when returns spike and sale-day rules matter most. A rule that made sense in a quiet month can feel unfair in a busy one, so adjust it before the rush, not during it.
Underneath the six cases of refund approval automation is one idea: the owner’s judgement, written as rules, applied the same way every time, with only the true exceptions sent back to the owner. I use this shape across many builds.
In the spare parts compatibility check, “no known fit” goes to the senior mechanic. In the measurement error check for tailors, a flagged number goes back before the cut. In the hair colour formula recall, a bad result goes to a senior stylist. The machine handles the routine. People handle the exceptions.
It also connects with what happens after a sale online. If you sell through courier, reducing RTO on COD orders and handling Shiprocket weight disputes are the online cousins of this counter build. And a shop that handles returns fairly earns reviews that stay, as I explain in the Google reviews article.
On my last visit, I stood near the counter for an hour while Pranavi handled three returns, one exchange and a customer who simply wanted to complain about parking. Rithvik was in the back room counting stock. His phone buzzed once. He looked, tapped, and kept counting.
“That’s it?” I asked.
“That’s it,” he said. “Earlier that one message would have been a ten-minute call.”
If you run a retail shop or showroom and want refund approval automation so your counter to decide returns by your rules, write to me at contact@upcomingtools.com. Tell me what you sell and how many returns you see in a week. My team and I will help you write your rule sheet first, because that alone settles half the problem, and then build the flow around it. If you are not ready for a build, I will still send you a blank rule sheet to start with. For the technical side, the n8n documentation explains Form Triggers and the Send and Wait step.
It is a setup where counter staff enter a return on a short form, and a flow checks the bill, the days since purchase, the item’s condition and the shop’s written rules. Simple cases are decided instantly, and only exceptions are sent to the owner for one-tap approval.
It does not refuse anyone on its own. It approves cases that clearly meet the owner’s rules, offers exchange where the rules say so, and sends every other case to the owner. The owner always makes the final call on exceptions.
It compares the condition typed by staff with the product photo and the customer’s reason, and says whether they match. It does not decide the refund. If it is unsure, the case goes to the owner.
The case goes straight to Owner Review with “Bill not found”. The flow never approves a refund it cannot match to a recorded sale.
Yes. Make, Zapier, Pabbly Connect, Activepieces or Google Sheets with Apps Script can run the same rules. Activepieces and n8n make it easiest to pause and wait for the owner’s tap; the others usually use email or link-based approval.