Revert "Removed attempt to get actions/triggers. Too hacky."

This reverts commit c10c910440ccdf5fc29c0e89b46b62542c706577.