How to create a certificate
In this article, we will show you how to create certificates linked to the course without or with the help of the certificate constructor from MaviBot.
You can create and configure any certificates to your liking, without in-depth technical knowledge.
Issued certificates can be recreated and modified if necessary.
The certificate builder from MaviBot provides the ability to create a certificate with or without a link to your course.

Customize your certificate, turn your fantasy into reality, use any images that you like! You can also insert a variety of texts and format them as you see it.
Let's start!
To create a certificate, go to the “Courses” tab, where two tabs will be located on top. You need to go to the “Certificate builder”:

If you don't have any certificates created yet, then the button is displayed in the center of the workspace; if you have ready-made products, then it is on the right side of the screen.

After clicking on the "Create certificate" button, you will go to the basic settings of the certificate.

Main certificate settings
In the main settings of the certificate, the format and the binding to the course are configured. If you already have a course, the image for the certificate is selected.
Certificate name is a text field for the name of your certificate.

The certificate format allows you to select the form of your certificate: 1:1 (square), 16:9 (rectangular) or 4:3 (portrait).

Then you can select the course and the plan to which your certificate will be linked.

If you don't have any courses, you can skip this step.
The certificate settings do not require you to link to a specific course or pricing plan. This setup ensures that a student will receive the certificate after successfully finishing any course from your catalog, on any available plan.
If you want to issue a personalized image as a certificate, then use the "Custom image" checkbox without reference to the course:

How to create personalized images and display them through a bot is described in the article "Personalized images".
In the “Upload certificate” field, insert the image that will be the background of your certificate.

You can download the image from your device or add a link to it from the file storage.
To add a certificate from the file storage, upload an image in the appropriate section:

Then copy the link to it:

And paste the link into the URL field in the certificate constructor:

Then click on the “Save” button:

There will be the line “Configure input fields”.. Click on it to continue configuring the certificate:

Input field settings
Please note
The certificate will display the data that the student entered in his personal account. Therefore, it is important to notify your students that the data must be entered correctly: a full name and a photo of the student.
Configure the default text in these input fields. Their values will be auto-filled at the moment of certificate issuance.

Name
This field defines the recipient's name. When a student finishes the course, their name will be auto-inserted into this field on the certificate.
You have full control over its appearance: choose the font, adjust the weight and size, select a color, and set its exact positioning.

You can edit text elements directly on the certificate preview:
To move: Hover over the text until the cursor changes to a hand icon. Then, click and drag the element to its new position.
To resize: Hover over the lower-right corner of the text box until the cursor changes to a resize arrow. Click and drag to adjust the size. All changes are instantly reflected in the settings panel.

Date
Displays the certificate issue date, which is automatically set to the student's course completion date.
Logic: For courses with homework, the date reflects the submission of the last assignment. Otherwise, it's the date of the final lesson.

Avatar
Displays the student's profile picture. You can customize it by changing its position and selecting a shape (e.g., circle, square, rounded square).

Please note
If you do not want an avatar to be displayed on your certificate, do not fill in the fields.
If you choose to display an avatar on the certificate, but the photo is not uploaded to the student's personal account, an empty avatar will be displayed on the certificate.
The serial number of a certificate consists of a series and a number. You can enter the series yourself and edit it in the same way as the name or date. The number is generated automatically when the certificate is issued.

You can also add any text.

To do this, click on “Add text”, then enter the required text and edit it to your liking. To increase or decrease the size of your text, you need to enter a numeric value in the “Size” field.
If you want the text to be in the same style, you can copy the size and color of the text, and select the appropriate font and thickness.
To avoid losing the entire setup progress, click on the “Save” button.

After setting up all the data, you can download a preview to see how your students' certificate will look like:

All created certificates are displayed in the "Certificate builder". You can always replace them or change the settings.
Your certificate is now active! It will be issued automatically to students who successfully complete the course criteria (all lessons and any required homework) and will be available for download in their personal accounts.
Issuing certificates via a chatbot
To configure certificate issuance via your chatbot, follow these steps:
Navigate to the bot workflow that will handle the certificate delivery.
Add a new block to this workflow.
Within the block, select the Calculator function and configure it for certificate operations.
get_certificate(course_id, name_on_cert, avatar, date, tariff_id, texts)
Please note
Using this function within your bot consumes resources equivalent to sending 10 standard messages.
Attention
Certificate configuration in the course settings must be completed prior to using this function.
! course_id
course ID
! name_on_cert
a name on the certificate
(you can ask or take it directly from a client's card)
avatar
optional parameter, 1 - if you need to transmit the client's avatar, 0 - if not
(0 is the default value, do not forget to configure the avatar display in the course if you want to transmit it)
date
optional parameter, date in any format
(default will be the current one)
tariff_id
an optional parameter is needed if you want to issue a certificate configured for a plan
(! the plan must be configured beforehand)
texts
is an optional parameter to pass an array of texts to.
(if you transmit more texts than you have set up, then simply discard the extra ones; if you transmit fewer, it will display the ones you have transmitted)
! Errors in transmitting parameters:
If the course_id parameter is passed incorrectly, the function returns the error wrong course_id.
If the tariff_id parameter is passed incorrectly, it returns the error wrong tariff_id.
Once set up, the bot will issue the certificate to the student via a chat message with an access link.
To learn how to create and issue personalized images using the certificate builder, please refer to the article "Personalized images".
Last updated