ym88659208ym87991671
Smartapp templates | Documentation for developers

Smartapp templates

Last updated on April 10, 2024

English version of the documentation is under development.

How to open a template

When creating a smartapp in Graph, you can choose templates with ready-to-use examples. To do this:

  1. Go to SmartMarket Studio.
  2. Click Create project.
  3. Select the Graph project.
  4. Select one of the available templates.

Please note that your smartapp should not be an exact duplicate of the selected template. Use it as an example.

Templates for online orders

Delivery information

The template collects information from the user to send it to the delivery service: full address, day and time, recipient's name and phone number. Communication with the user takes the form of a conversation.

Acceptance of online orders

A smartapp template in which the user can select and order a product or service. Communication with the user takes the form of a conversation.

Payment for products and services

The template shows how to connect payments using the example of ordering products and paying for delivery. The smartapp uses the template to ask the user for their phone number and delivery address, then calls the API to create an invoice for payment and returns the payment result to the user.

Purchasing suggestions

Using plastic windows as an example, smartapp gives 5 suggestions for choosing a product. It is a great way to help the customer and offer your services at the same time.

Templates to promote your brand

Company business card

With this template, you can create a business card for a company that offers products or services to users. The template has several options: greeting, screen with buttons, and FAQ.

Issuing coupons

Using the example of a manicure studio, the smartapp invites the user to answer a few questions, get a coupon with a discount, and immediately make a reservation for the service.

Questionnaire for website creation

The smartapp helps to understand the differences between the company's services, e.g., types of websites, types of manicure or repair.

Information templates

Employee onboarding

Quick onboarding of new employees in the company without the involvement of HR specialists. The smartapp guides the new employee through the whole process and tells how to get the equipment, where to get lunch, who to contact if there are any issues, etc.

Candidate questionnaire

The smartapp provides information about vacancies and helps candidates fill out an application. It is a great way to streamline HR processes.

Class schedule

The smartapp shows the schedule for the day for the selected group. It is great for students and pupils.

FAQ assistant

With this template, you can build a database of frequently asked questions and train assistants to answer them. For example, you can pre-record answers to questions about delivery, payment, contacts, range of products, etc. To learn more, see FAQ assistant.

Event management

The smartapp for people who organize conferences, seminars, webinars, and other events. It will show the schedule, provide information about the speakers, and answer questions.

Templates with examples of implementation

Geography game

A template for the geography game which represents a dialog between the user and the assistant. The assistant takes the names of the cities from an external database.

Connecting the monetization

With this template, you can create a smartapp in the format of an online store. The template has the same options as the "Business card" template, but it also provides an option to create a cart and pay for the order.

For users to be able to pay for products and services, you need to add the following to the smartapp:

  • Payment token service_id
  • Link or QR code with a link to the user agreement
  • Link or QR code with a link to the privacy policy if you collect personal data (e.g., delivery address).

The template script ends with payment from the user and sending the order information to the smartapp owner's email.

Working with cards

The template shows what different types of cards in a smartapp look like. In Graph, you can add cards with a list and cards with visual information (images, description, links).

Working with sounds

The template shows how to work with sounds through the JS Code and Audio blocks. You can upload your own sounds to the template or use available sound tracks from the library.

The test widget will not display text with speech synthesis markup.

Working with characters

The template demonstrates the assistant's emotions and shows how the responses may differ for different characters.

The assistant shows emotions using animations, so test this functionality on the device or in the emulator. You will not be able to run this template in the test widget.

Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.