A user is attempting to create a Shopify Flow that sends an internal email notification when a customer pays an overdue order with Payment Terms. They’re struggling with the correct implementation, specifically around checking if paymentSchedule.amount.amount <= 0 to determine payment status.
Key Issue:
The advanced query condition for checking payment schedule amounts isn’t working as expected.
Recommended Solution:
Switch from the current trigger to the “Order Paid” trigger instead. This trigger provides better access to payment data through totalReceivedSet > presentmentMoney > Amount rather than PaymentTerms > PaymentSchedules.
Current Status:
The user confirmed that amount is not currently available within PaymentTerms > PaymentSchedules. Shopify support recommends using the Order Paid trigger’s totalReceivedSet path to check if an already-paid order’s value equals or is less than zero, which better suits the workflow goal of detecting when overdue Payment Terms orders are paid.
Summarized with AI on November 8.
AI used: claude-sonnet-4-5-20250929.
Amount is currently not available with PaymentTerms > PaymentSchedules.
The amount criteria is with the “Order paid” trigger. It would start with totalReceivedSet > presentmentMoney > Amount.
Essentially, since your goal is to send an internal email if an order is already paid and the value is less than or equal to zero, our team recommends using Order paid > totalReceivedSet > presentmentMoney > Amount in place of Order paid > PaymentTerms > PaymentSchedules.