I would like to extract unique values from incoming emails to my app.
For example, if the email is:
Subject: Order 1234 confirmed
Body: Your order 1234 containing twelve cute kitties has been confirmed. Final price $100.
I would want to extract:
- Order #: 1234
- Price: $100
- Status: confirmed.
On the other hand, if the email is:
Subject: Order 1234 delayed
Body: Your order 1234 containing twelve cute kitties has been delayed.
I would want to extract:
- Order #: 1234
- Status: delayed.
What is a good UX pattern to do this reliably? I can write regular expressions to do it, but I'd like to make an interface that does not require the user to know regular expressions. Something like this:
Are there easier-to-use patterns out there? I'm aware of Zapier Parse, but I don't have the experience to build something that sophisticated. I mainly just need to wrap regexes.