# Component with input field: Trigger On change from outside the component

**URL:** <https://community.weweb.io/t/component-with-input-field-trigger-on-change-from-outside-the-component/8405>\
**Category:** How do I?\
**Created:** [May 2, 2024, 1:20pm UTC](https://community.weweb.io/t/component-with-input-field-trigger-on-change-from-outside-the-component/8405 "2024-05-02T13:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikm3103](https://avatars.discourse-cdn.com/v4/letter/e/c37758/32.png) [@erikm3103](https://community.weweb.io/u/erikm3103)\
**Post date:** [May 2, 2024, 1:20pm UTC](https://community.weweb.io/t/component-with-input-field-trigger-on-change-from-outside-the-component/8405/1 "2024-05-02T13:20:15Z")

</div>

Hi,

I think I have a fairly descriptive title.

I’m building a component with a input field in the component. I would like to trigger a Global Workflow on change in the input field.

Is there a way to do this?

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [May 2, 2024, 1:41pm UTC](https://community.weweb.io/t/component-with-input-field-trigger-on-change-from-outside-the-component/8405/2 "2024-05-02T13:41:23Z")

</div>

You should declare a trigger on your component, and trigger it on the onChange workflow of your input.  
Then anyone from outside will be able to declare a workflow on this trigger.  
This is for component on change =\> external workflow.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a2362cec32093403aa763fd51b92cd6c550f8f0e.png)

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

If you want to call an internal workflow from outside, you should declare your workflow as external. You will then be able to call it  
This is for external =\> component communication.

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