Is lesson ke end tak aapka CRM leads ko aisi CSV mein export karega jo Excel mein saaf khule, client ki purani sheet bina duplicates ke import karega, client ke apne accounts mein live chalega, aur aap use guide, checklist aur sahi price ke saath hand over karoge.
Aapko chahiye: lesson 4 wala logins aur RLS wala CRM, test ke liye Excel ya Google Sheets, client ki purani lead sheet ki copy · Time: 9 minute
CSV file ek plain-text table hai: har row ek line, cells ke beech commas. Har spreadsheet ise khol leti hai, isliye Kavita ji ke liye yahi sahi export hai. Par laaparwahi se bani CSV Excel mein teen tarah bigadti hai:
Wahi leads, wahi Excel. Farak sirf file likhne ke tarike ka hai. - Phone numbers: Excel
919876543210ko number samajhta hai,9.19877E+11dikhata hai, aur shuru ke zero hata deta hai. - ₹ aur Hindi naam: file ki shuruaat mein ek chhota marker hota hai jise BOM (byte order mark) kehte hain. Uske bina Excel aksar UTF-8 text galat padhta hai aur
₹ki jagah₹dikhata hai. - Note ke andar commas aur quotes use kai columns mein tod dete hain, jab tak cell double quotes mein wrap na ho.
Prompt · ise apne AI agent mein paste karoRead PRD.md first. Goal: Add an "Export to Excel (CSV)" button on the Leads screen. Details: - Export only the leads currently shown (search and filters applied), which RLS already limits to the logged-in user's own rows. - Columns: Name, Phone, Source, Interest, Budget (₹), Status, Next follow-up, Created, Last note. - Phone: write it as the 10 digits with a space after the fifth digit, like 98765 43210, so Excel keeps it as text. - Dates: YYYY-MM-DD. Budget: a plain whole number without commas. - Write UTF-8 with a BOM at the start, and Windows line endings (CRLF). - Quote every field in double quotes and double any double quote inside it (RFC 4180). - If a text cell starts with =, +, - or @, put a single quote in front of it so Excel never runs it as a formula. - File name: mini-crm-leads-YYYY-MM-DD.csv. Rules: Build the CSV in one small function with tests for: a note containing a comma, a note containing "quotes", a name in Hindi, and a note starting with =. Done when: I double-click the file on Windows, Excel opens it, the header shows Budget (₹), phones look like 98765 43210, and a note with a comma stays in one cell.
TipAgar purane Excel mein ab bhi toote characters dikhein, toh blank workbook kholo, Data, phir From Text/CSV use karo, aur file origin mein 65001: Unicode (UTF-8) chuno.
Kyun?Client poore CRM ko pehle export se judge karega. Jo file phone number ki jagah
9.19877E+11dikhaye woh tooti hui lagti hai, chahe har screen chal rahi ho. Formula wala rule "CSV injection" bhi rokta hai, jismein=HYPERLINK(...)jaisa cell file kholte hi chal jaata hai.- Phone numbers: Excel
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:
- Client ki purani sheet import karo
- Client ke apne accounts mein live karo
- Guide aur checklist ke saath hand over karo
- Gig ka price tay karo
- Recap