Allow Prompt Completion with Numeric Output Type

Issue

I am in the middle to compute a Daily Contract Value (DCV) based on start and end date in a deal (ultimately to compute the ACV). I need this for deferred revenue calculation and other derived FinOps processes.

I started with an AI prompt completion workflow (because computing the difference between two calendar days is not possible), but then it doesn’t seem to allow me to use the result in a currency field. Is this intentional?

In the screenshot below, I’m expecting to assign the result, which is not available as variable.

Solution Idea

Intuitively, I would have hoped that it’s possible cast the output of a prompt completion to any attribute. Of course, it can fail, then the workflow should fail, but it should be possible.