# Activating HTML workflow using button element

**URL:** <https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920>\
**Category:** Need help\
**Created:** [May 16, 2023, 3:49am UTC](https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920 "2023-05-16T03:49:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![netanelm](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@netanelm](https://forum.bubble.io/u/netanelm)\
**Post date:** [May 16, 2023, 3:49am UTC](https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920/1 "2023-05-16T03:49:15Z")

</div>

Hi!  
I have created a HTML code that creates a vcf. file. The issue is that the standard download link does not look appealing. I would love to use a Bubble element button that when clicked, activates/runs the html download. Any advice as to how I can make a workflow to activate the html would be greatly valued. Thankyou!

---

<div class="post-metadata">

**Author:** ![ranjit](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ranjit/32/254854_2.png) [@ranjit](https://forum.bubble.io/u/ranjit)\
**Post date:** [May 16, 2023, 4:48am UTC](https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920/2 "2023-05-16T04:48:27Z")

</div>

You could define a function on your HTML code and call it on a workflow ‘run javascript’ action on clicking the Bubble button.

Run javascript comes with the Toolbox plugin

---

<div class="post-metadata">

**Author:** ![netanelm](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@netanelm](https://forum.bubble.io/u/netanelm)\
**Post date:** [May 16, 2023, 6:52am UTC](https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920/3 "2023-05-16T06:52:34Z")

</div>

Thanks @ranjit, will give it a go 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [July 25, 2023, 3:49am UTC](https://forum.bubble.io/t/activating-html-workflow-using-button-element/262920/4 "2023-07-25T03:49:42Z")

</div>

Closed on July 25, 2023, 3:49am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
