Inbound email to get values from the users email body
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 08:07 AM
Hello Developer,
This would be the email body from client,
* Yellow marked 6 lines should be the updated in the worknotes/comment when incident is created via inbound email.
* Red Arrowed " Blue selected " : User ID should be selected as caller field & Opened by field in the incident created via inbound email.
Can someone please help on this, How to achive this task ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 08:10 AM
You have to use regular expression for it .Can you please copy the body so that it helps us build the expression .
Regards
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 08:18 AM
Hello Pranav, Thank You for updating .
DO you have an example for this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 08:19 AM
You do not need to write regular expression script for this. As it is all prefixed with label:
From the docs:
For example, if an email body contains this line:
Foo:bar
The inbound email script creates the variable email.body.foo with the value of bar. You can use these variables to create conditions such as:
if(email.body.foo!=undefined){ current.[field]=email.body.foo;}
Reference:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 08:21 AM
You can try the examples provided by Willem and Jaspal .