Skip to main content

Salesforce setup for Edge Webforms

This page covers the Salesforce-side configuration needed to receive webform submissions via Edge Webforms.

Custom fields on Trip

Create these subscriber custom fields on KaptioTravel__Trip__c. These are org-specific fields, not managed-package fields.

Webform fields (populated from form answers)

LabelAPI NameTypeNotes
Selected Tour and TierSelected_Tour_Tier__cText(255)Pre-populated from the tour page
Travel DateTravel_Date__cTextVisitor-entered travel date
Travel Date FlexibleTravel_Date_Flexible__cCheckbox+/- 5 day tolerance
Group Size AdultsGroup_Size_Adults__cNumberNumber of adults
Travel FromTravel_From__cTextDeparture city
Ready to BookReady_To_Book__cPicklistYes / Still exploring options
Best Time to CallBest_Time_To_Call__cPicklistDynamic options: Today HH:00, Tomorrow HH:00
Marketing Opt OutMarketing_Opt_Out__cCheckboxConsent withdrawal
Additional RequestsAdditional_Requests__cLong Text Area(5000)Free-text

B2B fields (populated for travel agent submissions)

LabelAPI NameTypeNotes
Is Trade EnquiryIs_Trade_Enquiry__cCheckboxTrue when submitted by an agent
Travel Agency NameTravel_Agency_Name__cTextAgency name
IATA / Accreditation NumberAgent_Accreditation_Number__cText(20)Used to match to Travel Agent Account

Intelligence fields (populated by scoring engine when enabled)

These fields are only needed when intelligence.enabled: true. They can be created upfront or deferred.

LabelAPI NameTypeNotes
Enquiry Priority TierEnquiry_Priority_Tier__cTextTier name (e.g. Urgent, Standard, Quick Quote)
Enquiry Priority ScoreEnquiry_Priority_Score__cNumber0-100
Enquiry Score TagsEnquiry_Score_Tags__cTextComma-separated tags
Enquiry Routing QueueEnquiry_Routing_Queue__cTextSuggested queue name
Enquiry SLA TargetEnquiry_SLA_Target__cTextSLA target (e.g. 1h, 4h)

Page layout

Add a WebForm Information section to the Trip page layout:

  • Layout: 2 columns
  • Left column: Selected Tour and Tier, Travel Date, Group Size Adults, Ready to Book, Best Time to Call
  • Right column: Travel Date Flexible, Travel From, Marketing Opt Out, Additional Requests

For B2B, add a second section Trade Enquiry with: Is Trade Enquiry, Travel Agency Name, IATA / Accreditation Number.

Field-level security

Grant Read + Edit on all webform fields via the Kaptio Admin Permission Set (or the equivalent admin permission set in your org):

Setup > Permission Sets > Kaptio Admin Permission Set > Object Settings > Trip > Edit > enable the webform fields.

Record type and status

Edge Webforms creates Trips with:

  • Record Type: as configured in trip-mapping.yaml target.recordType (default: Qualification)
  • Status: as configured in trip-mapping.yaml target.defaultStatus (default: Enquiry)

Ensure these values exist in your org's Trip record type and status picklist.