When I am in Leads and choose Convert Lead… I have a logic hook for Contacts and Accounts but it doesn’t seem to work when I use Lead ->Convert Lead -> Contacts / Account.
Is there another option for this?
When I am in Leads and choose Convert Lead… I have a logic hook for Contacts and Accounts but it doesn’t seem to work when I use Lead ->Convert Lead -> Contacts / Account.
Is there another option for this?
Hi,
You may create a “before save” logic hooks with this piece of code.
function outright_gcal_before_save( $bean , $events , $arguments ) {
if( $bean->fetched_row['status'] != 'converted' && $bean->status == 'converted'){
// put your code
}}
}