AI Dialogue "greater than" condition
In the "lead Gen with AI" template we have this conditional on the AI Dialogue variable being greater than 5. But greater than 5 "what"?
Initially I thought it would be greater than 5 questions in a row asked by the AI, but on the third question the flow has already ended. I want to understand the logic in this template please

1 Reply
AI Dialogue contains user messages and assistant message if I'm guessing correctly
See all the place you have a "Append" set variable block
Every time you have that, you are adding a message in the AI Dialogue list