Hope not too late:
- On your flow: run
- Give it a name like
pdf
- Select under actions:
Get base 64
Then you can have a variable or whatever you want with:
<dmx-value id="var1" dmx-bind:value="flow1.data.pdf"></dmx-value>
Run your flow with a button like:
<button id="btn1" class="btn" dmx-on:click="flow1.run()">Button</button>
Then:
In this case, flow1.data.pdf
is in a variable, but you can use it anywhere, just be sure that flow runs first and create the base64 thing.