JS - evaluated function is correct but code does not work

@dorilama I am confused.

I was looking through other threads, it appears it is feasible. Almost similar to what I am trying to do, please see here. I am referencing the thread here Trigger a workflow via JavaScript:

As you can see @caffeinatedwes was able to embed ‘paperform’ using variables inserted in HTML embed. Direct link to the code displayed in the post.

Using the same principle @aurelie seem to imply that such functionality (i.e. variables in embedded HTML) can be achieved using workflows.

It does appear there is a way to embed HTML with dynamic variables. But there is not clear explanation anywhere.

@aurelie or @weweb-team just a small suggestion. A tutorial regarding embedding custom code in HTML embeds might be very useful for your users not as adept in Vuejs as @dorilama

But it is confusing that certain variables embedded within HTML element works just fine as compared to others. Probably there is something related to how components are mounted within vue. But being a no-code tool, a small tutorial on HTML embeds might go long ways. Just my 2 cents.