AP automation best practices