UNPKG

@kiwicom/smart-faq

Version:

Smart FAQ

62 lines (43 loc) 1.96 kB
--- id: cs-phones title: Automatic fetching of Phone line related data sidebar_label: CS Phones --- ## Summary Customer support phone lines are available to all customers that have a booking on Kiwi.com. Now telephonist specialists are able to add, remove and change phones also opening and closing hours easily in few clicks without the need of notifying FE to change the static file and wait for release, the up-to-date data is fetched on the UI automatically. Customer support phone lines in the contact form: ![Guarantee chat in contact form](/frontend/smart-faq/img/docs/cs-phone-lines.png) ## Prioirty line Priority line can be switched on/off by splitster, ask in `#plz-splister-config`: ``` PRIORITY_PHONE_LINE: { defaultVariant: "off", variants: { on: 0, off: 1, }, userGroup: { lang: ["en"], }, description: "Enable paid priority phone line in contact form.", } ``` ## Fallback system Considering that this component displays information that is of high importance for the customer in emergency situations, we took some measures to make it more fail-safe. In the case when the servers serving the information displayed on this page are having an operational issue or the client's computer cannot reach them, we still try to display the correct information. The fallback information is simply a snapshot of the information that is stored on the normal servers, and it's accuracy is automatically verified once every day, therefore it's almost guaranteed to be up-to-date. ## Analytics Subcategory: `Contact Form` Cuckoo Actions: - `phonesDisplayed` - Standard phones lines were displayed for the customer - `phonesPriorityDisplayed` - Priority line was displayed for the customer - `phoneClicked` - Customer clicked on phone to make a call ## GraphQL - You can retrieve info about all customer support numbers using `AllCustomerSupportNumbers` query or using `customerSupportNumber` for a single phone number.