HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Set custom request field based on regex



I am wondering if it is possible to set a custom field based on a regex?

I would like to extract the application name and version that are set in the email headers and use that to set two custom fields.

Application: OurApp

The custom field would be Application, and the regex would dicate the value.

In Perl regex it would be something like this…
Header matches /^Application:\s(\S+)$/
$ApplicationCustomField = $1

Thoughts? I could create a rule for each application and version, but I think this would be much cleaner.



Hi Josh,

That’s a nifty idea, but not currently possible. You’d have to do it via a mail rule with a different rule for each version.