Bethe ansatz goes back to 1931, when H. Bethe invented it to solve some one-dimensional models, such as XXX spin chain, proposed by W. Heisenberg in 1928. Although it is a very powerful method to compute eigenvalues and eigenvectors of the corresponding Hamiltonian, it can be applied only for very specific boundary conditions: periodic boundary ones, and so-called open-diagonal boundary ones. After reviewing this method, we will present a generalization of it that applies also to open-triangular boundary conditions. This short note presents only the basic ideas of the technique, and does not attend to give a general overview of the subject. Interested readers should refer to the original papers and references therein.