Hi @anshu.khetarpal
You can embed custom code using PowerShell activity.
Please check if the below response is helpful.