Skip to content

AI Persona

A persona defines the identity, language style, and constraints of the AI for a single automation. The persona forms the basis of the behavior of the AI nodes (Ask AI, AI Agent, AI Orchestrator) that run within the flow. All persona fields are compiled into a single system prompt; advanced mode allows you to edit that raw prompt directly.

Personas are available for AI-type automations. Open your automation, then select the Persona in /automations/<id>/persona.

When the persona is still empty (a new automation), the page first displays the template gallery : choose one of the templates to fill in all fields automatically, or choose Blank to start from scratch. Once selected, the structured persona fields will open.

The structured configuration is divided into three tabs: Identity, Behavior, and Guardrails.

FieldFunction
Agent nameBot name. Example: “Virtual assistant for Mahadata.”
Agent roleThe bot’s role and background. Example: “Customer service assistant for banking products.”
LanguageThe primary language of responses — English, Indonesia, 中文, or Melayu.
FormalityThe level of formality — Formal or Informal. For Indonesian, formal uses “Anda” and informal uses “kamu”.
FieldFunction
ToneThe tone of interactions — Professional, Friendly, Neutral, Formal, or Custom (free-form description).
EmojiEmoji usage — None (no emoji), Tone-linked (follows the tone), or Always.
GreetingOpening message when a conversation starts. An optional toggle allows using variables inside the greeting.
Answer lengthThe expected response length — Concise, Standard, or Detailed.
ConfidenceConfidence threshold (slider 0–100%). If the answer’s confidence falls below the threshold, the bot chooses a fallback behavior instead of answering with uncertainty.
FallbackBehavior when the AI is unsure — Admit uncertainty, Clarifying question, Escalate (escalate to an agent), or Custom message.
Conversation contextConversation history context sent to the model — None, Recent, or Summarized. Recent/Summarized modes add a slider for the number of messages (3–20) and a token limit (500–4000).
FieldFunction
ScopeDescription of the scope — what the bot is responsible for.
Blocked topicsList of topics the bot must not discuss (added as tags).
PII policyHandling of personal data — Mask, Block, Warn, or None.
Off-topic actionAction when a message is out of scope — Redirect, Ignore, or Escalate.
Custom rulesList of additional free-form rules the bot must follow.

The following table summarizes the default values, all options, and the limits of each persona field — useful when you’re setting up a persona from scratch or verifying an API payload.

FieldTabDefaultOptions / Limits
Agent nameIdentity(empty)Free text
Agent roleIdentity(empty)Free text (multiline)
LanguageIdentityEnglish (en)en English, id Indonesia, zh 中文, ms Melayu
FormalityIdentityFormalFormal, Informal
ToneBehaviorProfessionalProfessional, Friendly, Neutral, Formal, Custom
EmojiBehaviorNoneNone, Tone-linked, Always
GreetingBehavior(empty)Free text + variable toggle (off by default)
Answer lengthBehaviorStandardConcise, Standard, Detailed
ConfidenceBehavior70%Slider 0–100%, step 5
FallbackBehaviorAdmit uncertaintyAdmit uncertainty, Clarifying question, Escalate, Custom message
Conversation contextBehaviorRecentNone, Recent, Summarized
Context — message countBehavior10Slider 3–20, step 1 (only in Recent/Summarized mode)
Context — token limitBehavior2000Slider 500–4000, step 100 (only in Recent/Summarized mode)
ScopeGuardrails(empty)Free text
Blocked topicsGuardrails(empty)List of tags; duplicates are ignored
PII policyGuardrailsMaskMask, Block, Warn, None
Off-topic actionGuardrailsRedirectRedirect, Ignore, Escalate
Custom rulesGuardrails(empty)List of free-text rules
Advanced modeHeaderOffToggle on/off (raw system prompt)

Some fields only appear after a specific option is selected:

  • The tone description box appears when Tone = Custom.
  • The custom message box appears when Fallback = Custom message.
  • The message count & token limit slider appears when Conversation context = Recent or Summarized (None mode hides it).
  • Greeting variable hint appears when the variable toggle on Greeting is enabled.
  • The formal/informal (Anda/kamu) hint on Formality only appears when Language = Indonesia.

Model & Temperature settings (per node, not in Persona)

Section titled “Model & Temperature settings (per node, not in Persona)”

Persona page not has a model picker or temperature field. These settings are configured per node in the flow builder, on each AI node:

  • Ask AI — has the field Model override field (leave empty to use the default from the environment), Temperature (default 0.3), Max tokens, provider selection (OpenAI / Anthropic), and the node-specific system prompt.
  • AI Agent — has the field Model (default gpt-4o), Temperature (default 0.2), Max steps, and the node-specific system prompt.

Details of each node are available at Node Reference.

Click Save to save the persona.

  • Start from a template or structured mode. Fill in the fields one by one, test the results, then switch to a raw prompt if you need fine-tuning.
  • Test with real conversations. Use Simulator to test the persona with actual customer scenarios.
  • Guardrails matter. Always define what the bot must NOT do, not just what it may do.