So we create leads in sugar through a Webform that triggers an email sent to the lead.
I'd like to generate a unique identifier (doesn't have to be a GUID since it's too long anyways) that can also be included in that email address and is saved within the lead in a field that is searchable.
How could I achieve that most simply? I know a little bit about the create_guid() function but have no idea how to proceed. I should repeat again that this is an On Demand solution.