Script variables
The following variables are available for use in script text.
Note: Only variables applicable to the campaign type can be used in a campaign's script.
| Variable name | Script variable | Output example (as in preview ) |
|---|---|---|
| Address | {Address} |
123 Demo Street Note: This variable is for the |
| Appointment Date/Time | {Appointment.Scheduled} | 01-15-2019 12:00:00 PM |
| Assigned Agent | {AssignedAgent} | DFX Agent |
| BDC Agent First Name | {BDCAgent.ActorFirstName} |
BDC |
| BDC Agent Last Name | {BDCAgent.ActorLastName} | Agent |
| Booking Date | {BookingDate} | 01-15-2019 12:00:00 PM |
| Call Attempts | {CallAttempts} | 2 |
| Campaign Description | {CampaignDescription} | |
| Campaign Name | {CampaignName} | |
| Campaign Type | {CampaignType} | |
| City | {City} |
Los Angeles Note: This variable is for the |
| Confirmation Code | {ConfirmationCode} | DFX-BTVCE |
| Country | {Country} |
United States Note: This variable is for the |
| Customer First Name | {Appointment.CustFirst} | Joe |
| Customer ID | {CustomerID} | 123456 |
| Customer Last Name | {Appointment.CustLast} | Doe |
| Customer Name | {CustomerName} | Joe Doe |
| Dealer ID | {DealerID} | |
| Dealership Address | {BDCAgent.DealerAddress} | 123 Demo Street |
| Dealership Name | {BDCAgent.DealerName} | |
| Dealership Phone Number | {BDCAgent.PhoneWork} | (555) 555-5555 |
| Declined Services | {DeclinedServices} |
REPLACE ENGINE AIR FILTER | WIPERS |
| Declined Services - French | {DeclinedServices_French} | |
| Declined Services - Spanish | {DeclinedServices_Spanish} | |
| Deferred MPI Recommendations | {DeferredEVIRRecommendations} |
REPLACE ENGINE AIR FILTERS | WIPERS Note: Services completed since the campaign was run are excluded. Note: List may be restricted. See Additional option for OP Code campaigns:
|
| Deferred MPI Recommendations - French | {DeferredEVIRRecommendations_French} | |
| Deferred MPI Recommendations - Spanish | {DeferredEVIRRecommendations_Spanish} | |
| {Email} |
test@dealer-fx.com Note: This variable is for the |
|
| Expected Next Service Mileage | {ExpectedNextAppointment.CurrentMileAge} | 50000 |
| Expected Next Service Mileage Minus 10% | {ExpectedNextAppointment.CurrentMileAge_Minus10Percent} | 45000 |
| Expected Next Service Mileage Plus 10% | {ExpectedNextAppointment.CurrentMileAge_Plus10Percent} | 55000 |
| Home Phone | {HomePhone} |
(555) 555-5555 Note: This variable is for the |
| Last Call Action | {LastCallAction} | CUSTOMER REQUESTS CALL BACK |
| Last Call Date | {LastCallDate} | 01-15-2019 12:00:00 PM |
| Last Call Notes | {LastCallNotes} | Comment |
| Last Service Coordinator | {LastServiceCoordinator} | DFX Agent |
| Mileage | {Mileage} | 5000 |
| Mobile Phone | {MobilePhone} |
(555) 555-5555 Note: This variable is for the |
| New Online Scheduler Link to Appointment | {ScheduleAnywhereAppointmentLink} |
https://scheduleanywhere.dealer-fx.com/[DealerID]/DFX-BTVCE |
| New Online Scheduler Link to Vehicle | {ScheduleAnywhereVehicleInfoLink} | https://scheduleanywhere.dealer-fx.com/[DealerID]/VIN012345678901234 |
| Online Scheduler Link | {OnlineSchedulerLink} |
Note:The preview is an unbranded version of the dealer's Online Scheduler (legacy version). Note: For Appointment Confirmation and Appointment for Tomorrow Confirmation campaign scripts, the appointment confirmation code is included in the link.
|
| Online Scheduler Link (French) | {OnlineSchedulerLink_French} | |
| Online Scheduler Link (Spanish) | {OnlineSchedulerLink_Spanish} | |
| Selected Services | {SelectedServices} |
-Oil Change -Tire Change Note: This is available for Appointment Confirmation and Missed/No Show campaign type scripts. It shows the currently booked services |
| Selected Services (French) | {SelectedServices_French} | -Oil Change -Tire Change |
| Selected Services (Spanish) | {SelectedServices_Spanish} | -Oil Change -Tire Change |
| Service Advisor First Name | {Appointment.AdvisorFirst} |
Service Note: This is the Advisor from the appointment creation. |
| Service Advisor Last Name | {Appointment.AdvisorLast} |
Advisor Note: This is the Advisor from the appointment creation. |
| State | {State} |
CA Note: This variable is for the |
| Task Created Date | {TaskCreatedDate} | 01-15-2019 12:00:00 PM |
| Vehicle Delivery Date and Time | {VehicleDeliveryDateTime} | 01-15-2019 12:00:00 PM |
| Vehicle ID | {VehicleID} | 123456 |
| Vehicle Year/Make/Model | {Appointment.VehicleName} | [Year][Make][Model] |
| VIN | {VIN} | VIN01234567901234 |
| Zip | {Zip} |
90210 Note: This variable is for the |