Hi!
Is the contract number unique in your SP list? I mean, do you have no more than one element in your SP list with a specific Contract Number?
If so, you can replace 'Get item' and use 'Get items' instead. In order to read your target element, you can assign an ODATA in 'Filter query' input, or add a 'Filter array' action block after your 'Get items'

Please take a try and let us know your progress
Thanx!