Workflow Global Prompt limit
# support
k
I'm getting the error
Copy code
"globalPrompt must be shorter than or equal to 5000 characters
5000 characters seems very little. Is there any way to increase the limit or workaround to add more context to the workflow agent?
j
I already created a feature request for the same reason. I would advertise to up vote my feature request:)
k
where can I do this?
j
I don't know either
s
Hey Kai and Jane, can you help me understand why you need more token length than 5k?
k
I’m building an AI interview platform, and the extra token length is needed to give the AI enough context to generate relevant and personalized questions. I use a structured workflow to guide the conversation and keep it on track, but within each node, the LLM still needs flexibility to ask custom questions based on the situation. That requires giving it a lot of context including the candidate’s resume, details about the job, and company background, along with the system prompt. Altogether this often exceeds 5,000 tokens.
@Shubham Bajaj
s
Workflows, prompts, and knowledge bases each play a distinct role: - Workflows define the logical edges that govern call flow and tool invocation. - Prompts shape how the assistant communicates at each step. - Knowledge bases provide the contextual data the assistant needs to choose the right dialogue or tool based on the user’s situation. We’re currently building our knowledge-base solution for workflows. Once it’s ready, you’ll be able to inject user context directly into your workflows—enabling the assistant to act precisely as you’ve described. If you have any other questions, just let me know!
2 Views