🚨 Issue with large variables in Voiceflow
I’m trying to generate a CSV file from a prompt in Voiceflow and then send it by email as an attachment using a Function Step.
The issue is that when I store the entire CSV in a single variable (e.g. {TABLA}), the content gets truncated after a certain number of characters (~8–16 KB). Example:
MATERIALES,Proveedor 30,ZFE20904644,17/06/24,"11,424.00"
MATERIALES,Proveedor 30,ZFE20904274,17/06/24,"11,424.00"
MATERIALES,Proveedor 30,ZFE20974614,17/06/24,"11,762.14"
...
(it gets cut here even though the CSV continues)
I also tried using {last_response}, but the same thing happens — it still gets cut off.
📌 My goal: I need to pass the full CSV into the Function Step so I can attach it (via SendGrid) without it being truncated.
❓ Question:
Does anyone know if there’s a way to bypass the variable size limit in Voiceflow, or any recommended approach for handling large strings (like long CSVs) in a Function Step?
1 Reply
Increase LLM tokens