GPTWeb Tokens: Summary & Conditional Examples

8 views
Hello! GPTWeb tokens let you personalize every touchpoint with dynamic visitor-specific data. Instead of generic messages, you can say "Hello!" automatically. Tokens work in welcome messages, campaigns, emails, agent descriptions, forms, and even your system prompts.
Token Basics
Tokens use double curly braces syntax and get replaced with actual visitor data at runtime. Organizations like your organization can insert visitor names, companies, scores, and custom fields anywhere tokens are supported.
Where Tokens Work
Location Tokens Conditionals
Welcome Message Yes Yes
Campaign Messages Yes Yes
Campaign CTAs Yes Yes
Campaign Titles Yes Yes
Form Labels Yes Yes
Form Placeholders Yes Yes
Email Templates Yes Yes
AI Agent Descriptions Yes Yes
System Prompts Yes Yes
Available Token Categories
  • Visitor - Identity tokens (name, email, company, phone, title)
  • Activity - Engagement metrics (visits, time on site, conversation count)
  • Lead Score - Scoring tokens (total score, engagement, behavioral, demographic)
  • AI Scoring - AI-calculated scores and confidence levels
  • Site Info - your organization branding tokens
  • Custom Fields - Your custom visitor fields
  • Conditionals - If/unless block helpers for logic
Conditional Tokens
conditionals let you show different content based on visitor data. Use if/else blocks to create personalized experiences based on whether visitors are known, their scores, or any custom conditions.
Basic If/Else Syntax
Welcome back! Welcome! Let me help you get started.
Example: Score-Based Messaging
Show different welcome messages based on lead score:
Welcome back! You're a DQL. Hi, your score: /100 Welcome! Let me help you get started.
Example: Company-Based Personalization
Tailor messages based on whether company is known:
Great to see someone from! Welcome! What company are you with?
Example: Visit Count Targeting
Show different CTAs for new vs. returning visitors:
You've visited times - ready to try a demo? Welcome back for visit #! First time here? Let me show you around.
Example: Email-Based Routing
Route visitors differently based on email domain:
Welcome team member! Hi, thanks for visiting.
Fallback Values
Use the OR operator (||) to provide fallback text when a token is empty:
This ensures anonymous visitors or visitors without certain fields still see appropriate content.
Token Picker Tool
GPTWeb includes a Token Picker that appears when you type the opening double braces in any supported field. It provides searchable categories and one-click insertion of all available tokens.
Real-World Campaign Example
Here's how you might combine multiple conditional patterns in a campaign welcome message:
you're already qualified! Let's discuss next steps. Welcome back! You're close to becoming a DQL (score: ). Thanks for visiting. Welcome! I'd love to learn about your needs.
Best Practices
  • Always provide fallback values for personalization tokens
  • Use conditionals to create different experiences for known vs. anonymous visitors
  • Test tokens with both known and anonymous visitor profiles
  • Keep conditional logic simple and readable
  • Ensure every if block has a matching closing tag
  • Use the Token Picker to avoid syntax errors
GPTWeb is the future of engagement, websites and marketing automation combined that is built for the AI era, built for now.

Need more help?

Our AI assistant can answer any question instantly.

Continue This Conversation