Gift API Gift Amount (VALUE)

@Heather McLean @Erik Leaver

I forgot to go back to this so here's a post so you/others can refer back to.

When you get a gift (using Power Automate Blackbaud Gifts Connector), you will get 2 confusing dynamic content: Amount value and Amount

2b61cd8c0379a4a63005c0d98a13599b-huge-im

and the description doesn't really help neither: The monetary value and The monetary amount of the gift.

The one that you need to use is Amount value, NOT Amount.

470763673e3c303a008a595d6d22729c-huge-im

Reason is, Amount is actually an “object” with a value property that is truly what's holding the number that is the gift amount of the gift.

When you look at the raw output of get a gift

a0b4cd395178c10f1f01db15fe985d3e-huge-im

You will see that amount is actually {"value":5000}, so trying to do anything with this thinking it is just the number (5000) would cause an error.

6c063bf09b7c25344e05081e9f807f0f-huge-im

Comments

  • Heather McLean
    Heather McLean Blackbaud Employee
    Eighth Anniversary Kudos 5 Name Dropper Participant

    @Alex Wong - thank you for following up on this important differentiation that can cause newcomers grief.

  • @Alex Wong

    Just for some backstory - the shape returned by the API is indeed an object as you've noted. The object has a .value property that contains the actual decimal value, and the thinking was that we'd eventually emit additional metadata characteristics about the amount such as currency details and exchange rate (for gifts made in foreign currencies), etc.

    So the shape of the API response is the reason for the (understandably) confusing appearance within Power Automate (another good example of how naming things is hard). I think the hint text (descriptions) could probably be improved to better communicate the currency “object” vs the actual currency amount.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Ben Lambert
    Thank you for the back story, makes sense.

    Yes, the description used in the connector will help user be less confused. hopefully someone has a good idea that can be passed to the engineer.

    @Ben Wong

  • Ben Wong
    Ben Wong Blackbaud Employee
    Tenth Anniversary Kudos 3 Name Dropper Participant

    Thank you for sharing this feedback, @Alex Wong. I've added this to the backlog for consideration as we make future updates to the Gift connector.

Categories