Securely enable automated and compliant document capture workflows