- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Dear Experts,
I have a flow with a Send Email action that sends emails to external users for approval or rejection of a request. Based on their response, I parse the reply body to identify specific keywords and trigger corresponding actions. To make the parsing more reliable, I want to standardize the email replies by including mailto links, specifically ${mailto:mailto.accept} and ${mailto:mailto.reject}, which I’ve created to generate automated subject lines or body content for easier identification in the response.
Issue: The ${mailto:mailto.accept} and ${mailto:mailto.reject} mailto links are not supported in the body of the Send Email action.
How can I implement these mailto links or an alternative solution to ensure consistent email replies for accurate parsing in my flow?
Thank you,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
that's correct, it won't work directly in "Send Email" flow action as it has some limitations.
Why not use "Send Notification" flow action and configure the notification and have the mailTo template there?
OR
Try to use this HTML code in your "Send Email" and see if that works
<a href="mailto:servicenow-approvals@yourdomain.com?subject=Approve Request 123&body=I approve request 123">Approve</a>
<a href="mailto:servicenow-approvals@yourdomain.com?subject=Reject Request 123&body=I reject request 123">Reject</a>
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
that's correct, it won't work directly in "Send Email" flow action as it has some limitations.
Why not use "Send Notification" flow action and configure the notification and have the mailTo template there?
OR
Try to use this HTML code in your "Send Email" and see if that works
<a href="mailto:servicenow-approvals@yourdomain.com?subject=Approve Request 123&body=I approve request 123">Approve</a>
<a href="mailto:servicenow-approvals@yourdomain.com?subject=Reject Request 123&body=I reject request 123">Reject</a>
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Thanks for the help @Ankur Bawiskar
Is there a way i can make the servicenow-approvals@yourdomain.com? dynamic here? or I want to use the email scripts I have created for accept and decline, i tried multiple ways of entering them here but didn't work.
Thanks again for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
you can create a flow variable and store this email and then use that in your Send Email HTML body via data pill.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
Thank you for marking my response as helpful.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
