It's possible to trigger an action inside a custon database script as Login (MySQL)?

Hey there! I’m on an project using MySQL and we’ve to do lazy migration with the custom database scripts provided as Login or GetUser.
To access my legacy DB, I’m was thinking of creating an action to go find the data of the user, because I my connection must be done through an api endpoint and not directly to the legacy db.
My question is:
Is it possible to integrate a triggered action inside a Login script? If it’s not, how can I manage the connection to the legacy DB?
Thanks!

Hey there!

As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!