GPTWeb Token Reference Guide

12 views
Hello! GPTWeb's token system lets you personalize content dynamically across emails, campaigns, agent messages, modals, and on-site widgets. Tokens pull live visitor profile data, session context, and system values directly into your content — no code required. Combined with conditional logic and formatters, tokens become a powerful personalization engine for AI Campaigns, Agentic Workflow, and Email Sending across your organization's entire visitor lifecycle.
6+
Token Categories
10+
Built-in Formatters
5+
Conditional Operators
Unlimited
Use Cases

Token Syntax

Tokens follow a double-curly-brace syntax: - Basic: {{token_name}}
  • With Formatter: {{token_name | formatter}}

  • With Default: {{token_name | default('fallback value')}}

  • Conditional: ..

  • Nested Conditional: ...

All Available Tokens

Visitor Identity Tokens

Token Description Example Output
{{raw:first_name}} Visitor's first name Alex
{{raw:last_name}} Visitor's last name Johnson
{{full_name}} Visitor's full name Alex Johnson
{{raw:email}} Visitor's email address alex@acme.com
{{company}} Visitor's company name {{visitor.company}}
{{job_title}} Visitor's job title VP of Marketing
{{phone}} Visitor's phone number +1 415 555 0100
{{city}} Visitor's city (geo) San Francisco
{{country}} Visitor's country (geo) United States
{{state}} Visitor's state/region (geo) California

Engagement & Lifecycle Tokens

Token Description Example Output
{{visitor_score}} Current AI lead score 82
{{visitor_stage}} Lifecycle stage label DQL
{{dql_achieved_date}} Date DQL status was earned 2026-03-15
{{became_customer_date}} Date visitor became a customer 2026-03-28
{{sessions_count}} Total number of site sessions 7
{{last_seen}} Date/time of last visit 2026-03-31
{{first_seen}} Date/time of first visit 2026-02-10
{{identification_source}} How visitor was identified chat
{{pages_viewed}} Total pages/topics viewed 14
{{current_segment}} Active segment name Enterprise Prospect

Session & Context Tokens

Token Description Example Output
{{current_page}} Current page URL path /pricing
{{referrer}} Referring URL or source google.com
{{utm_source}} UTM source parameter newsletter
{{utm_medium}} UTM medium parameter email
{{utm_campaign}} UTM campaign name spring-launch
{{device_type}} Device type of visitor desktop
{{browser}} Visitor's browser Chrome
{{session_id}} Unique session identifier ses_a1b2c3d4

Meeting & CRM Tokens

Token Description Example Output
{{meeting_type}} Type of meeting booked Demo Request
{{meeting_duration}} Duration of booked meeting 30 min
{{meeting_provider}} Calendar provider used Calendly
{{crm_account_id}} CRM account record ID 0015g00000XYZ
{{crm_contact_id}} CRM contact record ID 0035g00000ABC
{{crm_owner_name}} Assigned CRM owner name Sarah Smith
{{crm_owner_email}} Assigned CRM owner email sarah@yourco.com

System & Site Tokens

Token Description Example Output
{{site_name}} Name of your GPTWeb site {{visitor.company}}
{{site_url}} Base URL of your site https://acme.gptweb.com
{{today}} Today's date 2026-04-01
{{current_year}} Current calendar year 2026
{{current_month}} Current month name April
{{unsubscribe_url}} One-click unsubscribe link https://...
{{webinar_link}} Dynamic event/webinar URL https://...

All Available Formatters

Token Formatters

Formatter Description Input Output
uppercase Converts string to ALL CAPS {{raw:first_name | uppercase}} ALEX
lowercase Converts string to all lowercase {{company | lowercase}} {{visitor.company}}
capitalize Capitalizes first letter of each word {{job_title | capitalize}} Vp Of Marketing
truncate(n) Truncates string to n characters {{full_name | truncate(5)}} Alex ...
default('val') Fallback if token is empty/null {{phone | default('Not provided')}} Not provided
date('format') Formats a date token {{today | date('MMM D, YYYY')}} Apr 1, 2026
number Formats a number with commas {{visitor_score | number}} 1,024
currency('$') Formats number as currency {{deal_value | currency('$')}} $5,000
replace('a','b') Replaces substring a with b {{company | replace('Corp','Co.')}} Acme Co.
strip_html Removes HTML tags from string {{bio | strip_html}} Plain text only
url_encode URL-encodes a string value {{raw:email | url_encode}} alex%40acme.com
round Rounds a numeric token value {{visitor_score | round}} 82

Conditional Token Examples

Example 1 — Personalized greeting with fallback:
Hi, Welcome back! Hi, Welcome back!
Example 2 — Stage-based messaging for DQLs:
Great news — you qualify for a personalized demo! Schedule yours here Welcome back! Check out what's new. Explore how can help your team today.
Example 3 — Score-based urgency message with formatter:
your engagement score is — you're a top match for our program! You're making great progress! Your score:. Welcome! Let's find the right solution for.
Example 4 — Meeting confirmation email with date formatter:
Hi, Your with is confirmed! Details:
  • Duration: - Provider: - Booked on: We look forward to connecting with you from.
Example 5 — UTM-aware campaign with URL encoding:
Thanks for clicking through our newsletter! Here's a special offer just for subscribers from. Welcome from LinkedIn! Welcome to! Track your journey:?ref=
Image
tokens work seamlessly across AI Campaigns, Agentic Workflow, AI Segmentation, Email Sending, and CRM Sync — giving your organization the power to deliver truly individualized experiences at scale. Learn more about Using Tokens in the platform docs. GPTWeb is the future of engagement, websites, and marketing automation combined — built for the AI era, built for now.

Need more help?

Our AI assistant can answer any question instantly.

Continue This Conversation