Integration with Tilda¶
To connect the Tilda website builder to R7K12 CRM, do the following:
1. Sign in to the R7K12 website and select/create a project (End-to-end analytics+CRM).
2. Open the “Integrations” menu, go to the “Website builders” section and click the Tilda icon.
3. In the window that opens, copy the link and click the “Save changes” button.
4. In Tilda, select the site to integrate and click the “Site settings” button. Then go to the “Forms” section and open the “Webhook” block.
5. Paste the previously copied link into the input field and click the “Save” button.
6. Confirm your choice by clicking the “Add” button.
7. Open the “Forms” section in the site settings and click the “Settings” button in the “Connected services” block.

Make sure that the two additional settings items are checked, and check that the “Name in the list” field duplicates the link from the “Webhook URL” field.
Set the settings as shown in the screenshot above and save the changes for all forms.
7. Open the “My sites” menu, select the site you need and click the “Publish” button.
8. If publishing succeeded, the following message will appear.
9. Next, in Tilda, open the page of the site you need. Find the form used to submit requests and click the “Content” button.
10. Then select the “Input fields” tab and check the variable name. The system recognizes only the standard value “phone”; otherwise, the request will not be processed.
11. R7K12 also lets you send product information along with requests. This data must be passed from Tilda in the following hidden fields:
id - значение ID товара
Товар - название товара
price - цена
quantity - количество
To do this, on the same “Input fields” tab, choose to create new fields of the hidden type and add a field for “id”:
If you have already created the product in the R7K12 CRM warehouse, adding hidden fields for “Товар”, “price” and “quantity” is optional.
Next, you need to add hidden fields to send the Store (shop) and Department (department) data to the deal, as well as the setting for always creating a new deal or updating the existing one if desired (create_new_lead):
shop - название товара
department - ID Отдела из R7K12 CRM
create_new_lead - если значение '0', то новая сделка создается только, когда нет сделки или предыдущая в статусе "Успешно реализовано" или "Возврат"; '1' - новая сделка создается в любом случае (НЕ ОБЯЗАТЕЛЬНО)
After creating the hidden fields, be sure to save the changes and publish the page again.
12. Return to the form settings and click the “Save changes” button.

- Return to the R7K12 website, to the Tilda integration settings. Open the “Additional options” tab and fill in the fields as in the example below. Then click the “Save changes” button:
ID-поля - products
Значение - [{"id": "{{id}}", "name": "{{Товар}}", "price": "{{price}}", "quantity": 1}]
As a result, once the request is processed, a deal is created in R7K12 CRM with the ordered product added automatically.
14. To test the integration, follow the link and submit a test request on the website. Then return to R7K12 CRM and open the “Orders” section. The created request should appear in the table.
