I have automated a DEAL post service on our website, and I would like to REQUEST if there is ANY possibility to check some form submissions. The flow of the form is to create a contact entry for the query, and using the contact ID created, create a deal in the workflow.

<?php

CURL function ADD person;

CURL function ADD deal;

?>

I have created a form DEAL creator in my website according to the flow above explained, and my wish now is to check if there is a contact stored with the email used in the form, if not, create it. A rude example with PHP code would be like this:
 

<?php

if (email submitted is on CONTACTS**) {

use CONTACT;

} else {

CURL function ADD person;

}

CURL function ADD deal;

?>

 

Speaking to support, I have been informed this is currently NOT possible, so I leave here my sugestion for add person changes and updates.

** = a CURL execution request that could check if the email exists on the CONTACTS database.