Using Email Separators and reading the reply only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Has anyone had any luck with OOB at all with using an Email Reply Seperators?
Following along with the documentation around Email Reply Separators I haven't found how to actually utilize them in an Inbound Email Flow or an Inbound Email Action.
I've seen some community posts that don't seem to go anywhere, and one that gets specific about using a method (extractReplyText) that doesn't seem to exist OOB in the Script Include specified (EmailUtil()) or anywhere that Studio would show me on a global search
How to use email reply separators? - ServiceNow Community
Dot walking per the Parsing Inbound Email documentation (email.body.comments) only seems to result in the full body being returned
Parsing Inbound Email | ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi there @Yvan1
No OOB doesn’t actually trim the email body based on reply separators — it just stores the full body. The "Email reply separator" property mainly helps in rendering replies in activity streams, but it won’t automatically work in Inbound Email Actions or Flows. If you want to process only the new reply portion, you’ll need a custom script in your Inbound Email Action so no the OOB won’t cut it for Inbound processing, you’ll need to handle reply parsing yourself.
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
Microsoft MVP (AI Services), India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thats what I've read, and thats why I'm exploring the other options mentioned in the links I provided.
Does the email.body.comments dot-walk not do what the Parsing Inbound Emails documentation implies?