Dalil is now Vetta. Read the storyThe story

Browse articles

Setting up AI variables

How AI variables write each message in Vetta agents and sequences: the AI Message Settings page, the prompt, the channel, the Input sources including custom CRM columns, and skill files.

Updated October 14, 2026 · 5 min read

An AI variable is a piece of a message that the AI writes for each lead: a whole email body, a subject line, an opening sentence, a short phrase like the lead's target market. You insert it in a step like any other variable, as {{aiMessage.first_email_body}}, and every lead gets their own version.

Everything about AI variables lives in AI Message Settings, and it works the same in agents and in standalone sequences.

Where to find AI Message Settings

  • In an agent: open the agent's Settings tab and pick AI Message Settings.
  • In a sequence: open the sequence's settings (the gear in the sequence toolbar) and pick AI Message Settings.
  • From a step: in any email, LinkedIn or WhatsApp step, the Manage AI message button in the editor's toolbar (shown as AI message on when the step already uses AI) opens the same page.

The page has two parts:

  • Generate AI message for this sequence: Generate sets up one AI variable for every step in this sequence (a subject and a body for each email step, a message for each LinkedIn or WhatsApp step) and inserts them into the empty steps. It is the fastest way to start.
  • AI variables: every variable in the sequence, with its name, its prompt and how many input sources and skill files it uses. New AI variable adds one; Configure variable opens one.

Configure a variable

Configure AI variable has five parts:

  1. Variable name: letters, numbers and underscores, starting with a letter. The {{aiMessage...}} tag under it is what you insert in a step.
  2. Written for: the channel (Email, LinkedIn or WhatsApp). For email, tick Also write the subject line to have the variable write a subject too, with an optional Subject prompt.
  3. Prompt: what the AI should write for this message, per lead. Be specific about length, structure and what to leave out. For example: "Write the first outreach email body in our voice: open on the signal that surfaced them, one line on what we do for finance teams like theirs, one proof point, and a soft ask for 20 minutes. 80 words at most, no subject line and no sign-off."
  4. Input: what the AI knows about the lead (below).
  5. Skill files: the business context documents that set the voice and the facts (below).

Save variable keeps your changes.

Input: what the AI knows about the lead

Open Input to see the sources sent with every lead:

SourceWhat it sends
Basic detailsWho the lead is and where they work: name, job title, email, LinkedIn, city, and the company's name, industry, size, website and addressAlways on
Hyper-personalisationEnrichment notes, when the lead has them: work history, post history, reactions and comments, company posts and job searchOn or off
SignalsWhy this lead was picked up: the post, comment, hiring event or job change that surfaced them (leads from Lead Scout only)Always on
Previous AI messagesWhat has already been written for this lead in this sequence, so a follow-up does not repeat the openerAlways on

Turn Hyper-personalisation off for a shorter, cheaper prompt that sticks to the basics.

Passing custom CRM columns

Click Show more to pick individual fields from the lead's record and everything related to it: Person, Company, Linked Opportunities and the other records related to the lead. Expand a section and switch on the columns you want, including your own custom fields, such as Hiring roles or Tech stack on the company. The person and company essentials are left out here, since Basic details already sends them.

This is how you hand the AI data that only your team has, for example a segment, a qualification note or a field filled by a workflow.

Skill files

Open Skill files to see the documents attached to the variable, then Add business context to pick more in Select business context files: tick the files and Confirm. Skill files are the business context documents of your workspace, so one file (your voice, your proof points, your pricing) can guide many variables. Editing them is covered in Tuning AI messages with skill files.

Tips

  • One job per variable. A variable for the opener and another for the body are easier to tune than one that does everything.
  • Put the rules in the prompt, the facts in the skill file. The prompt says what to write; the skill file says how you sound and what is true about your product.
  • Preview before you send. Generate a preview for a few leads after every change: see Previewing and regenerating messages.

Key outcome

A prompt, the right inputs and a good skill file are what make an AI message read like it was written for one person. Set them up once per variable and every lead the agent or sequence reaches gets a message built from their own data.

Still stuck?

We reply within two hours on weekdays.

Contact support