T11- Automate Email Processing |
Task Description |
Automate Order email processing. If the email contains order of a particular product of the productline, a confirmation email is sent with a standard message.
T11.atmn
Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks. |
| Solutions |
 |
Create new task
- Click Tools -> Task Editor.
|

Screenshot 1
|
 |
Insert Loop command
- Select the option ‘Each email message on server’ to read all emails that come from an email id defined. This option will read each email
one after the other.
|
 |
Click on Edit to open Email Automation form
- Email Automation form lists all the details of the Email Server as also various functions to perform.
- For the purposes of this task, we will select ‘Get All Messages’
- Save the command
|
 |
IF condition for checking the emails
- We need to identify the action where we send the standard specific reply to anyone who has purchased the different products.
- Enter if condition for checking all email messages that come in. We have a pre-defined system variable called $Email message$ that will
contain the entire body of the message.
- We define a string that we want to find from within the message.
|
 |
Enter Send Mail command to send emails
- If the $Email message$ variable contains the specific word then a standard email has to be sent. Sender email addresses are stored in the $Email From$ system variable that fetches the email address from the ‘From’ field.
|
 |
Save and run the task.
- Mails are sent to the specific customers according the product those purchase by them.
|
| |
When you run this task, it loops through the emails and sends a standard reply to the emails that has order information for each product in product line.
|
|
 |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. |
- Jack Greenberg
|
| Read Customer Testimonies >> |
|