opening_line might generate a unique opening sentence for each prospect based on their LinkedIn activity, recent company news, or job title, so every email starts with something genuinely relevant to that person.
How AI Variables Work
When Topo creates a sequence for a contact, it evaluates every AI variable referenced in the message templates. For each variable, it runs your custom prompt against the available contact and company data, generates the output, and stores it with that sequence. The generated value is then inserted wherever{{variable_name}} appears in the template.
Each AI variable is generated once per contact at the time the sequence is created. The value is stored and reused across all steps in that sequence — the AI does not re-generate it each time a message is sent.
Creating an AI Variable
Name the variable
Enter a name using lowercase letters, numbers, and underscores (e.g.,
opening_line, pain_point, case_study_match). This name becomes the template placeholder: {{opening_line}}.Write the prompt
Describe what the AI should generate. Be specific about tone, length, and format. For example:
Write a single sentence (max 20 words) that references something notable about the contact’s current role or their company’s recent activity. Keep it conversational and avoid sounding like an ad.
Choose the data sources
Select which data the AI can draw from when generating the variable:
- Contact data — name, job title, seniority, location, LinkedIn profile
- Company data — industry, size, technologies used, recent funding
- Recent signals — recent LinkedIn posts, job changes, news mentions
Using AI Variables in Templates
Once a variable is created, insert it into any message template using double curly braces:{{first_name}}, {{company_name}}, etc.) in the same template. AI variables work in email subject lines, email bodies, LinkedIn message bodies, and LinkedIn invitation notes.
Testing a Variable
Before using a new AI variable in a live sequence, preview how it renders for a real contact.Select a contact
Search for and select a contact from your workspace. Topo will run the prompt using that contact’s data and display the generated output.
Shared Variables
All AI variables are organization-wide by default — any team member can reference them in their sequence templates. This makes it easy to standardize high-performing personalization patterns across your team.Consistent Messaging
Shared variables ensure that all team members use the same prompt logic for common personalization elements, keeping your outreach on-brand.
Centralized Management
Owners and Admins can update a variable’s prompt in one place and the change takes effect for all new sequences — no need to update individual templates.
Reference
What data sources are available for prompts?
What data sources are available for prompts?
When writing your prompt, you can reference the following data the AI has access to (based on your data source selection):
- Contact: full name, first name, last name, job title, seniority level, department, location, LinkedIn headline, LinkedIn summary, recent LinkedIn posts
- Company: name, domain, industry, employee count, estimated revenue, technologies detected, recent news, funding stage
- Signals: job changes in the past 90 days, recent LinkedIn activity, hiring signals
What happens if a contact is missing data?
What happens if a contact is missing data?
If the data source selected for a variable is unavailable for a particular contact (e.g., no LinkedIn profile exists), the AI will generate a fallback output or leave the variable blank, depending on how your prompt is written. To handle this gracefully, write your prompt to specify a fallback: “If no recent activity is available, write a generic but professional opening sentence instead.”
Is there a limit on how many AI variables I can create?
Is there a limit on how many AI variables I can create?
Yes. You can create up to 200 AI variables per scope (organization-wide). This limit applies to the total number of variables defined across your workspace, regardless of how many sequence templates reference them.