The Automation Components repo that was published last week features a useful action that I don’t think I ever created a blog post for.
GetFlowMetadata (what’s it’s called in the Automation Components repo) provides metadata about a Flow. Just provide it with a name OR a recordId and it returns:
public String FlowApiName;
public String FlowDefinitionId;
public String ActiveVersionId;
public String Description;
public String Label;
public String LatestVersionId;
public String NamespacePrefix;
public String FlowType;
Install
Install this from the new Automation Components repo via a managed package