Professional Documents
Culture Documents
Omni Studio Use Case
Omni Studio Use Case
--------------------------------------------------------------
create omnisripts
name --> Quoting Process Omniscript
------------------------------------------------------
Step1 --> Coverage Information
2 fiels are needed
1. Coverage Amount is Insured Amount in Quote object
100000
150000
200000
250000
300000
350000
400000
450000
500000
550000
600000
650000
700000
750000
800000
850000
900000
950000
1000000
2. Coverage Term is Coverage Term in Quote object( picklist values should be same)
---------------------------------------------------------------
Quote:
Coverage Amount: value entered in Step 1
Coverage Term: value entered in Step 1
Monthly Premium Amount(USD): value of the yearly premium calculated in USD (see
Premium Calculation process below)
Monthly Premium Amount(CAD) display only if Quote in CAD is checked in Step 2 (see
Converting Premium amount below for conversion)
https://apilayer.com/marketplace/exchangerates_data-api?
_gl=1*18e5kbz*_ga*MTg2OTI5NDY4Mi4xNjY4Njk2ODk1*_ga_HGV43FGGVM*MTY2ODY5Njg5NC4xLjAuM
TY2ODY5Njg5NC42MC4wLjA.#
vNZOVFvArVzBFBhBb56XuLTq3Ey7Izgp
IPResult:conversionRate: 1.342755
{"ContextId":"006Dn000002NS9tIAG","timeStamp":"2022-12-
02T16:09:52.412Z","userProfile":"System Administrator","userTimeZone":"-
480","userCurrencyCode":"USD","userName":"anitha.singh.salesforce-
70053128172@industryapps.edu","userId":"005Dn000000y5p5IAA","Coverage Information":
{"Coverage_Amount":"100000","CoverageTerm":"10 years"},"Step2":{"Number of
cigarettes":1,"age":18,"Checkbox1":true,"hieghtsInInches":58,"BMI
Index":14.628418549346017,"What is your sex":"Female","How tall are
you":"4'10\"","How_much_do_you_weigh":70,"do_you_smoke":"yes","What_your_birthday":
"2003-12-04"},"Premium Amount":2340,"conversionRate":1.347415,"Step3":{"Quote":
{"ca":"100000","coverageTerm":"10
years","monthly_p_m":2340,"mpa_cad":3152.9511},"Summary of your Quote":
{"Sex":"Female","BMI_Index":14.628418549346017,"Age":18,"Smoker":"yes"}},"contactId
":"","person_account_name":"Anitha Singh","account of
opportunity":"001Dn000005rocMIAQ","DRId_Quote":"quoteOppid"}