如何对 Power Automate Flow 中的 bas64 编码触发器输出采取条件操作?

How to take conditional actions on bas64 encoded trigger output in Power Automate Flow?

我的触发器是来自 Azure IoT Central 遥测数据的事件中心流。

我需要有条件地 运行 一个基于事件中心触发器内容中的键的操作。

事件中心触发器的内容输出是 base64 编码的。

如果我在像 Post 给团队的消息这样的操作中使用内容,它会被解码并且看起来很好。 当我尝试在条件操作中使用它时,或者如果我先实例化一个变量,内容不会被解码。 Power Automate 的表达式中没有 base64ToString()。 Power Automate 文档说他们会自动为您解码(不,他们不会)。

有人有使用 Power Automate 或其他解决方法的有效 base64 解码方法吗?

这在 Power Automate 中不起作用。

它在逻辑应用程序中运行良好。

我刚刚在 Logic Apps 中重建了所有内容,效果很好。