# Workflow. opening a popup in the header and home page

**URL:** <https://forum.bubble.io/t/workflow-opening-a-popup-in-the-header-and-home-page/268370>\
**Category:** Need help\
**Created:** [June 18, 2023, 2:10pm UTC](https://forum.bubble.io/t/workflow-opening-a-popup-in-the-header-and-home-page/268370 "2023-06-18T14:10:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericx033kt](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@ericx033kt](https://forum.bubble.io/u/ericx033kt)\
**Post date:** [June 18, 2023, 2:10pm UTC](https://forum.bubble.io/t/workflow-opening-a-popup-in-the-header-and-home-page/268370/1 "2023-06-18T14:10:13Z")

</div>

Good afternoon question, in the header (reusable elements) there is a popup button that should open the popup located on the main page, how to configure the process ?

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [June 18, 2023, 2:22pm UTC](https://forum.bubble.io/t/workflow-opening-a-popup-in-the-header-and-home-page/268370/2 "2023-06-18T14:22:12Z")

</div>

Hi there, @ericx033kt… when the button in the header is clicked, set a custom state (for example, a _yes/no_ state that is located on the reusable element itself) to a particular value (set it to _yes_). Then, add a _Do when condition is true_ workflow event on the main page (not in the reusable element) that says when the custom state is set to the particular value (following the example, when it is set to _yes_), show the popup.

Hope this helps.

Best…  
Mike

---

<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:** [August 27, 2023, 2:10pm UTC](https://forum.bubble.io/t/workflow-opening-a-popup-in-the-header-and-home-page/268370/3 "2023-08-27T14:10:15Z")

</div>

Closed on August 27, 2023, 2:10pm UTC

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