# How to automatically close a popup after 3 seconds?

**URL:** https://community.weweb.io/t/how-to-automatically-close-a-popup-after-3-seconds/20497
**Category:** How do I?
**Created:** [December 12, 2025, 5:05am UTC](https://community.weweb.io/t/how-to-automatically-close-a-popup-after-3-seconds/20497 "2025-12-12T05:05:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![frederic.lacroix](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@frederic.lacroix](https://community.weweb.io/u/frederic.lacroix)
#### Post date: [December 12, 2025, 5:05am UTC](https://community.weweb.io/t/how-to-automatically-close-a-popup-after-3-seconds/20497/1 "2025-12-12T05:05:13Z")

</div>

### How to automatically close a popup after 3 seconds?

I tried with a workflow in the popup on the “on created” action, but you can only close all popups, not just this instance.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/45d740ca06b22a1f51899063b824287120336058.png)

---

<div class="post-metadata">

### Author: ![musopw](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/musopw/32/15303_2.png) [@musopw](https://community.weweb.io/u/musopw)
#### Post date: [December 12, 2025, 6:54am UTC](https://community.weweb.io/t/how-to-automatically-close-a-popup-after-3-seconds/20497/2 "2025-12-12T06:54:48Z")

</div>

If you choose “Close all popups”, you’ll have the option on the right-hand panel to choose the specific popup you want to close. Took me a while to work this out, but I use this flow all the time now!

---

<div class="post-metadata">

### Author: ![frederic.lacroix](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@frederic.lacroix](https://community.weweb.io/u/frederic.lacroix)
#### Post date: [December 13, 2025, 7:51am UTC](https://community.weweb.io/t/how-to-automatically-close-a-popup-after-3-seconds/20497/3 "2025-12-13T07:51:13Z")

</div>

I understood my mistake…My workflow is in the component panel, and here you can’t choose “close this instance” (first screenshot)

If I move my workflow in the workflow panel, I can choose “close this instance”…(second screenshot).

Thanks @musopw for your help

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/7b90b4c44070ddaacd6c95cfbea742ca3071e201.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/033ddf054a33fcca45d8acc4f7f6f2ce9e13e39e.png)
