The configuration goes to `global-config-overlay`, this is the only parameter:
*`SmsForwardHooks`: an array with pre-defined actions in form where the key of the array is the regular expression to match the SMS text and the value is the action to execute:
```
:global SmsForwardHooks {
{ match="command";
allowed-number="1234";
command=":put "command executed"" };
# add more here...
};
```
in this example the command `:put "command executed"` will be executed
when a SMS with text starting with `command` is received from number `1234`.
Useful use case is to send an SMS to order an additional internet package when the current one is about to deplete, and the automatic SMS is sent from the provider with the text that 80%, 100% of the package are used. Then, an automated SMS can be sent to a provider back to order a new package automatically.
For example, for the [KPN](https://kpn.com/) provider, the SMS text is `NL2000 AAN` sent to number `1266` to order an additional 2GB package.