The layoff is expected. Alteryx has been lost in the direction and lost in the competition, too.
The race started to lose when building Analytics Hub on-prem but the trend was already moving to the cloud. Then a new CPO was hired to accelerate cloud, building a dozen unuseful "products" on the cloud platform without knowing what Alteryx's user wanted.
Designer Cloud was released and no one was buying it - it's a cr-ppy product compared to Desktop and not attractive at all to new customers. The existing customers from on-prem can't move to cloud and new customers would choose something much better.
The product strategy has always been wrong and late in reacting to the market trend. Same for today, the company is losing on AI, too
But in the end, all the people got laid off pay for the mistakes made by product leadership.