  Let $A= \Bbbk Q/I$ be a finite-dimensional gentle algebra. In this article,
under some hypothesis on the quiver $Q$, we give conditions for nilpotency of
the $L_\infty$-structure on the shifted Bardzell's complex $B(A)[1]$. For
nilpotent cases, we describe Maurer-Cartan elements.
