Hi @Jenine1_1,
You could potentially use column formatting for that. You just need to track that click or use another column value from the list/library.
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/formatting-syntax-reference#excel-style-expressions
Below is an example with the Send Changes value.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"yourflowguid\"}"
},
"attributes": {
"class": "=if([$SendChanges] == 'Email changes made', 'ms-fontColor-red ms-fontColor-themeDarker--hover', 'ms-fontColor-themePrimary ms-fontColor-themeDarker--hover')"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Flow"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "Send to Manager"
}
]
}
