Well, this isn't a builtin feature for the moment but this is still possible with before incoming hooks. You can add a hook to preprocess an incoming message before Botpress processes the message. You can also use execute code cards to call external apis.