Send mail only once from workflow

I am sending excel output file to email from workflow. I have 5 entries in excel file. email is sending 5 times. I want to send output file only once. How to send?

Hi,

Welcome to AutomationEgde Community!!

In this case, you have to use a parent-child scenario. Read the excel in parent workflow and pass the details to child workflow and send mail from it. It will pass the entry one by one.

Thanks @BhagyashriC

Hi Onkar,

Apply Block step before the mail. The mail will be only sent once.

Thanks @Tanmay

Can you please elaborate ? i used workflow executor , i entered the variables and corresponding field values also generated but i cant see any of my variables in the child workflow ?