Hey Zapier Community! I was hoping someone can help with my Zap, I’m looking to conslidate similar line items. Happy to donate a coffee for anyone who can help :)
Current Zap:
- Step 1: Lookup Spreadsheet Rows (output as Line Items) in Google Sheets - it’s pulling a list of drinks (we’re a small events business)
- Output is:
YB Prosecco x 1 Water x 1,Prosecco x 1 Water x 1,Coke No Sugar x 1 Water x 1,Coke No Sugar x 1 Water x 1,YB Prosecco x 1 Water x 1
- Output is:
- Step 2: Formattter - Utilties - Line-item to Text, seperator is “,”
- Output is:
YB Prosecco x 1
Water x 1,Prosecco x 1
Water x 1,Coke No Sugar x 1
Water x 1,Coke No Sugar x 1
Water x 1,YB Prosecco x 1
Water x 1
- Output is:
- Step 3: Formatter - Text - Repalce “,” with l:newline:]
- Output is:
YB Prosecco x 1
Water x 1
Prosecco x 1
Water x 1
Coke No Sugar x 1
Water x 1
Coke No Sugar x 1
Water x 1
YB Prosecco x 1
Water x
- Output is:
- Step 4: Email: send output from step 3 to our internal staff.
I would love to consolidate the list from step 3 and create a total for each type of drink.
- Prefered Output:
YB Prosecco x 2
Water x 4
Prosecco x 1
Coke No Sugar x 2
Is this possible? I’ve spoken to Zapier Support who suggest this could be achieved with custom code - perhaps setups 2 and 3 could be cut out to save on the number of zaps. Happy to donate a coffee for anyone who can help :)