According to Reinhard Strohm, at least 22 original or significantly re-worked opera libretti can be attributed to Lalli.
 Apart from his 1711 comic opera Elisa and four comic intermezzi, the remainder of the opera libretti attributed to him are all in the opera seria and dramma per musica genres.
Lalli also wrote texts and libretti for several musical works in other genres: cantatas, serenatas, and azioni sacri (stage works on religious subjects and precursors of the oratorio).

The attribution of some of Lalli's opera libretti is complicated by the fact that from 1728 he often collaborated with Giovanni Boldini.
In some cases the libretti are listed as jointly authored.
In other cases there is disagreement as to whether Lalli or Boldini was the author, e.g. the libretto for L'Issipile set by Giovanni Porta  in 1732 and that for Artaserse set by Adolph Hasse in 1730.
Some libretti by Lalli and/or Boldini were primarily re-workings of libretti by other authors although with the text much changed, as was the case with Hasse's 1730 Artaserse based on a libretto by Metastasio.
Lalli's own libretti were often reworked to a greater or lesser extent by other librettists, including his Amor tirranico originally set by Francesco Gasparini in 1710 and reworked with minor changes by Nicola Haym for Handel's Radamisto.
Others were set by multiple composers under different titles.
His libretto, Il gran Mogol, was set by 5 different composers (including Vivaldi) between 1714 and 1733.
According to Reinhard Strohm, at least 22 original or significantly re-worked opera libretti can be attributed to Lalli.  Apart from his 1711 comic opera Elisa and four comic intermezzi, the remainder of the opera libretti attributed to him are all in the opera seria and dramma per musica genres. Lalli also wrote texts and libretti for several musical works in other genres: cantatas, serenatas, and azioni sacri (stage works on religious subjects and precursors of the oratorio). 
The attribution of some of Lalli's opera libretti is complicated by the fact that from 1728 he often collaborated with Giovanni Boldini. In some cases the libretti are listed as jointly authored. In other cases there is disagreement as to whether Lalli or Boldini was the author, e.g. the libretto for L'Issipile set by Giovanni Porta  in 1732 and that for Artaserse set by Adolph Hasse in 1730. Some libretti by Lalli and/or Boldini were primarily re-workings of libretti by other authors although with the text much changed, as was the case with Hasse's 1730 Artaserse based on a libretto by Metastasio. Lalli's own libretti were often reworked to a greater or lesser extent by other librettists, including his Amor tirranico originally set by Francesco Gasparini in 1710 and reworked with minor changes by Nicola Haym for Handel's Radamisto. Others were set by multiple composers under different titles. His libretto, Il gran Mogol, was set by 5 different composers (including Vivaldi) between 1714 and 1733.
Domenico Lalli