Bitrix24 administration course

Bitrix24 Training Course 13. CRM Robots: Data storage and modification

Bitrix24 Training Course 13. CRM Robots: Data storage and modification

Introduction:

In this video, we will delve into Bitrix24 training and specifically focus on data storage and modification using Bitrix24 automation. We will explore various aspects of data management, such as adding list items, modifying list items, getting list item information, performing math operations, and modifying variables.

Adding List Items:

One of the key features we'll explore is adding list items. This feature is incredibly useful for managing data within your Bitrix24account. To get started, navigate to the "List" section by going to your company settings and typing "Lists." Here, you can create a new table or list to store your data. For instance, you can create a list named " Table for accountant."

Customizing Fields:

Once you've created your list, it's time to customize the fields. This step involves defining the specific data you want to track. In our example, we create fields like "Company Name," "Amount of Payment," and "Payment Date" to keep track of client payment information. These fields will be used to store relevant data.

Adding List Items Automatically:

After setting up your list and customizing the fields, you can automate the process of adding list items. In Bitrix24, you can create automation rules to handle this. For instance, you can set up a rule that adds a list item when a specific condition is met, like when a payment is received. This automation simplifies the task of populating your database.

Modifying List Items:

Bitrix24 also allows you to modify list items easily. You can update the data stored in your list as needed. In the video below, demonstrates how to change the company name for a specific record within the list. This flexibility ensures that your data remains accurate and up-to-date.

Performing Math Operations:

In some cases, you may need to perform mathematical operations on your data. Bitrix24 automation makes this possible. For example, you can use math operations to generate sequential contract numbers. The video below explains how to create a counter variable and use it to automatically assign contract numbers in a specific order.

Global Constants:

To further enhance data management, you can use global constants. These constants allow you to define values that remain consistent across your Bitrix24 account. For example, you can set a constant for a contract name that includes a year, ensuring that your contract naming conventions are uniform and easy to manage.

Manual Data Entry:

In situations where manual data entry is necessary, Bitrix24automation still has you covered. You can create custom fields, such as "Manual Contract Number," to allow users to input data manually. Then, you can set up automation rules to update other fields based on this manual input, maintaining data consistency.

Automation Sequencing:

It's crucial to ensure that your automation rules run sequentially. This means that one rule should complete before the next one begins. This prevents conflicts and ensures the accuracy of your data.

Detailed instructions on how these robots can be used are described below.

1. Go to “Company”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 1

2. Edit Url from “yourcompany.bitrix24.com/company/” to “yourcompany.bitrix24.com/company/lists/” and you will land on the lists’ page. Click “CREATE NEW”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 2

3. Go to “Settings” tab. Type list name and here the list name is “Table for accounter”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 3

4. Click “Table for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 4

5. Click “Settings” icon. Go to “Customize fields” option.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 5

6. Open the field parameter “Name”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 6

7. Edit the field parameter “Name” to “Company Name”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 7

8. Now add a new field parameter and name it as “Amount of payment” for now. Type must be “Number” and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 8

9. Again add a new field parameter and name it as “Payment date” for now. Type must be “Date” and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 9

10. Go to “Lists” option and select the list “Table for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 10

11. Click “Table for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 11

12. You can see the configured fields or attributes now. The fields are “Company Name”, “Amount of payment” and “Payment date”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 12

13. Go to “Deals” option and create a new stage named as “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 13

14. In third tab of browser, search for address “yourcompany.bitrix24.com/crm/configs/”. Go to “Form and report settings” and click “Custom Fields”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 14

15. In “Deal” section, go to “Fields”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 15

16. Click “Add Field”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 16

17. Name the field as “Payment date”. Type should be “Date” and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 17

18. Now go to tab(second tab) where deals are open. Open any test deal and click “Select field”. Check the box of field “Payment date” and click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 18

19. Go to “Automation Rules”. Click “Create”. Go to “Manage workflow items” and add “Modify item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 19

20. Edit “Modify item” name as “Enter payment date” and move this robot to “add payment information for accounter” stage. Click “edit” to configure robot settings. We will add “Add list item” robot later, just ignore this robot now.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 20

21. Click “Delete” to delete the “Name” field.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 21

22. Click “Select field” and select “Payment date” field.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 22

23. Select current date in “Payment date” field and select a responsible person in “Change on behalf of” field. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 23

24. Change the stage of your test deal from “task created stage” stage to “add payment information for accounter” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 24

25. You can see the current date written under the payment date field within the deal.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 25

26. Go to “Automation Rules”. Click “Create”. Go to “Data storage and modification” and add “Add list item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 26

27. Move the “Add list item” robot to “add payment information for accounter” stage under “Modify item(Enter payment date)” robot and edit it. Entity type will be “Table for accounter”. The field “Company Name” will be name of the deal, “Payment date” will be payment date of the deal and “Amount of payment” will be amount of the deal. You can select all these attributes with the help of three dots options. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 27

28. Move back the test deal to “task created stage” stage. Open the deal.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 28

29. Edit the name of the deal as “Company A” for testing purposes. Change the stage of the deal to “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 29

30. Go to first tab and refresh the page. You can see the Company A’s all information in the “Table for accounter” list.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 30

31. You can see three deals have been tested and all information is being shown in the “Table for accounter” list.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 31

32. You can search any deal’s information with the help of filters within the list.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 32

33. Go to third tab of browser and click “Add Field”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 33

34. Name of the field will be “List Row ID” in this case and type will be “Integer”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 34

35. Go to second tab of the browser and you can see, at this time all the test deals are under the “add payment information for accounter” stage. Create a new stage named as “modify data”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 35

36. Go to “Automation Rules”. Click “Create”. Go to “Manage Workflow items” and add “Modify item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 36

37. Move “Modify item” robot to “add payment information or accounter” stage just under the previous robots. Edit the robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 37

38. Click “Select field” and add “List Row ID” field. Click three dots option, go to “Automation rules” and select “Add list item”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 38

39. Now select “Id” from “Add list item” options.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 39

40. Dynamic value code of “List Row ID” field has been selected. Select the responsible person for “Change on behalf of” field and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 40

41. Roll back any test deal to “task created stage” and then to “add payment information for accounter” stage again. Here, it is “Company C” deal. Open the deal.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 41

42. Click “Select field” and check the box for field “List Row ID”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 42

43. You can see, the List Row ID(78) of the deal is being shown here.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 43

44. Go to “Automation Rules”. Click “Create”. Go to “Data storage and modification” and add “Modify list item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 44

45. Move “Modify list item” robot to “modify data” stage. Click “edit”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 45

46. The “Item ID” field will be “List Row ID” value code. Entity type will be our list “Table for accounter”. The “Company Name” field will be modified name of the deal. Here, the modified name is “{{Name}}(Company Name) - bad client”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 46

47. Move the “Company C” deal to “modify data” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 47

48. Go to first tab of the browser and refresh the page. You can see the “Company C” name has been modified to “Company C - bad client”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 48

49. Come back to second tab of the browser and move all the “Company A,B,C” test deals to “modify data” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 49

50. Go to first tab of browser and refresh the page. All the deals’ names have been modified now. You can delete the previous names.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 50

51. Go to second tab of the browser. Click “Automation Rules” and then click “Create”. Go to “Data storage and modification” and add “Get list item information” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 51

52. Move the “Get list item information” robot to “modify data” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 52

53. The “Item ID” field will be “List Row ID” code value. The Entity type will be “Table for accounter”. Select “Amount of Payment” field to extract and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 53

54. Now go to “Employee alerts” in automation rules and add “Add comment to item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 54

55. Move “Add comment to item” robot to “modify data” stage and place it under previous robots. Click “edit”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 55

56. Add comment of your choice and for dynamic payment amount, add it from three dots option.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 56

57. Complete comment has been added. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 57

58. Move back all deals to “task created stage” stage first. Then to “add payment information for accounter” stage and in the end, move to “modify data” stage. Open any deal.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 58

59. Now, you can see the comment containing the amount of payment.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 59

60. Move back all deals to “task created stage” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 60

61. Go to “Automation Rules”. Click “Create”. Go to “Data storage and modification” and add “Perform math operations” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 61

62. Delete all the previous configured robots for testing purposes. Move the “Perform math operations” robot to “add payment information for accounter” stage.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 62

63. Go to “Variables” option and click “Create”. Name your variable, let’s say “count+”. Type will be “Integer”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 63

64. Visibility must be “Deals”. Save it.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 64

65. Edit “Perform math operations” robot. Click “Select Varible”. Parameter type will be “Deals section variables”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 65

66. The parameter value will be “count+”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 66

67. Select first parameter also as “count+” for testing purpose. Click second “Select parameter”. Parameter type will be “custom value” and enter number as “1”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 67

68. In “Automation Rules”, go to “Manage Workflow items” and add “Modify item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 68

69. Move the “Modify item” robot to “add payment information for accounter” stage after “Perform math operations” robot. The Execution of both these robots will be “WAIT” and next robots will also have “WAIT” execution. Edit “Modify item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 69

70. Add a new field “Contract number” in your third tab of the browser. Select that field in this configuration. Go to three dots options and select “count+” variable. Choose responsible person in “Change on behalf of” field. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 70

71. Open any deal and click “Select field”. Check the box for the field “Contract number”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 71

72. Change the stage of the deal from “task created stage” to “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 72

73. You can see the Contract number.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 73

74. Go to “Constants” option.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 74

75. Name the constant “Contract Name”. Type will be “String”. Add the Value structure. Visibility must be “Deals”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 75

76. Go to third tab of the browser, click “Add Field”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 76

77. Name the field “Contract name”, type must be “String” and click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 77

78. Come back to second tab of the browser. In “Automation Rules”, go to “Manage Workflow items” and add “Modify item” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 78

79. Move new “Modify item” robot under previous robots and edit it.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 79

80. Click three dots option and select “contract name” value code from “Constants” in the “Contract name” field.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 80

81. After adding constant, give a small space and add “count+” variable from three dots option in the “Contract name” field. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 81

82. Open the “Company A” deal and change the stage from “task created stage” to “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 82

83. You can see the same structure of “Contract Number” and “Contract Name” as you configured before.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 83

84. In “Automation Rules”, go to “Data storage and modification” and add “Modify variable” robot.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 84

85. Go to third tab of the browser. Click “Add Field”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 85

86. Name the field as “Enter manually contract number”. Type must be “Integer”. Click “Save”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 86

87. Come back to second tab of the browser. Move the “Modify variable” robot in between the “Perform math operations” and “Modify item” robots. Edit it.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 87

88. Click “Select parameter”. Parameter type will be “custom value” and parameter value will be “Enter manually contract number”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 88

89. Click “Select variable”. Parameter type will be “Deals section variables” and parameter value will be “count+”. Click “Select”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 89

90. You can add a condition that “Enter manually contract number” must “not empty”. Save it.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 90

91. Open “Company A” deal and enter the contract number manually.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 91

92. Change the stage of the deal from “task created stage” to “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 92

93. The manually entered contract number will be reflected in “Contract Number” and “Contract Name” fields too.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 93

94. Now change the stages of both deals “Company B, C” also from “task created stage” to “add payment information for accounter”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 94

95. The contract number in “Company B” will be “401” and in “Company C” will be “402”.

Bitrix24 Training Course 13. CRM Robots: Data storage and modification — image 95

“You can also watch this video on Youtube”

Bitrix24 Training Course 13. CRM Robots: Data storage and modificationPlay video

Your project

Have a similar task?

A free 30-minute diagnostic call with an architect. You leave with a first outline of your ecosystem — and where AI can take work off your team.