How do I connect Mautic API with RASA

Could you use custom actions? I’m assuming that Mautic has a REST API. In which case, you can write a custom action in python to send a request to Mautic containing all the info. I’m unfamiliar with Mautic, so it does depend on the flexibility of their webAPI.