An Office Script can be launched by a Power Automate flow using the Run script action. This lets you trigger Excel processing on an event, a schedule or a received file, without opening the workbook. The script can receive parameters and return a result to the flow.
Example
A flow triggered every Monday that runs a formatting script on a workbook stored in OneDrive.