Custom function

Custom function


Good afternoon I would like to perform a custom function to create tasks to leads as long as the value of a field called "Authorization number" is different. An example of this is: 1. I create a record in the leads module by importing a csv file and create a task that is associated with the value of the field "Authorization number", what I need is that if I re-import the csv file I will not create a task new if the record has the same value in the field "Authorization number"

is this possible? If possible, could you give me some instructions to do it? thank you