I am not a programmer but I have an Idea of the process I wold like to implement.
First when I import deals I capture the contact email in a Deal Field with the at name.
The GET deals API would search for deals with no associations, and capture the contact email address.
Next the Get Contact API would be fed the contact email to Identify the contact and get the Contact vid
Finally the vid would be used to associate the customer to the deal.