Skip to main content
Navigator | Tier 3
November 14, 2022
Question

Hi all, I am trying to create a bot , which should send email(notification ) if the expected mail in inbox is not received. 1. Notification is sent , but I want to send it only once , not on each iteration . Any suggestions? Regards, Teodora

  • November 14, 2022
  • 8 replies
  • 164 views
Hi all, I am trying to create a bot , which should send email(notification ) if the expected mail in inbox is not received. 1. Notification is sent , but I want to send it only once , not on each iteration . Any suggestions? Regards, Teodora

8 replies

Raul Jaimes
Navigator | Tier 3
November 16, 2022

@Teodora Dimitrova​ ,

Use the Break action from Loop

Regards

 

Navigator | Tier 3
January 10, 2023

@tdimitrova  have you got the help you needed?  I can provide some suggestions if you want to screenshare.

Navigator | Tier 3
January 10, 2023

Hi @ShivC ,

 

yes, i did it on this way:

Best Regards, 

Teodora

Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
January 10, 2023

Hi @tdimitrova ,

 

I believe the bot is sending the email in same address which is already sent.

_Tamil_
Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
January 10, 2023

Hi @tdimitrova ,

 

Could you please change the If conditions with String Includes or Doesn’t Includes

_Tamil_
Navigator | Tier 3
January 10, 2023

Hi @tdimitrova 

 

From what I can understand you want to send an email if the mailbox has not received the expected mail. Also reading your if condition you want to send an email if email date doesnt match the system current date (This logic may have issues in future in case bot isnt run on the day for whatever reason). 

 

If you just want to send the email once, you don't need the last loop. Remove the last loop and just keep the IF condition.

 

Not sure where you are based but happy to get on a call and help if you need it.

 

thanks 

shiv 

 

Navigator | Tier 3
January 10, 2023

Hi @tdimitrova ,

 

Could you please change the If conditions with String Includes or Doesn’t Includes

Its not that. 

rbkadiyam
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
January 12, 2023

@tdimitrova  use counter variable after checking all unread mails in loop. update counter value if you receive any expected mail… after loop completion you can check if condition if counter is ‘0’ send email… 

Ramesh B Kadiyam