Can I connect to a database in the Post-login Flows actions script?

Hello @jared.modugno welcome to the community!

You can definitely connect to your own API/database from within a post-login action - You will need to write the necessary action code (Hopefully a npm package available for your DB) that connects to your database and performs the desired operations. The following thread may be of use as well:

Hope this helps!