NativeFlex Field Library & Syntax Reference
Last updated: July 15, 2026
Syntax
Each mapping entry has a CRM field name (key) and a value expression (how it resolves).
Expression | Type | Example | Resolves To |
|---|---|---|---|
| Dynamic field |
|
|
| Static string |
|
|
| Prefix + dynamic |
|
|
| Dynamic + suffix |
|
|
| Boolean (case-insensitive) |
|
|
Missing variables — if a referenced variable is None or absent, the field is dropped from the payload entirely. Empty strings are preserved.
Field Library
Lead Fields
Variable | Description | Data Type | Example Value |
|---|---|---|---|
| Lead integer PK |
|
|
| Lead PK as string |
|
|
| Region ID |
|
|
| Lead hash code |
|
|
| First name |
|
|
| Last name |
|
|
| Computed full name |
|
|
| Email address |
|
|
| Raw phone |
|
|
| E.164 formatted phone |
|
|
| Community ID |
|
|
| Extra info blob |
|
|
| Computed Further dashboard URL |
|
|
| Today + 30 days (YYYY-MM-DD) |
|
|
| External CRM lead ID |
|
|
| CRM location code (with override) |
|
|
| Formatted conversation transcript |
|
|
VSA Fields
Only present for chat leads.
Variable | Description | Data Type |
|---|---|---|
| Channel source |
|
| Care type |
|
| Timeline |
|
| Looking for |
|
| Initial intent |
|
| Time on site |
|
| Asked a question |
|
| Viewed floor plans |
|
| Viewed gallery |
|
| Viewed pricing |
|
| Actions after pricing |
|
| Number of site visits |
|
Browser & UTM Fields
Only present when browser data is captured.
Variable | Description | Data Type |
|---|---|---|
| HTTP referrer |
|
| Device type |
|
| Traffic source |
|
| IP address |
|
| Page URL |
|
| User agent string |
|
| Headers referrer |
|
| Per-cookie value, dynamic key |
|
| URL param (e.g. |
|
Tour Fields
Latest tour only — only present if a tour exists.
Variable | Description | Data Type | Example Value |
|---|---|---|---|
| Tour start date (local) |
|
|
| Confirmed status |
|
|
Tour Payload Fields
Only present when sending a tour event.
Variable | Description | Data Type |
|---|---|---|
| Tour integer PK |
|
| Associated lead ID |
|
| Tour status |
|
| Start datetime (local, datetime obj) |
|
| Start datetime as string |
|
| End datetime (local, datetime obj) |
|
| End datetime as string |
|
| Tour notes |
|
SMS Message Fields
Variable | Description | Data Type |
|---|---|---|
| SMS message ID |
|
| Conversation type |
|
| Sender type |
|
| Sender phone |
|
| Receiver phone |
|
| Message body |
|
| Delivery status |
|
| Associated lead ID |
|
| Sent-at timestamp |
|
| External CRM lead ID |
|
Email Message Fields
Variable | Description | Data Type |
|---|---|---|
| Email message ID |
|
| Conversation type |
|
| Sender type |
|
| Subject line |
|
| From address |
|
| To address |
|
| Delivery status |
|
| Associated lead ID |
|
| Sent-at timestamp |
|
| External CRM lead ID |
|
Insurance Fields
Only present when insurance info is collected.
Variable | Description | Data Type |
|---|---|---|
| Any insurance field: |
|
| Base64-encoded card image |
|
| MIME type of card image |
|
| File name of card image |
|
Dynamic / Save-As Fields
Variable | Description |
|---|---|
| VSA save-as answer, e.g. |
Sample Payloads
Below is a representative post_lead_payload_config showing all syntax forms in use.
Post Lead
{
"FirstName": "John",
"LastName": "Smith",
"Email": "john.smith@example.com",
"Phone": "+15551234567",
"Business_Unit__c": "LOC-01",
"External_ID__c": 4821,
"LeadSource": "Further",
"Status": "New",
"Conversation__c": "VSA: Hi! Are you looking for senior living...",
"DashboardLink__c": "https://app.furtherai.com/leads/4821",
"CloseDate": "2026-05-21",
"ReferenceCode__c": "CHAT-LOC-01",
"Method_of_Contact__c": "chat",
"CareType__c": "assisted_living",
"Timeline__c": "3-6 months",
"NumberOfVisits__c": 3,
"CTMGoogleAdsClickID__c": "abc123xyz",
"CTMSource__c": "google",
"CTMMedium__c": "cpc",
"CTMCampaign__c": "brand-search-2026",
"CTMReferringWebpage__c": "https://google.com",
"CTMLandingPage__c": "https://communitysitename.com/assisted-living"
}Mapping config:
FirstName → lead_first_name
LastName → lead_last_name
Email → lead_email
Phone → lead_formatted_phone
Business_Unit__c → crm_location_code
External_ID__c → lead_id
LeadSource → "Further"
Status → "New"
Conversation__c → conversation
DashboardLink__c → lead_dashboard_url
CloseDate → lead_close_date_30_days
ReferenceCode__c → "CHAT-"{crm_location_code}
Method_of_Contact__c → vsa_channel_source
CareType__c → vsa_care_type
Timeline__c → vsa_timeline
NumberOfVisits__c → vsa_number_of_visits
CTMGoogleAdsClickID__c → url_gclid
CTMSource__c → url_utm_source
CTMMedium__c → url_utm_medium
CTMCampaign__c → url_utm_campaign
CTMReferringWebpage__c → browser_referrer
CTMLandingPage__c → browser_url_locationPost Message (SMS)
{
"WhoId": "EXT-001",
"Body": "Hi John, just following up on your visit...",
"Direction": "outbound",
"SentAt": "2026-04-21T14:32:00Z"
}Mapping config:
WhoId → external_crm_lead_id
Body → sms_text
Direction → sms_sender_type
SentAt → sms_sent_atPost Tour
{
"WhoId": "EXT-001",
"StartDate": "2026-04-25",
"Status": "scheduled",
"Notes": "Prefers morning tour, family of 3 attending"
}Mapping config:
WhoId → external_crm_lead_id
StartDate → tour_start_date_local_str
Status → tour_status
Notes → tour_notesPatch Insurance
{
"WhoId": "EXT-001",
"InsProvider": "Aetna",
"InsMemberID": "MEM-987654",
"InsPolicyGroup": "GRP-001",
"InsPolicyDOB": "1945-03-15"
}Mapping config:
WhoId → external_crm_lead_id
InsProvider → insurance_provider
InsMemberID → insurance_member_id
InsPolicyGroup → insurance_policy_group
InsPolicyDOB → insurance_policy_holder_dobPost Insurance Card Image
{
"WhoId": "EXT-001",
"ImageData": "iVBORw0KGgoAAAANSUhEUgAA...",
"MimeType": "image/jpeg",
"FileName": "insurance_card.jpg"
}Mapping config:
WhoId → external_crm_lead_id
ImageData → insurance_card_image_base64
MimeType → insurance_card_image_mime_type
FileName → insurance_card_image_file_name