https://retellai.com/?utm_source=discord&utm_medium=seo logo
retell global prompt instructions or best practise...
# ❓・ai-evy-support
v
@AI Evy retell global prompt instructions or best practisesa
a
Thanks for tagging me @Vyyy. I'll look through relevant sources and get back to you shortly.
### Answer --- The Global Prompt in Retell AI is where you specify the agent's persona, identity, guardrails, etc. [(1) ]() This text is available in every node and influences all response generation. ## Best Practices For Single/Multi-Prompt Agents: - The
general_prompt
is appended to the system prompt regardless of what state the agent is in. [(2) ]() - System prompt (with state) = general prompt + state prompt. - System prompt (no state) = general prompt. For Conversation Flow Agents: - The
global_prompt
is used in every node of the conversation flow. [(3) ]() - Node Prompts take precedence over the Global Prompt when both are present. [(4) ]() - Use the Global Prompt for tone, identity, and general rules. - Use Node Prompts for specific actions or logic per step. - Avoid duplication—Global = default, Node = override. For Flex Mode: - Write node instructions in a concise manner so the LLM can better focus on the task. [(5) ]() - Be explicit on transitions: write crisp, observable conditions. - If using flex mode for more than 20 nodes, performance might degrade and the agent might have higher hallucination risk—consider splitting into smaller components. Check out these potentially useful sources for more details: - [Step 2: Configure the basic settings]() - [Flex Mode]() - [Retell AI's Advanced Conversation Flow](
etell-ais-conversation-flow)
​ To learn more, see the sources I considered: [[1] Step 2: Configure the basic settings](https://docs.retellai.com/build/single-multi-prompt/configure-basic-settings) [[2] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) [[3] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[4] Which takes precedence: The Global Prompt OR Nodes?](https://discord.com/channels/1186424376300679209/1400673644065325149) [[5] Flex Mode](https://docs.retellai.com/build/conversation-flow/flex-mode) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.