So sieht der Code aus. Du kannst Dir gerne die Textdatei, welche ich mit dem Programm Editor von Windows erstellt habe, runterladen.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "button",
"txtContent": "Dokument veröffentlichen",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\":\"9f033a34-2e55-43c7-9bf2-e5717a2026ee\", \"headerText\":\"Dokument veröffentlichen\",\"runFlowButtonText\":\"Los!\"}"
},
"style": {
"background-color": "Purple",
"color": "white"
}
}