I have a Custom RT Field “User Location” and I want RT to capture the email address of the sender and paste it on the RT field.
Example: From - firstname.lastname@example.org
email display name - Juan Pablo (Chile)
Can RT capture CHILE and put it on the “User Location” Custom Field?
Condition: On Create
Action: User Defined
What would be the "Custom action preparation code"