Using Flow to create items from emails and extract certain information from the body or attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2023 05:30 AM
I've had a go at creating a flow and it's partially working, but looking for some further guidance.
I started by reading https://www.servicenow.com/community/itsm-forum/how-to-generate-a-req-ritm-and-sctask-through-flow-d...
I receive emails with a specific subject line and want to create an RITM with subsequent SCTASKS.
This appears to be working ok, but the parent REQ is not being created at all.
One other step I'm missing is setting the Requested For based on the from email address. This keeps remaining blank, I must be missing something.
Once I have those basics working, I'm looking to be able to scrape certain text from the body of the email (from an attachment would be awesome too, for my next flow). I am currently pulling the whole body of the email into the description, but want to pick out certain parts (it's a template email that's coming in), in order to populate associated variables.
Any guidance/screenshots available would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2023 03:17 PM
Hi,
One option would be to create a Catalog item with 2 fields:
Field1: Requested for (type Requested For)
Field2: Attachment (type attachment)
Then have your flow trigger from Inbound Email and create the catalog item, populating the field with the data from email. For example: