Advice on dynamic system and user prompt

Yes, it is absolutely possible to make the system prompt and user prompt dynamic in an Agentic Automation setup — including one built with UiPath’s Agent Builder, OpenAI APIs, or similar tools.

An agent typically interacts with a large language model (LLM) like GPT using prompts that include:

  • System prompt: Defines the agent’s personality, role, and behavior.
  • User prompt: The actual request or instruction from the user.

To make both dynamic, you need a way to:

  1. Receive new prompts from the user (email, form, UI, etc.).
  2. Store and manage the system prompt state.
  3. Inject those prompts into your LLM interaction at runtime.

Happy Automation
Cheers