# Trigger Component

**URL:** <https://community.weweb.io/t/trigger-component/5766>\
**Category:** Ask us anything\
**Created:** [December 6, 2023, 4:45pm UTC](https://community.weweb.io/t/trigger-component/5766 "2023-12-06T16:45:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [December 9, 2023, 2:01pm UTC](https://community.weweb.io/t/trigger-component/5766/7 "2023-12-09T14:01:00Z")

</div>

For now I think it’s not exposed and supposed to work with custom components. The purpose of that action is to be used mostly with stuff like input fields, where you can trigger an action to “focus” them.

 ![Screenshot 2023-12-09 at 15.01.36](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/51484f0179136c2a5ade6ad4a3582744edc6ea72.png)

> [@Mark\_Pederson](#):
>
> So … how does one “execute a component action” from outside component (which would get me ability to get a payload - which would be great)

As far as I know, you can execute only triggers from within the component and listen to that, to get the data out of the component. It would definitely be cool to be able to trigger actions within a component, but I’d say, that’s more of a rare usecase anyway. For any logic you want to do that you need triggering for, and it’s not an actual front-end actions I’d suggest you use the global workflows and trigger workflow action.

---

_[View the full topic](https://community.weweb.io/t/trigger-component/5766)._
