# Workflow to send custom email

**URL:** <https://developer.sailpoint.com/discuss/t/workflow-to-send-custom-email/182915>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, identity-security-cloud\
**Created:** [September 25, 2025, 9:51pm UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-custom-email/182915 "2025-09-25T21:51:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Anshu\_Kunal](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/anshu_kunal/32/14680_2.png) [@Anshu\_Kunal](https://developer.sailpoint.com/discuss/u/Anshu_Kunal)\
**Post date:** [September 26, 2025, 6:56am UTC](https://developer.sailpoint.com/discuss/t/workflow-to-send-custom-email/182915/3 "2025-09-26T06:56:10Z")

</div>

Use AD native rules like **aftercreate** or **aftermodify** ps scripts to achieve this use case.

> [@Aftercreate Rule and Powershell script to generate password and send email to user's manager](https://developer.sailpoint.com/discuss/t/aftercreate-rule-and-powershell-script-to-generate-password-and-send-email-to-users-manager/97609):
>
> Hi Everyone, I’m trying to create an aftercreate rule for an AD source in IDN, I will copy the rule and powershell script I have built so far, but I see an error in IQservices powershell script like follows: Error: Item = → Message = Exception calling “.ctor” with “1” argument(s): “Data at the root level is invalid. Line 1, position 1.” Anyone ran into this issue? TIA Also if you could post the working rule and powershell script, would really appreiate it. Thanks. Powershell Script: #####…

Via workflow check below feature of ISC

> [@New Capability: PowerShell Script Execution in Workflows](https://developer.sailpoint.com/discuss/t/new-capability-powershell-script-execution-in-workflows/181094):
>
> Description With approximately 60–70% of administrators proficient in PowerShell compared to other scripting languages (such as Bash), our Professional Services team identified that focusing on PowerShell execution would deliver the highest value to customers. This capability helps organizations reduce their privileged access footprint and provides valuable functionality for our Professional and Expert Services teams during implementation projects. This release introduces the new PowerShell Scr…

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/workflow-to-send-custom-email/182915)._
