Skip to main content
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
  • 116 views

Forum|alt.badge.img+6
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
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • 494 replies
  • November 16, 2022

@Teodora Dimitrova​ ,

Use the Break action from Loop

Regards

 


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 36 replies
  • January 10, 2023

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


Forum|alt.badge.img+6
  • Author
  • Navigator | Tier 3
  • 10 replies
  • January 10, 2023

Hi @ShivC ,

 

yes, i did it on this way:

Best Regards, 

Teodora


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • January 10, 2023

Hi @tdimitrova ,

 

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


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • January 10, 2023

Hi @tdimitrova ,

 

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


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 36 replies
  • 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 

 


Forum|alt.badge.img+4
  • Navigator | Tier 3
  • 36 replies
  • January 10, 2023
Tamil Arasu10 wrote:

Hi @tdimitrova ,

 

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

Its not that. 


rbkadiyam
Forum|alt.badge.img+16
  • Navigator | Tier 3
  • 578 replies
  • 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… 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings