Create User from Email on Custom Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 01:25 PM
I have a request from our Security GRC team to create a ticket from an email sent to our company's privacy email. The privacy email comes from a form that is filled out on our company's external website.
We would like to create a user on a custom table let's call it u_external_users from the email that is received. The email contains, first, last name, email, state of residence, address, phone number. We don't want these requests classified as guest user due to the need to follow them closely to ensure we are within the state alotted time to complete the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 09:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 11:27 PM
Hi @KMNichols
You can easily do it using Flow. Please follow below steps :
1. Ensure that the system property "glide.pop3readerjob.create_caller" is set to false.
2. Create a flow in Flow Designer with Inbound Email as the trigger and trigger conditions as Receive Type as New and User ID is empty so that the Flow will only trigger for Incoming new emails where the sender email does not match the email address in the Users [sys_user] table.
3. Make use of Create Record Action on your table "u_external_users " and update the fields like first name, last name etc. from the data pills of the email received. Refer below snip as a reference :
4. Activate the Flow and test.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 01:42 AM
Hi @KMNichols
This property might be helpful
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************