Is lesson ke end tak Shree Sarees ko har subah 9 baje low-stock summary milegi, aur workflow chhoti failures pe retry karega, AI step fail ho toh fallback lega, run toote toh aapko alert karega, aur gol-gol ghoomte agent ko rok dega.
Aapko chahiye: lesson 2 wali Shree Sarees sheet, aapka Gmail credential, aur lesson 1-2 wala chat agent · Time: 9 minute
Yeh shape aapne n8n 101 mein banayi thi: ek schedule, ek sheet, ek email. Aaj isme ek AI step aur chaar safety nets judenge.
Daily stock checknaam ka naya workflow banao:- Schedule Trigger: roz subah 9 baje. Workflow ki Settings mein time zone
Asia/Kolkatarakho. - Google Sheets:
Stocktab se Get Row(s), bina filter, taaki saari rows padhe. - Filter: sirf woh rows rakho jinki
Qty3se kam hai. - Aggregate: All Item Data chuno aur output field mein
datalikho, taaki saari rows ek item ban jaayein aur aapko das nahi, ek email mile. - Basic LLM Chain, aapke
AllModelAPIchat model aur is prompt ke saath:
Prompt · ise apne AI agent mein paste karoYou write a short morning stock note for the owner of Shree Sarees, a saree boutique in Surat. Here are the items with less than 3 pieces left, as JSON: {{ JSON.stringify($json.data) }} Write at most 6 lines in simple English: first the items at 0, then the rest, each as "Item (Colour): N left". End with one line suggesting which item to reorder first and why. Do not invent items that are not in the list.- Gmail: chain ka text owner ko bhejo, subject
Low stock today.
Agent kyun nahi, chain kyun? Yeh kaam har subah wahi paanch steps hai. AI ko kuch decide nahi karna, bas text likhna hai.
Upar roz ka workflow, neeche woh chaar safety nets jo yeh lesson jodta hai. Kyun?Jo workflow aapke sote waqt chalta hai, use koi dekh nahi raha. Chupchaap fail hua toh owner ko bas email nahi milegi aur kisi ko pata nahi chalega kyun. Safety nets chupchaap failures ko retries, fallbacks aur alerts mein badal dete hain.
- Schedule Trigger: roz subah 9 baje. Workflow ki Settings mein time zone
Baaki lesson padhne ke liye free login karo
Har lesson free hai. Free account se saare lessons khul jaate hain aur aapki progress save hoti hai.
Is lesson mein aage:
- Net 1: chhoti failures pe retry
- Net 2: step fail ho toh fallback
- Net 3: run toote toh alert
- Net 4: chat agent ke liye limits
- Recap