How can i parse Excel file attached with an email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2024 10:03 AM
Dear Folks,
I have a requirement like if user reply on an email and attached an excel file then how can i parse that excel file and update a record on a table in servicenow.
Please help me how can i do this.
Thanks
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2024 02:14 PM
When an attachment comes in from an inbound email it creates an EMail attachment record on this table: sys_email_attachment.
With this information you can use the following API found at the link below to parse the Excel attachment file
Examples are given there on how to use it. You can possibly create the script in the inbound action or in a business rule on the sys_email_attachment table configured to execute with your requirements.