Using recently added via script data in the following task

Hello community,

The data structure is
Order -> Services (have ref to Order)

I have a bot that contains two tasks.
The first one is the app script that adds new rows to the google sheet "Services".
The next task sends the PDF report to users and iterates over [Services] inside the template. 

The problem is that the recently added "Services" are not available in the next task. But if I just re-send the E-mail later all data is the report.

Is it possible to refresh data before executing the second task?

Best regards

0 5 183
5 REPLIES 5
Top Labels in this Space