Error When Using Liquid Filter in Template Editor

I encountered an error while trying to use the Liquid filter {{payload.content | truncatewords: 5}} in the template editor. The error is displayed as shown in the attached image.
No description
6 Replies
Pawan Jain
Pawan Jain2w ago
@QuocThinh liquid filters are not supported in old dashbord workflows
Pawan Jain
Pawan Jain2w ago
Let me know if you can access new dashboard https://dashboard-v2.novu.co/
Novu Cloud Dashboard
Novu Cloud Dashboard
QuocThinh
QuocThinhOP2w ago
i try use dashboard v2. but can't open edit workflow page. when open https://dashboard-v2.novu.co/legacy/workflows/edit/67725... the browser redirect to workflows page
Novu Cloud Dashboard
Novu Cloud Dashboard
Pawan Jain
Pawan Jain2w ago
@QuocThinh Sorry for confusion, liquid filter can only be used only workflows created from new dashboard. old workflows does not support that
QuocThinh
QuocThinhOP2w ago
can i convert old workflow to workflow-v2
Pawan Jain
Pawan Jain2w ago
@QuocThinh Currently, we don't have an automatic way for this. You will have to create a new workflow in new dashboard

Did you find this page helpful?