# Trigger Action

To trigger an action programmatically, use the code snippet below

{% hint style="warning" %}
When triggering an action programmatically, the trigger element will be `null` in the `onRequestInit` callback.
{% endhint %}

```javascript
$fetch.triggerAction('your_action_name')
```
