Hey my frontend is ready , this is what my UI looks like i have provided you the image , initially what we used to do is we used to fetch the latest email then pass the plain text and keywords to the LLM Model and then it used to return the JSON Output . Then to automate the workflow we used n8n workflow for automation . But now since we had the meet with the zoho team they have asked us to not use any third party application so we cant use n8n . So now we have builded the frontend UI as you can see there is option of download JSON , now we must also have the option as Download .csv file which is the alternative of n8n google sheets . So please guide me through this step by step and lets begin working . I hope you understand what i want
I completely understand! 🎯 You've built a beautiful frontend UI and now need to replace the n8n workflow (which was automating Google Sheets) with a Download CSV feature directly in your application.
Let me break down what we need to implement:
Let me implement this step by step:
request_details.client_name, parsed_output.field_name, etc.field[0], field[1], etc.Now you have a complete replacement for your n8n → Google Sheets workflow! 🎯
okay great but its not visible in proper format . request_details.mode request_details.client_name_requested request_details.filename_email_context request_details.parsing_mode request_details.source request_details.timestamp parsed_output.booking_id parsed_output.booking_status parsed_output.check_in_date parsed_output.check_out_date parsed_output.guest_name parsed_output.payment_status parsed_output.room_type parsed_output.number_of_guests parsed_output.guest_phone_number parsed_output.guest_email_address parsed_output.booking_email_address parsed_output.booking_phone_number parsed_output.daily_amounts[0].date parsed_output.daily_amounts[0].amount parsed_output.daily_amounts[1].date parsed_output.daily_amounts[1].amount parsed_output.commission_amount parsed_output.room_total parsed_output.total_taxes parsed_output.total_amount fetch_and_parse rupesh rupesh@dummy.com Keyword-Specific 2025-06-26T14:52:15.855846 1479564841 paid Sunday December 22, 2024 Monday December 23, 2024 Pankaj Elchatwar paid Deluxe 3 sales@nuagecx.in; no-reply@agoda.com; reservation@sayajihotelbaroda.com 9.12652E+11 December 22, 2024 INR 3,160.64 December 23, 2024 INR 1,119.87 INR 4,659.74 INR 379.23 INR 4,659.74
AS you can see , i want the keys and values to be match like a key value pair . For ex i will show you the n8n google sheets implementation . I have shared you both the current csv output and the n8n google sheets output
I see the issue! 🎯 You want a vertical key-value pair format like your n8n Google Sheets implementation, not the horizontal format I created.
Looking at your images:
Let me fix the CSV export to match your n8n format:
request_details. and parsed_output.daily_amounts becomes separate daily_date and daily_amount rowsLoading table...
Now your CSV export will look exactly like your n8n Google Sheets format! 🎯
To configure the generation, complete these steps:
nope not like that i want it in this way