@nyaruka/temba-components 0.129.11 → 0.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -4
- package/demo/components/flow/example.html +5 -1
- package/demo/data/flows/sample-flow.json +144 -80
- package/dist/temba-components.js +290 -346
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/flow/CanvasNode.js +3 -35
- package/out-tsc/src/flow/CanvasNode.js.map +1 -1
- package/out-tsc/src/flow/NodeEditor.js +44 -11
- package/out-tsc/src/flow/NodeEditor.js.map +1 -1
- package/out-tsc/src/flow/actions/add_contact_groups.js +1 -1
- package/out-tsc/src/flow/actions/add_contact_groups.js.map +1 -1
- package/out-tsc/src/flow/actions/add_contact_urn.js +1 -1
- package/out-tsc/src/flow/actions/add_contact_urn.js.map +1 -1
- package/out-tsc/src/flow/actions/add_input_labels.js +1 -1
- package/out-tsc/src/flow/actions/add_input_labels.js.map +1 -1
- package/out-tsc/src/flow/actions/remove_contact_groups.js +1 -1
- package/out-tsc/src/flow/actions/remove_contact_groups.js.map +1 -1
- package/out-tsc/src/flow/actions/send_email.js +9 -0
- package/out-tsc/src/flow/actions/send_email.js.map +1 -1
- package/out-tsc/src/flow/actions/send_msg.js +7 -8
- package/out-tsc/src/flow/actions/send_msg.js.map +1 -1
- package/out-tsc/src/flow/actions/set_contact_channel.js +25 -4
- package/out-tsc/src/flow/actions/set_contact_channel.js.map +1 -1
- package/out-tsc/src/flow/actions/set_contact_field.js +51 -1
- package/out-tsc/src/flow/actions/set_contact_field.js.map +1 -1
- package/out-tsc/src/flow/actions/set_contact_language.js +70 -2
- package/out-tsc/src/flow/actions/set_contact_language.js.map +1 -1
- package/out-tsc/src/flow/actions/set_contact_name.js +27 -2
- package/out-tsc/src/flow/actions/set_contact_name.js.map +1 -1
- package/out-tsc/src/flow/actions/set_contact_status.js +32 -2
- package/out-tsc/src/flow/actions/set_contact_status.js.map +1 -1
- package/out-tsc/src/flow/actions/set_run_result.js +13 -11
- package/out-tsc/src/flow/actions/set_run_result.js.map +1 -1
- package/out-tsc/src/flow/actions/split_by_expression_example.js +4 -4
- package/out-tsc/src/flow/actions/split_by_expression_example.js.map +1 -1
- package/out-tsc/src/flow/forms/index.js +2 -0
- package/out-tsc/src/flow/forms/index.js.map +1 -0
- package/out-tsc/src/flow/nodes/split_by_random.js +117 -0
- package/out-tsc/src/flow/nodes/split_by_random.js.map +1 -1
- package/out-tsc/src/flow/nodes/split_by_ticket.js +0 -1
- package/out-tsc/src/flow/nodes/split_by_ticket.js.map +1 -1
- package/out-tsc/src/flow/nodes/split_by_webhook.js +1 -3
- package/out-tsc/src/flow/nodes/split_by_webhook.js.map +1 -1
- package/out-tsc/src/flow/types.js.map +1 -1
- package/out-tsc/src/form/ArrayEditor.js +9 -25
- package/out-tsc/src/form/ArrayEditor.js.map +1 -1
- package/out-tsc/src/form/FieldRenderer.js +6 -64
- package/out-tsc/src/form/FieldRenderer.js.map +1 -1
- package/out-tsc/src/form/select/Select.js +29 -58
- package/out-tsc/src/form/select/Select.js.map +1 -1
- package/out-tsc/src/utils.js +3 -0
- package/out-tsc/src/utils.js.map +1 -1
- package/out-tsc/test/nodes/split_by_random.test.js +0 -6
- package/out-tsc/test/nodes/split_by_random.test.js.map +1 -1
- package/out-tsc/test/temba-field-renderer.test.js +6 -3
- package/out-tsc/test/temba-field-renderer.test.js.map +1 -1
- package/out-tsc/test/utils.test.js +18 -0
- package/out-tsc/test/utils.test.js.map +1 -1
- package/package.json +1 -1
- package/screenshots/truth/actions/add_contact_groups/editor/descriptive-group-names.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/editor/long-group-names.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/editor/many-groups.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/editor/multiple-groups.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/editor/single-group.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/render/descriptive-group-names.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/render/long-group-names.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/render/many-groups.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/render/multiple-groups.png +0 -0
- package/screenshots/truth/actions/add_contact_groups/render/single-group.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/cleanup-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/long-descriptive-group-names.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/many-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/multiple-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/remove-from-all-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/editor/single-group.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/cleanup-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/long-descriptive-group-names.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/many-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/multiple-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/remove-from-all-groups.png +0 -0
- package/screenshots/truth/actions/remove_contact_groups/render/single-group.png +0 -0
- package/screenshots/truth/editor/set_contact_language.png +0 -0
- package/screenshots/truth/editor/set_contact_name.png +0 -0
- package/screenshots/truth/editor/set_run_result.png +0 -0
- package/screenshots/truth/nodes/split_by_random/editor/ab-test-multiple-variants.png +0 -0
- package/screenshots/truth/nodes/split_by_random/editor/sampling-split.png +0 -0
- package/screenshots/truth/nodes/split_by_random/editor/three-way-split.png +0 -0
- package/screenshots/truth/nodes/split_by_random/editor/two-bucket-split.png +0 -0
- package/src/flow/CanvasNode.ts +2 -39
- package/src/flow/NodeEditor.ts +54 -13
- package/src/flow/actions/add_contact_groups.ts +1 -1
- package/src/flow/actions/add_contact_urn.ts +1 -1
- package/src/flow/actions/add_input_labels.ts +1 -1
- package/src/flow/actions/remove_contact_groups.ts +1 -1
- package/src/flow/actions/send_email.ts +11 -1
- package/src/flow/actions/send_msg.ts +20 -11
- package/src/flow/actions/set_contact_channel.ts +28 -5
- package/src/flow/actions/set_contact_field.ts +56 -2
- package/src/flow/actions/set_contact_language.ts +74 -3
- package/src/flow/actions/set_contact_name.ts +31 -3
- package/src/flow/actions/set_contact_status.ts +36 -3
- package/src/flow/actions/set_run_result.ts +13 -15
- package/src/flow/actions/split_by_expression_example.ts +4 -4
- package/src/flow/forms/index.ts +1 -0
- package/src/flow/nodes/split_by_random.ts +148 -0
- package/src/flow/nodes/split_by_ticket.ts +0 -1
- package/src/flow/nodes/split_by_webhook.ts +1 -3
- package/src/flow/types.ts +2 -1
- package/src/form/ArrayEditor.ts +6 -20
- package/src/form/FieldRenderer.ts +6 -65
- package/src/form/select/Select.ts +34 -66
- package/src/store/flow-definition.d.ts +6 -1
- package/src/utils.ts +4 -0
- package/static/api/fields.json +93 -1208
- package/static/api/workspace.json +23 -0
- package/test/nodes/split_by_random.test.ts +0 -7
- package/test/temba-field-renderer.test.ts +26 -13
- package/test/utils.test.ts +20 -0
- package/web-dev-server.config.mjs +2 -0
- package/web-test-runner.config.mjs +37 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,16 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v0.
|
|
7
|
+
#### [v0.130.0](https://github.com/nyaruka/temba-components/compare/v0.129.10...v0.130.0)
|
|
8
8
|
|
|
9
|
+
- Fix allowCreate for Select [`#684`](https://github.com/nyaruka/temba-components/pull/684)
|
|
10
|
+
- Implement split by random [`#683`](https://github.com/nyaruka/temba-components/pull/683)
|
|
11
|
+
- Implement Individual Form Configurations for Contact Update Actions [`#680`](https://github.com/nyaruka/temba-components/pull/680)
|
|
9
12
|
- Add support for rendering `contact_status_changed` events [`#682`](https://github.com/nyaruka/temba-components/pull/682)
|
|
10
13
|
- Cleanup code for no longer used channel event types [`#681`](https://github.com/nyaruka/temba-components/pull/681)
|
|
11
14
|
- Split by subflow [`#678`](https://github.com/nyaruka/temba-components/pull/678)
|
|
12
15
|
- Fixes for node-based actions [`#677`](https://github.com/nyaruka/temba-components/pull/677)
|
|
13
16
|
- Make tests and demos more consistent [`#676`](https://github.com/nyaruka/temba-components/pull/676)
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
+
- Rework how values in NodeEditor selects work [`056d20b`](https://github.com/nyaruka/temba-components/commit/056d20b4e79b7cd5adb6750b5816b6fb66d15dfb)
|
|
18
|
+
- Refactor contact actions to use individual form configurations instead of unified approach [`cc1ae10`](https://github.com/nyaruka/temba-components/commit/cc1ae10902bbd560ee3f0ec7ee5bedb0ad6e4398)
|
|
19
|
+
- Implement unified contact form configuration and adapter with comprehensive tests [`acf28ef`](https://github.com/nyaruka/temba-components/commit/acf28efe64572406a699dcf6e02e324fefc8c526)
|
|
17
20
|
|
|
18
21
|
#### [v0.129.10](https://github.com/nyaruka/temba-components/compare/v0.129.9...v0.129.10)
|
|
19
22
|
|
|
@@ -36,7 +36,11 @@
|
|
|
36
36
|
</style>
|
|
37
37
|
</head>
|
|
38
38
|
<body>
|
|
39
|
-
<temba-store
|
|
39
|
+
<temba-store
|
|
40
|
+
completion="/api/v2/completion.json"
|
|
41
|
+
workspace="/api/v2/workspace.json"
|
|
42
|
+
>
|
|
43
|
+
</temba-store>
|
|
40
44
|
<temba-flow-editor id="flow-editor"></temba-flow-editor>
|
|
41
45
|
|
|
42
46
|
<script type="module">
|
|
@@ -6,9 +6,52 @@
|
|
|
6
6
|
"language": "eng",
|
|
7
7
|
"type": "messaging",
|
|
8
8
|
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"uuid": "56a6ddd3-42d4-4ec2-b8ee-546b4ceb06f1",
|
|
11
|
+
"actions": [],
|
|
12
|
+
"router": {
|
|
13
|
+
"type": "random",
|
|
14
|
+
"categories": [
|
|
15
|
+
{
|
|
16
|
+
"uuid": "2325c455-92bd-4776-958c-367b4c318881",
|
|
17
|
+
"name": "Bucket 1",
|
|
18
|
+
"exit_uuid": "4b9759ae-ab8e-4957-bc7b-01516cc0e0c5"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"uuid": "12cdc990-86a5-46ec-8242-7193d85c2413",
|
|
22
|
+
"name": "Bucket 2",
|
|
23
|
+
"exit_uuid": "7610a57d-53e6-426f-93bf-d85161b11297"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"uuid": "9e6db7e6-cf13-4809-8a3b-ea01e0a861d9",
|
|
27
|
+
"name": "Bucket 3",
|
|
28
|
+
"exit_uuid": "cb6f46db-d129-4fb3-9684-007d600a9eac"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"exits": [
|
|
33
|
+
{
|
|
34
|
+
"uuid": "4b9759ae-ab8e-4957-bc7b-01516cc0e0c5",
|
|
35
|
+
"destination_uuid": null
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"uuid": "7610a57d-53e6-426f-93bf-d85161b11297",
|
|
39
|
+
"destination_uuid": null
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"uuid": "cb6f46db-d129-4fb3-9684-007d600a9eac",
|
|
43
|
+
"destination_uuid": null
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
9
47
|
{
|
|
10
48
|
"uuid": "fb7bbf99-65cd-4e08-825a-68fc7293cc05",
|
|
11
49
|
"actions": [
|
|
50
|
+
{
|
|
51
|
+
"uuid": "542b9033-2578-4ba1-bac8-dee26fd608fb",
|
|
52
|
+
"type": "set_contact_status",
|
|
53
|
+
"status": "active"
|
|
54
|
+
},
|
|
12
55
|
{
|
|
13
56
|
"uuid": "1c68d488-7ce7-4c7d-ae05-f767589e00ff",
|
|
14
57
|
"type": "set_contact_channel",
|
|
@@ -17,29 +60,24 @@
|
|
|
17
60
|
"name": "Facebook"
|
|
18
61
|
}
|
|
19
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"uuid": "0020495f-f919-41bc-b0a7-5e109e72a6ac",
|
|
65
|
+
"type": "set_contact_field",
|
|
66
|
+
"field": {
|
|
67
|
+
"name": "Profile Pic",
|
|
68
|
+
"key": "profile_pic"
|
|
69
|
+
},
|
|
70
|
+
"value": "Malea"
|
|
71
|
+
},
|
|
20
72
|
{
|
|
21
73
|
"uuid": "cc5c9892-4ba0-450a-a9d6-8567381eab1c",
|
|
22
74
|
"type": "set_contact_name",
|
|
23
|
-
"name": "
|
|
75
|
+
"name": "Rowan"
|
|
24
76
|
},
|
|
25
77
|
{
|
|
26
78
|
"uuid": "2de0b3d2-8b84-43f7-8716-640c879b6730",
|
|
27
79
|
"type": "set_contact_language",
|
|
28
80
|
"language": "eng"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"uuid": "0020495f-f919-41bc-b0a7-5e109e72a6ac",
|
|
32
|
-
"type": "set_contact_field",
|
|
33
|
-
"field": {
|
|
34
|
-
"name": "Gender",
|
|
35
|
-
"key": "gender"
|
|
36
|
-
},
|
|
37
|
-
"value": "Male"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"uuid": "542b9033-2578-4ba1-bac8-dee26fd608fb",
|
|
41
|
-
"type": "set_contact_status",
|
|
42
|
-
"status": "active"
|
|
43
81
|
}
|
|
44
82
|
],
|
|
45
83
|
"exits": [
|
|
@@ -61,7 +99,9 @@
|
|
|
61
99
|
"image/jpeg:http://localhost:9000/temba-attachments/e7d4d3cd-ec89-45c2-bc0b-4f652f1f7fde-IMG_3262.jpeg",
|
|
62
100
|
"image/jpeg:http://localhost:9000/temba-attachments/ae831575-0d23-40b7-ae0c-531b8775a6bc-IMG_3282.jpeg",
|
|
63
101
|
"image/png:http://localhost:9000/temba-attachments/d7b04feb-c74e-43a4-a6de-6a4516a4de59-Screenshot 2025-08-19 at 10.23.24â¯AM.png",
|
|
64
|
-
"image/jpeg:http://localhost:9000/temba-attachments/d3bdb082-6dab-48ed-9598-f3a7f6b6b06d-IMG_3262.jpeg"
|
|
102
|
+
"image/jpeg:http://localhost:9000/temba-attachments/d3bdb082-6dab-48ed-9598-f3a7f6b6b06d-IMG_3262.jpeg",
|
|
103
|
+
"video:@fields.video",
|
|
104
|
+
"image:@fields.image"
|
|
65
105
|
],
|
|
66
106
|
"quick_replies": [
|
|
67
107
|
"Red",
|
|
@@ -177,14 +217,14 @@
|
|
|
177
217
|
{
|
|
178
218
|
"type": "call_webhook",
|
|
179
219
|
"uuid": "e1f22e97-a170-44b4-a79b-98ab916f4c34",
|
|
180
|
-
"method": "
|
|
220
|
+
"method": "GET",
|
|
181
221
|
"url": "http://google.com",
|
|
182
222
|
"headers": {
|
|
183
223
|
"Accepts": "application/json",
|
|
184
224
|
"Content-Type": "application/json",
|
|
185
225
|
"Authorization": "Bearer token here"
|
|
186
226
|
},
|
|
187
|
-
"body": "
|
|
227
|
+
"body": ""
|
|
188
228
|
}
|
|
189
229
|
],
|
|
190
230
|
"router": {
|
|
@@ -242,10 +282,45 @@
|
|
|
242
282
|
"Blue"
|
|
243
283
|
]
|
|
244
284
|
},
|
|
285
|
+
{
|
|
286
|
+
"uuid": "d0d1571c-bf9e-4156-ac7c-984789c71472",
|
|
287
|
+
"type": "add_input_labels",
|
|
288
|
+
"labels": [
|
|
289
|
+
{
|
|
290
|
+
"uuid": "61cae99b-56e1-4f3e-a2b9-07fb5cf2be9e",
|
|
291
|
+
"name": "Important",
|
|
292
|
+
"count": 234
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"uuid": "76e7a094-22ea-441d-91c4-283d8168e8e3",
|
|
296
|
+
"name": "Follow Up",
|
|
297
|
+
"count": 128
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"uuid": "f80ed7b6-5e6a-49eb-94b6-4631a9677cd8",
|
|
301
|
+
"name": "Spam",
|
|
302
|
+
"count": 0
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"uuid": "b32fe165-e0cc-475c-a7c4-7f484fcce2f4",
|
|
308
|
+
"type": "set_run_result",
|
|
309
|
+
"name": "Make",
|
|
310
|
+
"value": "Rivian",
|
|
311
|
+
"category": "Electric"
|
|
312
|
+
},
|
|
245
313
|
{
|
|
246
314
|
"uuid": "d1ca86da-f321-4e09-8bb2-981de03f5a90",
|
|
247
315
|
"type": "add_contact_groups",
|
|
248
316
|
"groups": [
|
|
317
|
+
{
|
|
318
|
+
"uuid": "66e7a094-22ea-441d-91c4-283d8168e8e4",
|
|
319
|
+
"name": "The Poots",
|
|
320
|
+
"query": "name ~ \"poots\" OR name ~ \"dave\"",
|
|
321
|
+
"status": "ready",
|
|
322
|
+
"count": 1028
|
|
323
|
+
},
|
|
249
324
|
{
|
|
250
325
|
"uuid": "a3f2990b-4096-452e-a586-dc06a9434dde",
|
|
251
326
|
"name": "Empty",
|
|
@@ -262,13 +337,6 @@
|
|
|
262
337
|
}
|
|
263
338
|
]
|
|
264
339
|
},
|
|
265
|
-
{
|
|
266
|
-
"uuid": "b32fe165-e0cc-475c-a7c4-7f484fcce2f4",
|
|
267
|
-
"type": "set_run_result",
|
|
268
|
-
"name": "Make",
|
|
269
|
-
"value": "Rivian",
|
|
270
|
-
"category": "Electric"
|
|
271
|
-
},
|
|
272
340
|
{
|
|
273
341
|
"uuid": "ffe1c2d3-4e5f-6a7b-8c9d-e0f1a2b3c4d5",
|
|
274
342
|
"type": "remove_contact_groups",
|
|
@@ -283,27 +351,6 @@
|
|
|
283
351
|
],
|
|
284
352
|
"all_groups": false
|
|
285
353
|
},
|
|
286
|
-
{
|
|
287
|
-
"uuid": "d0d1571c-bf9e-4156-ac7c-984789c71472",
|
|
288
|
-
"type": "add_input_labels",
|
|
289
|
-
"labels": [
|
|
290
|
-
{
|
|
291
|
-
"uuid": "61cae99b-56e1-4f3e-a2b9-07fb5cf2be9e",
|
|
292
|
-
"name": "Important",
|
|
293
|
-
"count": 234
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"uuid": "76e7a094-22ea-441d-91c4-283d8168e8e3",
|
|
297
|
-
"name": "Follow Up",
|
|
298
|
-
"count": 128
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"uuid": "f80ed7b6-5e6a-49eb-94b6-4631a9677cd8",
|
|
302
|
-
"name": "Spam",
|
|
303
|
-
"count": 0
|
|
304
|
-
}
|
|
305
|
-
]
|
|
306
|
-
},
|
|
307
354
|
{
|
|
308
355
|
"uuid": "28c288f3-fb46-4c32-8a47-563132a2e8db",
|
|
309
356
|
"type": "set_contact_channel",
|
|
@@ -315,7 +362,7 @@
|
|
|
315
362
|
{
|
|
316
363
|
"uuid": "730ae625-6535-467b-98af-ea83e9d27884",
|
|
317
364
|
"type": "set_contact_language",
|
|
318
|
-
"language": "
|
|
365
|
+
"language": "spa"
|
|
319
366
|
},
|
|
320
367
|
{
|
|
321
368
|
"uuid": "773fa48f-7341-4f57-bf74-2afed2e4b763",
|
|
@@ -334,16 +381,6 @@
|
|
|
334
381
|
}
|
|
335
382
|
]
|
|
336
383
|
},
|
|
337
|
-
{
|
|
338
|
-
"uuid": "a0f3f1f2-1869-4ad6-9fb0-e610a3e00ae7",
|
|
339
|
-
"type": "send_email",
|
|
340
|
-
"addresses": [
|
|
341
|
-
"mistermeowface@whiskers.com",
|
|
342
|
-
"name@domain.com"
|
|
343
|
-
],
|
|
344
|
-
"subject": "Did you get this?",
|
|
345
|
-
"body": "I hope it arrived! But this message is a bit longer."
|
|
346
|
-
},
|
|
347
384
|
{
|
|
348
385
|
"type": "add_contact_urn",
|
|
349
386
|
"uuid": "9ddb2da4-03da-40a9-9cec-06c9d05b6e72",
|
|
@@ -358,6 +395,16 @@
|
|
|
358
395
|
"key": "color"
|
|
359
396
|
},
|
|
360
397
|
"value": "@results.color.category"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"uuid": "a0f3f1f2-1869-4ad6-9fb0-e610a3e00ae7",
|
|
401
|
+
"type": "send_email",
|
|
402
|
+
"addresses": [
|
|
403
|
+
"mistermeowface@whiskers.com",
|
|
404
|
+
"name@domain.com"
|
|
405
|
+
],
|
|
406
|
+
"subject": "Did you get this?",
|
|
407
|
+
"body": "I hope it arrived! But this message is a bit longer."
|
|
361
408
|
}
|
|
362
409
|
],
|
|
363
410
|
"exits": [
|
|
@@ -464,6 +511,11 @@
|
|
|
464
511
|
"uuid": "b2f0dd39-553e-4651-96ef-95cac79867f3",
|
|
465
512
|
"name": "Bucket 2",
|
|
466
513
|
"exit_uuid": "bdf64af3-8585-45ce-a3ba-10aab8dcc4fd"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"uuid": "edcaf2fd-34bb-46ea-bbc1-d23044b303d4",
|
|
517
|
+
"name": "My Other Buckets",
|
|
518
|
+
"exit_uuid": "df832c64-57f9-4468-b055-9b66a4e3b9bf"
|
|
467
519
|
}
|
|
468
520
|
]
|
|
469
521
|
},
|
|
@@ -474,6 +526,10 @@
|
|
|
474
526
|
},
|
|
475
527
|
{
|
|
476
528
|
"uuid": "bdf64af3-8585-45ce-a3ba-10aab8dcc4fd",
|
|
529
|
+
"destination_uuid": "56a6ddd3-42d4-4ec2-b8ee-546b4ceb06f1"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"uuid": "df832c64-57f9-4468-b055-9b66a4e3b9bf",
|
|
477
533
|
"destination_uuid": null
|
|
478
534
|
}
|
|
479
535
|
]
|
|
@@ -779,8 +835,8 @@
|
|
|
779
835
|
"name": "General"
|
|
780
836
|
},
|
|
781
837
|
"assignee": {
|
|
782
|
-
"uuid": "
|
|
783
|
-
"name": "
|
|
838
|
+
"uuid": "c0f5b431-35e9-429c-9d57-5fee2fac46a3",
|
|
839
|
+
"name": "Marion Berry"
|
|
784
840
|
},
|
|
785
841
|
"note": ""
|
|
786
842
|
}
|
|
@@ -850,9 +906,9 @@
|
|
|
850
906
|
"exit_uuid": "abbdcff7-4296-4f01-907f-f709fa4a1444"
|
|
851
907
|
},
|
|
852
908
|
{
|
|
853
|
-
"uuid": "
|
|
909
|
+
"uuid": "faa4fc1c-c4ba-47fc-8a93-a9bf8bd5818c",
|
|
854
910
|
"name": "Oyster",
|
|
855
|
-
"exit_uuid": "
|
|
911
|
+
"exit_uuid": "c38c4c0e-cb1e-4305-a008-908aa9f01850"
|
|
856
912
|
},
|
|
857
913
|
{
|
|
858
914
|
"uuid": "8e4624ee-57fe-43cd-8fa3-fa630c22cd72",
|
|
@@ -885,12 +941,12 @@
|
|
|
885
941
|
"category_uuid": "4632b796-f8ab-4a35-80d1-a1b53a6db803"
|
|
886
942
|
},
|
|
887
943
|
{
|
|
888
|
-
"uuid": "
|
|
944
|
+
"uuid": "62a7fc70-ffbf-4925-9f9a-ca6ef531942a",
|
|
889
945
|
"type": "has_only_text",
|
|
890
946
|
"arguments": [
|
|
891
947
|
"Oyster"
|
|
892
948
|
],
|
|
893
|
-
"category_uuid": "
|
|
949
|
+
"category_uuid": "faa4fc1c-c4ba-47fc-8a93-a9bf8bd5818c"
|
|
894
950
|
},
|
|
895
951
|
{
|
|
896
952
|
"uuid": "8fd5f13b-0398-4286-b18a-a92b5a2ea19d",
|
|
@@ -912,7 +968,7 @@
|
|
|
912
968
|
"destination_uuid": null
|
|
913
969
|
},
|
|
914
970
|
{
|
|
915
|
-
"uuid": "
|
|
971
|
+
"uuid": "c38c4c0e-cb1e-4305-a008-908aa9f01850",
|
|
916
972
|
"destination_uuid": null
|
|
917
973
|
},
|
|
918
974
|
{
|
|
@@ -930,14 +986,14 @@
|
|
|
930
986
|
"nodes": {
|
|
931
987
|
"fb7bbf99-65cd-4e08-825a-68fc7293cc05": {
|
|
932
988
|
"position": {
|
|
933
|
-
"left":
|
|
934
|
-
"top":
|
|
989
|
+
"left": 0,
|
|
990
|
+
"top": 0
|
|
935
991
|
},
|
|
936
992
|
"type": "execute_actions"
|
|
937
993
|
},
|
|
938
994
|
"145eb3d3-b841-4e66-abac-297ae525c7ad": {
|
|
939
995
|
"position": {
|
|
940
|
-
"left":
|
|
996
|
+
"left": 700,
|
|
941
997
|
"top": 500
|
|
942
998
|
},
|
|
943
999
|
"type": "split_by_llm_categorize"
|
|
@@ -953,7 +1009,7 @@
|
|
|
953
1009
|
"type": "wait_for_response",
|
|
954
1010
|
"position": {
|
|
955
1011
|
"left": 220,
|
|
956
|
-
"top":
|
|
1012
|
+
"top": 220
|
|
957
1013
|
},
|
|
958
1014
|
"config": {
|
|
959
1015
|
"cases": {}
|
|
@@ -962,8 +1018,8 @@
|
|
|
962
1018
|
"e1f22e97-a170-44b4-a79b-98ab916f4c34": {
|
|
963
1019
|
"type": "split_by_webhook",
|
|
964
1020
|
"position": {
|
|
965
|
-
"left":
|
|
966
|
-
"top":
|
|
1021
|
+
"left": 640,
|
|
1022
|
+
"top": 40
|
|
967
1023
|
},
|
|
968
1024
|
"config": {}
|
|
969
1025
|
},
|
|
@@ -978,7 +1034,7 @@
|
|
|
978
1034
|
"type": "split_by_subflow",
|
|
979
1035
|
"position": {
|
|
980
1036
|
"left": 460,
|
|
981
|
-
"top":
|
|
1037
|
+
"top": 660
|
|
982
1038
|
},
|
|
983
1039
|
"config": {}
|
|
984
1040
|
},
|
|
@@ -1010,8 +1066,8 @@
|
|
|
1010
1066
|
"8ecec688-f154-4b80-a0b3-3cbff0fac892": {
|
|
1011
1067
|
"type": "split_by_random",
|
|
1012
1068
|
"position": {
|
|
1013
|
-
"left":
|
|
1014
|
-
"top":
|
|
1069
|
+
"left": 1000,
|
|
1070
|
+
"top": 300
|
|
1015
1071
|
},
|
|
1016
1072
|
"config": null
|
|
1017
1073
|
},
|
|
@@ -1044,7 +1100,7 @@
|
|
|
1044
1100
|
"type": "split_by_scheme",
|
|
1045
1101
|
"position": {
|
|
1046
1102
|
"left": 460,
|
|
1047
|
-
"top":
|
|
1103
|
+
"top": 520
|
|
1048
1104
|
},
|
|
1049
1105
|
"config": {
|
|
1050
1106
|
"cases": {}
|
|
@@ -1054,7 +1110,7 @@
|
|
|
1054
1110
|
"type": "split_by_llm",
|
|
1055
1111
|
"position": {
|
|
1056
1112
|
"left": 460,
|
|
1057
|
-
"top":
|
|
1113
|
+
"top": 820
|
|
1058
1114
|
},
|
|
1059
1115
|
"config": {}
|
|
1060
1116
|
},
|
|
@@ -1072,13 +1128,21 @@
|
|
|
1072
1128
|
"top": 920
|
|
1073
1129
|
},
|
|
1074
1130
|
"config": {}
|
|
1131
|
+
},
|
|
1132
|
+
"56a6ddd3-42d4-4ec2-b8ee-546b4ceb06f1": {
|
|
1133
|
+
"type": "split_by_random",
|
|
1134
|
+
"position": {
|
|
1135
|
+
"left": 1080,
|
|
1136
|
+
"top": 440
|
|
1137
|
+
},
|
|
1138
|
+
"config": null
|
|
1075
1139
|
}
|
|
1076
1140
|
},
|
|
1077
1141
|
"stickies": {
|
|
1078
1142
|
"1a32aff1-36b9-48e3-a51e-382efdcb9a83": {
|
|
1079
1143
|
"position": {
|
|
1080
1144
|
"left": 0,
|
|
1081
|
-
"top":
|
|
1145
|
+
"top": 1060
|
|
1082
1146
|
},
|
|
1083
1147
|
"title": "Yellow Note",
|
|
1084
1148
|
"body": "This flow makes no sense. That's because it's just for general testing. We can keep typing in this div though and it is interesting how it just keeps expanding even if it isn't a textarea. Even this seems okay and I can keep typing as long as I like.\n\nI can even add some extra line breaks.",
|
|
@@ -1087,7 +1151,7 @@
|
|
|
1087
1151
|
"598a87e4-f20b-48ba-aac5-bb365d8f1509": {
|
|
1088
1152
|
"position": {
|
|
1089
1153
|
"left": 0,
|
|
1090
|
-
"top":
|
|
1154
|
+
"top": 560
|
|
1091
1155
|
},
|
|
1092
1156
|
"title": "Blue Note",
|
|
1093
1157
|
"body": "Did you know stickies can have different colors? I just realized that and I'm pretty happy to report that this expands really nicely. It seems to be working okay I think. This.",
|
|
@@ -1096,7 +1160,7 @@
|
|
|
1096
1160
|
"598a87e4-f20b-48ba-aac5-bb365d8f1501": {
|
|
1097
1161
|
"position": {
|
|
1098
1162
|
"left": 0,
|
|
1099
|
-
"top":
|
|
1163
|
+
"top": 900
|
|
1100
1164
|
},
|
|
1101
1165
|
"title": "Green Note",
|
|
1102
1166
|
"body": "They also come in green, do I like them better? Maybe I do. There is a standard height, they will have to get used to it.",
|
|
@@ -1105,7 +1169,7 @@
|
|
|
1105
1169
|
"598a87e4-f20b-48ba-aac5-bb365d8f1502": {
|
|
1106
1170
|
"position": {
|
|
1107
1171
|
"left": 0,
|
|
1108
|
-
"top":
|
|
1172
|
+
"top": 760
|
|
1109
1173
|
},
|
|
1110
1174
|
"title": "Pinky Note",
|
|
1111
1175
|
"body": "This is a test. How much do I like writing in pink? Seems pretty nice honestly! I think Imma go with it",
|
|
@@ -1114,7 +1178,7 @@
|
|
|
1114
1178
|
"598a87e4-f20b-48ba-aac5-bb365d8f1503": {
|
|
1115
1179
|
"position": {
|
|
1116
1180
|
"left": 0,
|
|
1117
|
-
"top":
|
|
1181
|
+
"top": 440
|
|
1118
1182
|
},
|
|
1119
1183
|
"title": "Gray Note",
|
|
1120
1184
|
"body": "And a nice, little gray message to go with it.",
|