Add groups and change the type of an automatically created board

I have an automation that creates a new board based on an action. Is it possible to set the new board to private and a default group to the board members within the same automation?