How to check wording in email and create condition to do something?

Hi,

If I have email body below

"
Hi please order this item

Order
1, coffee, 3 cups
2, tea, 5 cups
3. water, 1 cups

"

I want to do like this.
If have “Order” then write the order in excel file
No|Item|Qty.
1|Coffee|3
2|tea|5
3|water|1

Please help me.
Regards

@p_nuengg,

once you’re done reading email, you will get all email in MailMessage.
put for each activity and To property supply MailMessage and object type mail should be System.Net.Mail.MailMessage.

drag if activity and write condition as below,
if mail.body.contaions(“Order”) {
// place order
}else{
do u want
}

Cheers,
Pankaj

Thank you, but it will work on studiox right?

@p_nuengg,

it’s based on studio, yeah, it’s similar, try…

Cheers,
Pankaj

One more thing, Can you tell me how can I check only word after order line and split no,item and qty?

Thanks