![](https://sandeeppote.com/wp-content/uploads/2023/09/image-48.png)
If you want to send welcome email to the user subscribed to the specific mailing list in this example to a Newsletter, you can do so using Sitecore Send Automation.
In this case there is no OOTB automation available. Will crate a custom automation instead
To see how to setup a Subscribe abd Unsubscribe using javascript see this blog
Setting up Custom Autmation to Thanks user for subscribing to the Newsletter
Navigate to Automation and New –> Custom automation
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-30.png)
Setting up Automation for welcome email-
This is avaiable in automation recipe-
Navigate to Automation and New –> From recipe
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-25.png)
Update title and description of automation-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-32.png)
Select the trigger-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-33.png)
Choose the List Engagement option – When someone subscribes to a specific list
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-34.png)
In this case I am choosing the Newsletter Email List- created in my other blog
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-35.png)
This should update the automation-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-36.png)
Next add the condition or control step
For this example will choose – Wait a specific time interval-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-37.png)
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-38.png)
So after the user subscribes to Newsletter the wokflow will wait for 1 minute to perform further action.
Select Send mail campaign action-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-39.png)
Fill in the appropriate fields and create action-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-40-1024x583.png)
Automation Worflow should look like this-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-41.png)
Imp- do not forget to activate the automation workflow.
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-42.png)
On subscribing to newsletter-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-43.png)
You should be able to see the user added to the Newsletter mailing list-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-44.png)
After a minute you should be able to see custom automation is triggered-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-45-1024x274.png)
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-46.png)
Result- Email been sent after subscription-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-47.png)
You can also choose the exisitng recipe but this has the trigger to send mail if the user subscribes to any list.
Choose Welcome email sequence option-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-26.png)
This should ne now available in Automation Workflows in an Incomplet state-
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-27-1024x267.png)
Should show up with the option to setup the Automation Workflow-
Might see mulitple such steps- update as per your requirements
![](https://sandeeppote.com/wp-content/uploads/2023/09/image-29.png)
Click on the Trigger – When someone subscribes to any list as highlighted