Is it possible to let truncate funcation automate?

If I remember correctly, the truncate plugin can automate running when text label overrides in Sketch.

I tried these two. But every time I cycled text label have to run it again.

Screen Shot 2021-07-15 at 14.48.46