How could I use a script that does this to update two fields in my table?
IF(FIND(",",{Name}),TRIM(MID({Name},SEARCH(",",{Name})+1,500)))
I know it works fine as a formula but I don’t want a formula field since I want to link the email to another table. I’m pulling info from new gmail emails with zapier but there’s is always going to be two recipients and I only need the second person’s name and email.

