I use the Mailhook module as my automation trigger, in the email message body I have some info that I want to extra and use separately in the next modules.
Here in this image, pointed in red are the data I want to use as separate answers or mappable fields, I tried with the text parsers, etc, but cant come up with the idea. any help will be much appreciated
Assuming the email structure will always roughly be the same, you can use a Text Parser “Match Pattern” module with this Pattern (regular expression):
Hello (?<recipient>[^,]+),\s+\*(?<action>[^*]+?)\*\s+Name(?:[^:]+?): (?<name>[^\n]+)\s+Email: (?<email>[^\n]+)\s+Date: (?<date>[^\n]+)\s+Sub-Account record ID: (?<id>[^\n]+)(?:\s*|$)
For more information, see Text Parser in the Make Help Center:
Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.
For experimenting with regular expressions, we recommend the regular expressions 101 website. Just make sure to tick the ECMAScript (JavaScript) FLAVOR in the left panel.