Duaer

Office tasks

Email a daily sales report every morning with Duaer

In Duaer, read yesterday's orders from Google Sheets at 9am, total amount and count per salesperson, and send one report email.

Build the daily report in Duaer

  1. Add Schedule Trigger: Trigger Interval Days, Trigger at Hour 9am.
  2. Add Google Sheets with Get Row(s) on your orders sheet. It needs Date, Rep, Amount, and Order columns, with dates like 2026-10-01.
  3. Add Filter: {{ $json.Date }} is equal to {{ $now.minus({ days: 1 }).toFormat("yyyy-MM-dd") }} to keep yesterday only.
  4. Add Summarize: under Fields to Summarize, Amount with Sum and Order with Count; Fields to Split By Rep. You get one item per rep with sum_Amount and count_Order.
  5. Add Aggregate with All Item Data (Into a Single List) to put every rep into one item under data.
  6. Add Send Email: To Email your list, Subject Sales report {{ $now.minus({ days: 1 }).toFormat("yyyy-MM-dd") }}, Text {{ $json.data.map(r => r.Rep + ": " + r.sum_Amount + ", " + r.count_Order + " orders").join("\n") }}.
  7. Publish the digital organization.

Common issues

Questions

Can Duaer post the report to a WeCom group?

Yes. Replace Send Email at the end of the Duaer flow with the WeCom node message-push resource and the same expression.

What are the Duaer Summarize output fields called?

Duaer Summarize names them aggregation_field, such as sum_Amount and count_Order.

In this section