Create a microflow that has one parameter - a list of the objects in the datagrid. This microflow should have one action - commit the list of objects.
Add an action button to your grid that calls the microflow. Configure the button to send all objects in the grid to the microflow.