GiftDate and PaymentMethod Expressions for Add-in Button

Options

I am finally getting around to creating an acknowledgement add-in button and I think have everything working except for the GiftDate and PaymentMethod under ‘Populate my Acknowledgement Template’. I tried copying the GiftDate and PaymentMethod expressions from my regular acknowledgment flow (see below,) but I think the “apply to each” is causing issue. I have tired removing it, adding other values, but whatever I am doing is not working. I am sure it is an easy fix, but does anyone have expressions for these fields for the add-in button?

formatDateTime(items('Apply_to_each')['date'], 'MMMM d, yyyy')

items('Apply_to_each')?['payments']?[0]?['payment_method']

Thanks!

Categories