Error when using custom code workflow action to merge contacts based on matching phone number

Hi @tcxen
I recently used this code and had to remove the body node from contactResult.body.properties and searchResults.body.results as mentioned in this issue. So they become contactResult.properties and searchResults.results.
Hope that helps.