Creating actionable links using formatting
Custom row actions can be used to start Power Automate cloud flows, add actions to custom layouts and update multiple column values.
Starting cloud flows
A button to start a cloud flow can be added using column formatting. The cloud flow to be used needs to be first connected to the list or library. The cloud flow is linked to the button using executeFlow
action. ActionParams
must include the id of the cloud flow, which can be copied from the browser’s address line when the cloud flow is opened in edit mode. Title and run button texts visible on the flow panel can be defined in the actionParams
using headerText
and runFlowButtonText
properties.
{ "$schema": https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json, "elmType": "button", "customRowAction": { "action": "executeFlow", "actionParams": "{\"id\": \"510e9047...