diff --git a/lib/tasks/cognigy/index.js b/lib/tasks/cognigy/index.js index 8aca6883..87a9ac1c 100644 --- a/lib/tasks/cognigy/index.js +++ b/lib/tasks/cognigy/index.js @@ -23,7 +23,7 @@ const parseQuickReplies = (obj) => { const parseBotText = (evt) => { const {text, data} = evt; - if (text) return text; + if (text !== undefined) return String(text); switch (data?.type) { case 'quickReplies':