Pass Pattern Variables to AppleScript

Hi!
I'm a newbie when it comes to Hazel but I'm trying to work out how to pass the custom patterns I created from the filename into an AppleScript to allow a custom email to be sent.
Example - a file is found in this format ShowName - ShowTitle.mp4. After the file matches, it creates folders and sub folders based on that data and renames the file. I then want it to use the 'ShowName' custom variable to pass into an AppleScript to send an email that says 'ShowName' has now been added and then send.
I'm trying struggling with this AppleScript part so any help would be amazing
[Copy of the workflow so far - https://ibb.co/cXRRVL]
I'm a newbie when it comes to Hazel but I'm trying to work out how to pass the custom patterns I created from the filename into an AppleScript to allow a custom email to be sent.
Example - a file is found in this format ShowName - ShowTitle.mp4. After the file matches, it creates folders and sub folders based on that data and renames the file. I then want it to use the 'ShowName' custom variable to pass into an AppleScript to send an email that says 'ShowName' has now been added and then send.
I'm trying struggling with this AppleScript part so any help would be amazing
[Copy of the workflow so far - https://ibb.co/cXRRVL]