Should I use a Custom Function?

Should I use a Custom Function?

I seem to be stuck on how to accomplish the following.  When I add a new lead and the Lead Source is "X", I want to have that lead assigned to a certain Zoho CRM Campaign.  Once I save the Lead I know I can scroll down to the related records and add the Lead to the correct Campaign and maybe this is the easiest and most efficient way?  Is it possible to add a Lead to a Campaign?  And assuming yes, is this only possible using Custom Functions?

Thanks!