QS flow output truncation

Hi QS team!

We’ve been building a QuickSight Q flow on top of an existing dashboard to automate our weekly performance report. The flow has 11 nodes — it extracts data from multiple visuals, combines and formats the tables, and sends a styled HTML email.
When we first built and tested the flow, it worked well. We ran it successfully several times and the output was complete and correctly formatted. As we were about to deploy it, we noticed the performances significantly dropped this week. We then invested significant time hardening the prompts — adding row-count verification, retry logic, anti-truncation guardrails, and exhaustive key-variant lookups — to make it more robust.
However, we’re now seeing inconsistent behavior across runs using the exact same prompts. A few questions for the team:

  • Is there a known issue with LLM context window or output truncation in multi-node flows, particularly when upstream nodes pass large JSON payloads?

  • Are there any recommended patterns for building reliable multi-node flows on top of existing dashboards?

Thanks!

Hi @carina,

Welcome to the Quick Community! I am not aware of any known issues in regard to those areas. However, since you are dealing with inconsistent behavior after it initially worked, I would recommend if feasible to extract only necessary fields from your visuals and/or partitioning your visual data for your JSON payloads to see if splitting it up makes it run more consistently.

If that does not work, I would definitely recommend creating a support ticket with AWS Support, as they may be able to see if this is due to some error and/or help guide you on your use case.

Thank you!