@segment/analytics-browser-actions-intercom 1.109.0 → 1.109.1-staging-639c32747.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/metadata.json ADDED
@@ -0,0 +1,1658 @@
1
+ {
2
+ "slug": "actions-intercom-web",
3
+ "name": "Intercom Web (Actions)",
4
+ "mode": "device",
5
+ "authentication": {
6
+ "scheme": "custom",
7
+ "fields": {
8
+ "appId": {
9
+ "label": "App ID",
10
+ "description": "The app_id of your Intercom app which will indicate where to store any data.",
11
+ "type": "string",
12
+ "required": true,
13
+ "multiple": false,
14
+ "choices": null,
15
+ "default": null,
16
+ "depends_on": null
17
+ },
18
+ "activator": {
19
+ "label": "Custom Inbox Button Selector",
20
+ "description": "By default, Intercom will inject their own inbox button onto the page, but you can choose to use your own custom button instead by providing a CSS selector, e.g. #my-button. You must have the \"Show the Intercom Inbox\" setting enabled for this to work. The default value is #IntercomDefaultWidget.",
21
+ "type": "string",
22
+ "required": false,
23
+ "multiple": false,
24
+ "choices": null,
25
+ "default": "#IntercomDefaultWidget",
26
+ "depends_on": null
27
+ },
28
+ "richLinkProperties": {
29
+ "label": "Rich Link Properties",
30
+ "description": "A list of rich link property keys.",
31
+ "type": "string",
32
+ "required": false,
33
+ "multiple": true,
34
+ "choices": null,
35
+ "default": null,
36
+ "depends_on": null
37
+ },
38
+ "apiBase": {
39
+ "label": "Regional Data Hosting",
40
+ "description": "The regional API to use for processing the data",
41
+ "type": "string",
42
+ "required": false,
43
+ "multiple": false,
44
+ "choices": [
45
+ {
46
+ "label": "US",
47
+ "value": "https://api-iam.intercom.io"
48
+ },
49
+ {
50
+ "label": "EU",
51
+ "value": "https://api-iam.eu.intercom.io"
52
+ },
53
+ {
54
+ "label": "Australia",
55
+ "value": "https://api-iam.au.intercom.io"
56
+ }
57
+ ],
58
+ "default": "https://api-iam.intercom.io",
59
+ "depends_on": null
60
+ }
61
+ }
62
+ },
63
+ "audienceConfig": null,
64
+ "actions": {
65
+ "trackEvent": {
66
+ "title": "Track Event",
67
+ "description": "Submit an event to Intercom.",
68
+ "platform": "web",
69
+ "defaultSubscription": "type = \"track\"",
70
+ "hidden": false,
71
+ "hasPerformBatch": false,
72
+ "syncMode": null,
73
+ "hooks": null,
74
+ "dynamicFields": null,
75
+ "fields": {
76
+ "event_name": {
77
+ "label": "Event Name",
78
+ "description": "The name of the event.",
79
+ "type": "string",
80
+ "required": true,
81
+ "multiple": false,
82
+ "allowNull": false,
83
+ "dynamic": false,
84
+ "default": {
85
+ "@path": "$.event"
86
+ },
87
+ "choices": null,
88
+ "placeholder": null,
89
+ "properties": null,
90
+ "category": null,
91
+ "depends_on": null,
92
+ "readOnly": null,
93
+ "hidden": null,
94
+ "minimum": null,
95
+ "maximum": null,
96
+ "defaultObjectUI": null,
97
+ "disabledInputMethods": null,
98
+ "displayMode": null,
99
+ "format": null,
100
+ "additionalProperties": false
101
+ },
102
+ "revenue": {
103
+ "label": "Revenue",
104
+ "description": "The amount associated with a purchase. Segment will multiply by 100 as Intercom requires the amount in cents.",
105
+ "type": "number",
106
+ "required": false,
107
+ "multiple": false,
108
+ "allowNull": false,
109
+ "dynamic": false,
110
+ "default": {
111
+ "@path": "$.properties.revenue"
112
+ },
113
+ "choices": null,
114
+ "placeholder": null,
115
+ "properties": null,
116
+ "category": null,
117
+ "depends_on": null,
118
+ "readOnly": null,
119
+ "hidden": null,
120
+ "minimum": null,
121
+ "maximum": null,
122
+ "defaultObjectUI": null,
123
+ "disabledInputMethods": null,
124
+ "displayMode": null,
125
+ "format": null,
126
+ "additionalProperties": false
127
+ },
128
+ "currency": {
129
+ "label": "Currency",
130
+ "description": "The currency of the purchase amount. Segment will default to USD if revenue is provided without a currency.",
131
+ "type": "string",
132
+ "required": false,
133
+ "multiple": false,
134
+ "allowNull": false,
135
+ "dynamic": false,
136
+ "default": {
137
+ "@path": "$.properties.currency"
138
+ },
139
+ "choices": null,
140
+ "placeholder": null,
141
+ "properties": null,
142
+ "category": null,
143
+ "depends_on": null,
144
+ "readOnly": null,
145
+ "hidden": null,
146
+ "minimum": null,
147
+ "maximum": null,
148
+ "defaultObjectUI": null,
149
+ "disabledInputMethods": null,
150
+ "displayMode": null,
151
+ "format": null,
152
+ "additionalProperties": false
153
+ },
154
+ "event_metadata": {
155
+ "label": "Event Metadata",
156
+ "description": "Optional metadata describing the event.",
157
+ "type": "object",
158
+ "required": false,
159
+ "multiple": false,
160
+ "allowNull": false,
161
+ "dynamic": false,
162
+ "default": {
163
+ "@path": "$.properties"
164
+ },
165
+ "choices": null,
166
+ "placeholder": null,
167
+ "properties": null,
168
+ "category": null,
169
+ "depends_on": null,
170
+ "readOnly": null,
171
+ "hidden": null,
172
+ "minimum": null,
173
+ "maximum": null,
174
+ "defaultObjectUI": null,
175
+ "disabledInputMethods": null,
176
+ "displayMode": null,
177
+ "format": null,
178
+ "additionalProperties": false
179
+ }
180
+ }
181
+ },
182
+ "identifyUser": {
183
+ "title": "Identify User",
184
+ "description": "Create or update a user in Intercom.",
185
+ "platform": "web",
186
+ "defaultSubscription": "type = \"identify\" or type = \"page\"",
187
+ "hidden": false,
188
+ "hasPerformBatch": false,
189
+ "syncMode": null,
190
+ "hooks": null,
191
+ "dynamicFields": null,
192
+ "fields": {
193
+ "user_id": {
194
+ "label": "User ID",
195
+ "description": "A unique identifier for the user.",
196
+ "type": "string",
197
+ "required": false,
198
+ "multiple": false,
199
+ "allowNull": false,
200
+ "dynamic": false,
201
+ "default": {
202
+ "@path": "$.userId"
203
+ },
204
+ "choices": null,
205
+ "placeholder": null,
206
+ "properties": null,
207
+ "category": null,
208
+ "depends_on": null,
209
+ "readOnly": null,
210
+ "hidden": null,
211
+ "minimum": null,
212
+ "maximum": null,
213
+ "defaultObjectUI": null,
214
+ "disabledInputMethods": null,
215
+ "displayMode": null,
216
+ "format": null,
217
+ "additionalProperties": false
218
+ },
219
+ "custom_traits": {
220
+ "label": "Custom Attributes",
221
+ "description": "The user's custom attributes.",
222
+ "type": "object",
223
+ "required": false,
224
+ "multiple": false,
225
+ "allowNull": false,
226
+ "dynamic": false,
227
+ "default": null,
228
+ "choices": null,
229
+ "placeholder": null,
230
+ "properties": null,
231
+ "category": null,
232
+ "depends_on": null,
233
+ "readOnly": null,
234
+ "hidden": null,
235
+ "minimum": null,
236
+ "maximum": null,
237
+ "defaultObjectUI": "keyvalue",
238
+ "disabledInputMethods": null,
239
+ "displayMode": null,
240
+ "format": null,
241
+ "additionalProperties": false
242
+ },
243
+ "name": {
244
+ "label": "Name",
245
+ "description": "The user's name.",
246
+ "type": "string",
247
+ "required": false,
248
+ "multiple": false,
249
+ "allowNull": false,
250
+ "dynamic": false,
251
+ "default": {
252
+ "@path": "$.traits.name"
253
+ },
254
+ "choices": null,
255
+ "placeholder": null,
256
+ "properties": null,
257
+ "category": null,
258
+ "depends_on": null,
259
+ "readOnly": null,
260
+ "hidden": null,
261
+ "minimum": null,
262
+ "maximum": null,
263
+ "defaultObjectUI": null,
264
+ "disabledInputMethods": null,
265
+ "displayMode": null,
266
+ "format": null,
267
+ "additionalProperties": false
268
+ },
269
+ "phone": {
270
+ "label": "Phone Number",
271
+ "description": "The user's phone number.",
272
+ "type": "string",
273
+ "required": false,
274
+ "multiple": false,
275
+ "allowNull": false,
276
+ "dynamic": false,
277
+ "default": {
278
+ "@path": "$.traits.phone"
279
+ },
280
+ "choices": null,
281
+ "placeholder": null,
282
+ "properties": null,
283
+ "category": null,
284
+ "depends_on": null,
285
+ "readOnly": null,
286
+ "hidden": null,
287
+ "minimum": null,
288
+ "maximum": null,
289
+ "defaultObjectUI": null,
290
+ "disabledInputMethods": null,
291
+ "displayMode": null,
292
+ "format": null,
293
+ "additionalProperties": false
294
+ },
295
+ "unsubscribed_from_emails": {
296
+ "label": "Unsubscribed From Emails",
297
+ "description": "The user's email unsubscribe status.",
298
+ "type": "boolean",
299
+ "required": false,
300
+ "multiple": false,
301
+ "allowNull": false,
302
+ "dynamic": false,
303
+ "default": null,
304
+ "choices": null,
305
+ "placeholder": null,
306
+ "properties": null,
307
+ "category": null,
308
+ "depends_on": null,
309
+ "readOnly": null,
310
+ "hidden": null,
311
+ "minimum": null,
312
+ "maximum": null,
313
+ "defaultObjectUI": null,
314
+ "disabledInputMethods": null,
315
+ "displayMode": null,
316
+ "format": null,
317
+ "additionalProperties": false
318
+ },
319
+ "language_override": {
320
+ "label": "Language Override",
321
+ "description": "The user's messenger language (instead of relying on browser language settings).",
322
+ "type": "string",
323
+ "required": false,
324
+ "multiple": false,
325
+ "allowNull": false,
326
+ "dynamic": false,
327
+ "default": null,
328
+ "choices": null,
329
+ "placeholder": null,
330
+ "properties": null,
331
+ "category": null,
332
+ "depends_on": null,
333
+ "readOnly": null,
334
+ "hidden": null,
335
+ "minimum": null,
336
+ "maximum": null,
337
+ "defaultObjectUI": null,
338
+ "disabledInputMethods": null,
339
+ "displayMode": null,
340
+ "format": null,
341
+ "additionalProperties": false
342
+ },
343
+ "email": {
344
+ "label": "Email Address",
345
+ "description": "The user's email address.",
346
+ "type": "string",
347
+ "required": false,
348
+ "multiple": false,
349
+ "allowNull": false,
350
+ "dynamic": false,
351
+ "default": {
352
+ "@path": "$.traits.email"
353
+ },
354
+ "choices": null,
355
+ "placeholder": null,
356
+ "properties": null,
357
+ "category": null,
358
+ "depends_on": null,
359
+ "readOnly": null,
360
+ "hidden": null,
361
+ "minimum": null,
362
+ "maximum": null,
363
+ "defaultObjectUI": null,
364
+ "disabledInputMethods": null,
365
+ "displayMode": null,
366
+ "format": null,
367
+ "additionalProperties": false
368
+ },
369
+ "created_at": {
370
+ "label": "User Creation Time",
371
+ "description": "The time the user was created in your system.",
372
+ "type": "datetime",
373
+ "required": false,
374
+ "multiple": false,
375
+ "allowNull": false,
376
+ "dynamic": false,
377
+ "default": {
378
+ "@if": {
379
+ "exists": {
380
+ "@path": "$.traits.createdAt"
381
+ },
382
+ "then": {
383
+ "@path": "$.traits.createdAt"
384
+ },
385
+ "else": {
386
+ "@path": "$.traits.created_at"
387
+ }
388
+ }
389
+ },
390
+ "choices": null,
391
+ "placeholder": null,
392
+ "properties": null,
393
+ "category": null,
394
+ "depends_on": null,
395
+ "readOnly": null,
396
+ "hidden": null,
397
+ "minimum": null,
398
+ "maximum": null,
399
+ "defaultObjectUI": null,
400
+ "disabledInputMethods": null,
401
+ "displayMode": null,
402
+ "format": null,
403
+ "additionalProperties": false
404
+ },
405
+ "avatar_image_url": {
406
+ "label": "Avatar",
407
+ "description": "The URL for the user's avatar/profile image.",
408
+ "type": "string",
409
+ "required": false,
410
+ "multiple": false,
411
+ "allowNull": false,
412
+ "dynamic": false,
413
+ "default": {
414
+ "@path": "$.traits.avatar"
415
+ },
416
+ "choices": null,
417
+ "placeholder": null,
418
+ "properties": null,
419
+ "category": null,
420
+ "depends_on": null,
421
+ "readOnly": null,
422
+ "hidden": null,
423
+ "minimum": null,
424
+ "maximum": null,
425
+ "defaultObjectUI": null,
426
+ "disabledInputMethods": null,
427
+ "displayMode": null,
428
+ "format": null,
429
+ "additionalProperties": false
430
+ },
431
+ "user_hash": {
432
+ "label": "User Hash",
433
+ "description": "The user hash used for identity verification. See [Intercom docs](https://www.intercom.com/help/en/collections/12295815-messenger-security) for more information on how to set this field.",
434
+ "type": "string",
435
+ "required": false,
436
+ "multiple": false,
437
+ "allowNull": false,
438
+ "dynamic": false,
439
+ "default": {
440
+ "@if": {
441
+ "exists": {
442
+ "@path": "$.integrations.Intercom.user_hash"
443
+ },
444
+ "then": {
445
+ "@path": "$.integrations.Intercom.user_hash"
446
+ },
447
+ "else": {
448
+ "@path": "$.integrations.Intercom.userHash"
449
+ }
450
+ }
451
+ },
452
+ "choices": null,
453
+ "placeholder": null,
454
+ "properties": null,
455
+ "category": null,
456
+ "depends_on": null,
457
+ "readOnly": null,
458
+ "hidden": null,
459
+ "minimum": null,
460
+ "maximum": null,
461
+ "defaultObjectUI": null,
462
+ "disabledInputMethods": null,
463
+ "displayMode": null,
464
+ "format": null,
465
+ "additionalProperties": false
466
+ },
467
+ "intercom_user_jwt": {
468
+ "label": "Intercom User JWT",
469
+ "description": "The intercom user JWT is used to secure your messenger for your users. See [Intercom docs](https://www.intercom.com/help/en/collections/12295815-messenger-security) for more information on how to set this field.",
470
+ "type": "string",
471
+ "required": false,
472
+ "multiple": false,
473
+ "allowNull": false,
474
+ "dynamic": false,
475
+ "default": {
476
+ "@if": {
477
+ "exists": {
478
+ "@path": "$.integrations.Intercom.intercom_user_jwt"
479
+ },
480
+ "then": {
481
+ "@path": "$.integrations.Intercom.intercom_user_jwt"
482
+ },
483
+ "else": {
484
+ "@path": "$.integrations.Intercom.intercomUserJwt"
485
+ }
486
+ }
487
+ },
488
+ "choices": null,
489
+ "placeholder": null,
490
+ "properties": null,
491
+ "category": null,
492
+ "depends_on": null,
493
+ "readOnly": null,
494
+ "hidden": null,
495
+ "minimum": null,
496
+ "maximum": null,
497
+ "defaultObjectUI": null,
498
+ "disabledInputMethods": null,
499
+ "displayMode": null,
500
+ "format": null,
501
+ "additionalProperties": false
502
+ },
503
+ "company": {
504
+ "label": "Company",
505
+ "description": "The user's company.",
506
+ "type": "object",
507
+ "required": false,
508
+ "multiple": false,
509
+ "allowNull": false,
510
+ "dynamic": false,
511
+ "default": {
512
+ "company_id": {
513
+ "@path": "$.traits.company.id"
514
+ },
515
+ "name": {
516
+ "@path": "$.traits.company.name"
517
+ },
518
+ "created_at": {
519
+ "@if": {
520
+ "exists": {
521
+ "@path": "$.traits.company.createdAt"
522
+ },
523
+ "then": {
524
+ "@path": "$.traits.company.createdAt"
525
+ },
526
+ "else": {
527
+ "@path": "$.traits.company.created_at"
528
+ }
529
+ }
530
+ },
531
+ "plan": {
532
+ "@path": "$.traits.company.plan"
533
+ },
534
+ "size": {
535
+ "@path": "$.traits.company.size"
536
+ },
537
+ "website": {
538
+ "@path": "$.traits.company.website"
539
+ },
540
+ "industry": {
541
+ "@path": "$.traits.company.industry"
542
+ },
543
+ "monthly_spend": {
544
+ "@path": "$.traits.company.monthly_spend"
545
+ }
546
+ },
547
+ "choices": null,
548
+ "placeholder": null,
549
+ "properties": {
550
+ "company_id": {
551
+ "label": "Company ID",
552
+ "description": "The unique identifier of the company.",
553
+ "type": "string",
554
+ "required": true,
555
+ "multiple": false,
556
+ "allowNull": false,
557
+ "dynamic": false,
558
+ "default": null,
559
+ "choices": null,
560
+ "placeholder": null,
561
+ "properties": null,
562
+ "category": null,
563
+ "depends_on": null,
564
+ "readOnly": null,
565
+ "hidden": null,
566
+ "minimum": null,
567
+ "maximum": null,
568
+ "defaultObjectUI": null,
569
+ "disabledInputMethods": null,
570
+ "displayMode": null,
571
+ "format": null,
572
+ "additionalProperties": false
573
+ },
574
+ "name": {
575
+ "label": "Company Name",
576
+ "description": "The name of the company.",
577
+ "type": "string",
578
+ "required": true,
579
+ "multiple": false,
580
+ "allowNull": false,
581
+ "dynamic": false,
582
+ "default": null,
583
+ "choices": null,
584
+ "placeholder": null,
585
+ "properties": null,
586
+ "category": null,
587
+ "depends_on": null,
588
+ "readOnly": null,
589
+ "hidden": null,
590
+ "minimum": null,
591
+ "maximum": null,
592
+ "defaultObjectUI": null,
593
+ "disabledInputMethods": null,
594
+ "displayMode": null,
595
+ "format": null,
596
+ "additionalProperties": false
597
+ },
598
+ "created_at": {
599
+ "label": "Company Creation Time",
600
+ "description": "The time the company was created in your system.",
601
+ "type": "datetime",
602
+ "required": false,
603
+ "multiple": false,
604
+ "allowNull": false,
605
+ "dynamic": false,
606
+ "default": null,
607
+ "choices": null,
608
+ "placeholder": null,
609
+ "properties": null,
610
+ "category": null,
611
+ "depends_on": null,
612
+ "readOnly": null,
613
+ "hidden": null,
614
+ "minimum": null,
615
+ "maximum": null,
616
+ "defaultObjectUI": null,
617
+ "disabledInputMethods": null,
618
+ "displayMode": null,
619
+ "format": null,
620
+ "additionalProperties": false
621
+ },
622
+ "plan": {
623
+ "label": "Company Plan",
624
+ "description": "The name of the plan you have associated with the company.",
625
+ "type": "string",
626
+ "required": false,
627
+ "multiple": false,
628
+ "allowNull": false,
629
+ "dynamic": false,
630
+ "default": null,
631
+ "choices": null,
632
+ "placeholder": null,
633
+ "properties": null,
634
+ "category": null,
635
+ "depends_on": null,
636
+ "readOnly": null,
637
+ "hidden": null,
638
+ "minimum": null,
639
+ "maximum": null,
640
+ "defaultObjectUI": null,
641
+ "disabledInputMethods": null,
642
+ "displayMode": null,
643
+ "format": null,
644
+ "additionalProperties": false
645
+ },
646
+ "monthly_spend": {
647
+ "label": "Monthly Spend",
648
+ "description": "The monthly spend of the company, e.g. how much revenue the company generates for your business.",
649
+ "type": "integer",
650
+ "required": false,
651
+ "multiple": false,
652
+ "allowNull": false,
653
+ "dynamic": false,
654
+ "default": null,
655
+ "choices": null,
656
+ "placeholder": null,
657
+ "properties": null,
658
+ "category": null,
659
+ "depends_on": null,
660
+ "readOnly": null,
661
+ "hidden": null,
662
+ "minimum": null,
663
+ "maximum": null,
664
+ "defaultObjectUI": null,
665
+ "disabledInputMethods": null,
666
+ "displayMode": null,
667
+ "format": null,
668
+ "additionalProperties": false
669
+ },
670
+ "size": {
671
+ "label": "Company Size",
672
+ "description": "The number of employees in the company.",
673
+ "type": "integer",
674
+ "required": false,
675
+ "multiple": false,
676
+ "allowNull": false,
677
+ "dynamic": false,
678
+ "default": null,
679
+ "choices": null,
680
+ "placeholder": null,
681
+ "properties": null,
682
+ "category": null,
683
+ "depends_on": null,
684
+ "readOnly": null,
685
+ "hidden": null,
686
+ "minimum": null,
687
+ "maximum": null,
688
+ "defaultObjectUI": null,
689
+ "disabledInputMethods": null,
690
+ "displayMode": null,
691
+ "format": null,
692
+ "additionalProperties": false
693
+ },
694
+ "website": {
695
+ "label": "Company Website",
696
+ "description": "The URL for the company website.",
697
+ "type": "string",
698
+ "required": false,
699
+ "multiple": false,
700
+ "allowNull": false,
701
+ "dynamic": false,
702
+ "default": null,
703
+ "choices": null,
704
+ "placeholder": null,
705
+ "properties": null,
706
+ "category": null,
707
+ "depends_on": null,
708
+ "readOnly": null,
709
+ "hidden": null,
710
+ "minimum": null,
711
+ "maximum": null,
712
+ "defaultObjectUI": null,
713
+ "disabledInputMethods": null,
714
+ "displayMode": null,
715
+ "format": null,
716
+ "additionalProperties": false
717
+ },
718
+ "industry": {
719
+ "label": "Industry",
720
+ "description": "The industry that the company operates in.",
721
+ "type": "string",
722
+ "required": false,
723
+ "multiple": false,
724
+ "allowNull": false,
725
+ "dynamic": false,
726
+ "default": null,
727
+ "choices": null,
728
+ "placeholder": null,
729
+ "properties": null,
730
+ "category": null,
731
+ "depends_on": null,
732
+ "readOnly": null,
733
+ "hidden": null,
734
+ "minimum": null,
735
+ "maximum": null,
736
+ "defaultObjectUI": null,
737
+ "disabledInputMethods": null,
738
+ "displayMode": null,
739
+ "format": null,
740
+ "additionalProperties": false
741
+ },
742
+ "company_custom_traits": {
743
+ "label": "Company Custom Attributes",
744
+ "description": "The custom attributes for the company object.",
745
+ "type": "object",
746
+ "required": false,
747
+ "multiple": false,
748
+ "allowNull": false,
749
+ "dynamic": false,
750
+ "default": null,
751
+ "choices": null,
752
+ "placeholder": null,
753
+ "properties": null,
754
+ "category": null,
755
+ "depends_on": null,
756
+ "readOnly": null,
757
+ "hidden": null,
758
+ "minimum": null,
759
+ "maximum": null,
760
+ "defaultObjectUI": "keyvalue",
761
+ "disabledInputMethods": null,
762
+ "displayMode": null,
763
+ "format": null,
764
+ "additionalProperties": false
765
+ }
766
+ },
767
+ "category": null,
768
+ "depends_on": null,
769
+ "readOnly": null,
770
+ "hidden": null,
771
+ "minimum": null,
772
+ "maximum": null,
773
+ "defaultObjectUI": null,
774
+ "disabledInputMethods": null,
775
+ "displayMode": null,
776
+ "format": null,
777
+ "additionalProperties": false
778
+ },
779
+ "companies": {
780
+ "label": "Companies",
781
+ "description": "The array of companies the user is associated to.",
782
+ "type": "object",
783
+ "required": false,
784
+ "multiple": true,
785
+ "allowNull": false,
786
+ "dynamic": false,
787
+ "default": {
788
+ "@arrayPath": [
789
+ "$.traits.companies",
790
+ {
791
+ "company_id": {
792
+ "@path": "$.id"
793
+ },
794
+ "name": {
795
+ "@path": "$.name"
796
+ },
797
+ "created_at": {
798
+ "@if": {
799
+ "exists": {
800
+ "@path": "$.createdAt"
801
+ },
802
+ "then": {
803
+ "@path": "$.createdAt"
804
+ },
805
+ "else": {
806
+ "@path": "$.created_at"
807
+ }
808
+ }
809
+ },
810
+ "plan": {
811
+ "@path": "$.plan"
812
+ },
813
+ "size": {
814
+ "@path": "$.size"
815
+ },
816
+ "website": {
817
+ "@path": "$.website"
818
+ },
819
+ "industry": {
820
+ "@path": "$.industry"
821
+ },
822
+ "monthly_spend": {
823
+ "@path": "$.monthly_spend"
824
+ }
825
+ }
826
+ ]
827
+ },
828
+ "choices": null,
829
+ "placeholder": null,
830
+ "properties": {
831
+ "company_id": {
832
+ "label": "Company ID",
833
+ "description": "The unique identifier of the company.",
834
+ "type": "string",
835
+ "required": true,
836
+ "multiple": false,
837
+ "allowNull": false,
838
+ "dynamic": false,
839
+ "default": null,
840
+ "choices": null,
841
+ "placeholder": null,
842
+ "properties": null,
843
+ "category": null,
844
+ "depends_on": null,
845
+ "readOnly": null,
846
+ "hidden": null,
847
+ "minimum": null,
848
+ "maximum": null,
849
+ "defaultObjectUI": null,
850
+ "disabledInputMethods": null,
851
+ "displayMode": null,
852
+ "format": null,
853
+ "additionalProperties": false
854
+ },
855
+ "name": {
856
+ "label": "Company Name",
857
+ "description": "The name of the company.",
858
+ "type": "string",
859
+ "required": true,
860
+ "multiple": false,
861
+ "allowNull": false,
862
+ "dynamic": false,
863
+ "default": null,
864
+ "choices": null,
865
+ "placeholder": null,
866
+ "properties": null,
867
+ "category": null,
868
+ "depends_on": null,
869
+ "readOnly": null,
870
+ "hidden": null,
871
+ "minimum": null,
872
+ "maximum": null,
873
+ "defaultObjectUI": null,
874
+ "disabledInputMethods": null,
875
+ "displayMode": null,
876
+ "format": null,
877
+ "additionalProperties": false
878
+ },
879
+ "created_at": {
880
+ "label": "Company Creation Time",
881
+ "description": "The time the company was created in your system.",
882
+ "type": "datetime",
883
+ "required": false,
884
+ "multiple": false,
885
+ "allowNull": false,
886
+ "dynamic": false,
887
+ "default": null,
888
+ "choices": null,
889
+ "placeholder": null,
890
+ "properties": null,
891
+ "category": null,
892
+ "depends_on": null,
893
+ "readOnly": null,
894
+ "hidden": null,
895
+ "minimum": null,
896
+ "maximum": null,
897
+ "defaultObjectUI": null,
898
+ "disabledInputMethods": null,
899
+ "displayMode": null,
900
+ "format": null,
901
+ "additionalProperties": false
902
+ },
903
+ "plan": {
904
+ "label": "Company Plan",
905
+ "description": "The name of the plan you have associated with the company.",
906
+ "type": "string",
907
+ "required": false,
908
+ "multiple": false,
909
+ "allowNull": false,
910
+ "dynamic": false,
911
+ "default": null,
912
+ "choices": null,
913
+ "placeholder": null,
914
+ "properties": null,
915
+ "category": null,
916
+ "depends_on": null,
917
+ "readOnly": null,
918
+ "hidden": null,
919
+ "minimum": null,
920
+ "maximum": null,
921
+ "defaultObjectUI": null,
922
+ "disabledInputMethods": null,
923
+ "displayMode": null,
924
+ "format": null,
925
+ "additionalProperties": false
926
+ },
927
+ "monthly_spend": {
928
+ "label": "Monthly Spend",
929
+ "description": "The monthly spend of the company, e.g. how much revenue the company generates for your business.",
930
+ "type": "integer",
931
+ "required": false,
932
+ "multiple": false,
933
+ "allowNull": false,
934
+ "dynamic": false,
935
+ "default": null,
936
+ "choices": null,
937
+ "placeholder": null,
938
+ "properties": null,
939
+ "category": null,
940
+ "depends_on": null,
941
+ "readOnly": null,
942
+ "hidden": null,
943
+ "minimum": null,
944
+ "maximum": null,
945
+ "defaultObjectUI": null,
946
+ "disabledInputMethods": null,
947
+ "displayMode": null,
948
+ "format": null,
949
+ "additionalProperties": false
950
+ },
951
+ "size": {
952
+ "label": "Company Size",
953
+ "description": "The number of employees in the company.",
954
+ "type": "integer",
955
+ "required": false,
956
+ "multiple": false,
957
+ "allowNull": false,
958
+ "dynamic": false,
959
+ "default": null,
960
+ "choices": null,
961
+ "placeholder": null,
962
+ "properties": null,
963
+ "category": null,
964
+ "depends_on": null,
965
+ "readOnly": null,
966
+ "hidden": null,
967
+ "minimum": null,
968
+ "maximum": null,
969
+ "defaultObjectUI": null,
970
+ "disabledInputMethods": null,
971
+ "displayMode": null,
972
+ "format": null,
973
+ "additionalProperties": false
974
+ },
975
+ "website": {
976
+ "label": "Company Website",
977
+ "description": "The URL for the company website.",
978
+ "type": "string",
979
+ "required": false,
980
+ "multiple": false,
981
+ "allowNull": false,
982
+ "dynamic": false,
983
+ "default": null,
984
+ "choices": null,
985
+ "placeholder": null,
986
+ "properties": null,
987
+ "category": null,
988
+ "depends_on": null,
989
+ "readOnly": null,
990
+ "hidden": null,
991
+ "minimum": null,
992
+ "maximum": null,
993
+ "defaultObjectUI": null,
994
+ "disabledInputMethods": null,
995
+ "displayMode": null,
996
+ "format": null,
997
+ "additionalProperties": false
998
+ },
999
+ "industry": {
1000
+ "label": "Industry",
1001
+ "description": "The industry that the company operates in.",
1002
+ "type": "string",
1003
+ "required": false,
1004
+ "multiple": false,
1005
+ "allowNull": false,
1006
+ "dynamic": false,
1007
+ "default": null,
1008
+ "choices": null,
1009
+ "placeholder": null,
1010
+ "properties": null,
1011
+ "category": null,
1012
+ "depends_on": null,
1013
+ "readOnly": null,
1014
+ "hidden": null,
1015
+ "minimum": null,
1016
+ "maximum": null,
1017
+ "defaultObjectUI": null,
1018
+ "disabledInputMethods": null,
1019
+ "displayMode": null,
1020
+ "format": null,
1021
+ "additionalProperties": false
1022
+ },
1023
+ "company_custom_traits": {
1024
+ "label": "Company Custom Attributes",
1025
+ "description": "The custom attributes for the company object.",
1026
+ "type": "object",
1027
+ "required": false,
1028
+ "multiple": false,
1029
+ "allowNull": false,
1030
+ "dynamic": false,
1031
+ "default": null,
1032
+ "choices": null,
1033
+ "placeholder": null,
1034
+ "properties": null,
1035
+ "category": null,
1036
+ "depends_on": null,
1037
+ "readOnly": null,
1038
+ "hidden": null,
1039
+ "minimum": null,
1040
+ "maximum": null,
1041
+ "defaultObjectUI": "keyvalue",
1042
+ "disabledInputMethods": null,
1043
+ "displayMode": null,
1044
+ "format": null,
1045
+ "additionalProperties": false
1046
+ }
1047
+ },
1048
+ "category": null,
1049
+ "depends_on": null,
1050
+ "readOnly": null,
1051
+ "hidden": null,
1052
+ "minimum": null,
1053
+ "maximum": null,
1054
+ "defaultObjectUI": null,
1055
+ "disabledInputMethods": null,
1056
+ "displayMode": null,
1057
+ "format": null,
1058
+ "additionalProperties": false
1059
+ },
1060
+ "hide_default_launcher": {
1061
+ "label": "Hide Default Launcher",
1062
+ "description": "Selectively show the chat widget. As per [Intercom docs](https://www.intercom.com/help/en/articles/189-turn-off-show-or-hide-the-intercom-messenger), you want to first hide the Messenger for all users inside the Intercom UI using Messenger settings. Then think about how you want to programmatically decide which users you would like to show the widget to.",
1063
+ "type": "boolean",
1064
+ "required": false,
1065
+ "multiple": false,
1066
+ "allowNull": false,
1067
+ "dynamic": false,
1068
+ "default": {
1069
+ "@if": {
1070
+ "exists": {
1071
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1072
+ },
1073
+ "then": {
1074
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1075
+ },
1076
+ "else": {
1077
+ "@path": "$.context.Intercom.hide_default_launcher"
1078
+ }
1079
+ }
1080
+ },
1081
+ "choices": null,
1082
+ "placeholder": null,
1083
+ "properties": null,
1084
+ "category": null,
1085
+ "depends_on": null,
1086
+ "readOnly": null,
1087
+ "hidden": null,
1088
+ "minimum": null,
1089
+ "maximum": null,
1090
+ "defaultObjectUI": null,
1091
+ "disabledInputMethods": null,
1092
+ "displayMode": null,
1093
+ "format": null,
1094
+ "additionalProperties": false
1095
+ }
1096
+ }
1097
+ },
1098
+ "identifyCompany": {
1099
+ "title": "Identify Company",
1100
+ "description": "Create or update a company in Intercom.",
1101
+ "platform": "web",
1102
+ "defaultSubscription": "type = \"group\"",
1103
+ "hidden": false,
1104
+ "hasPerformBatch": false,
1105
+ "syncMode": null,
1106
+ "hooks": null,
1107
+ "dynamicFields": null,
1108
+ "fields": {
1109
+ "company": {
1110
+ "label": "Company",
1111
+ "description": "The user's company.",
1112
+ "type": "object",
1113
+ "required": true,
1114
+ "multiple": false,
1115
+ "allowNull": false,
1116
+ "dynamic": false,
1117
+ "default": {
1118
+ "company_id": {
1119
+ "@path": "$.groupId"
1120
+ },
1121
+ "name": {
1122
+ "@path": "$.traits.name"
1123
+ },
1124
+ "created_at": {
1125
+ "@if": {
1126
+ "exists": {
1127
+ "@path": "$.traits.createdAt"
1128
+ },
1129
+ "then": {
1130
+ "@path": "$.traits.createdAt"
1131
+ },
1132
+ "else": {
1133
+ "@path": "$.traits.created_at"
1134
+ }
1135
+ }
1136
+ },
1137
+ "plan": {
1138
+ "@path": "$.traits.plan"
1139
+ },
1140
+ "size": {
1141
+ "@path": "$.traits.size"
1142
+ },
1143
+ "website": {
1144
+ "@path": "$.traits.website"
1145
+ },
1146
+ "industry": {
1147
+ "@path": "$.traits.industry"
1148
+ },
1149
+ "monthly_spend": {
1150
+ "@path": "$.traits.monthly_spend"
1151
+ }
1152
+ },
1153
+ "choices": null,
1154
+ "placeholder": null,
1155
+ "properties": {
1156
+ "company_id": {
1157
+ "label": "Company ID",
1158
+ "description": "The unique identifier of the company.",
1159
+ "type": "string",
1160
+ "required": true,
1161
+ "multiple": false,
1162
+ "allowNull": false,
1163
+ "dynamic": false,
1164
+ "default": null,
1165
+ "choices": null,
1166
+ "placeholder": null,
1167
+ "properties": null,
1168
+ "category": null,
1169
+ "depends_on": null,
1170
+ "readOnly": null,
1171
+ "hidden": null,
1172
+ "minimum": null,
1173
+ "maximum": null,
1174
+ "defaultObjectUI": null,
1175
+ "disabledInputMethods": null,
1176
+ "displayMode": null,
1177
+ "format": null,
1178
+ "additionalProperties": false
1179
+ },
1180
+ "name": {
1181
+ "label": "Company Name",
1182
+ "description": "The name of the company.",
1183
+ "type": "string",
1184
+ "required": true,
1185
+ "multiple": false,
1186
+ "allowNull": false,
1187
+ "dynamic": false,
1188
+ "default": null,
1189
+ "choices": null,
1190
+ "placeholder": null,
1191
+ "properties": null,
1192
+ "category": null,
1193
+ "depends_on": null,
1194
+ "readOnly": null,
1195
+ "hidden": null,
1196
+ "minimum": null,
1197
+ "maximum": null,
1198
+ "defaultObjectUI": null,
1199
+ "disabledInputMethods": null,
1200
+ "displayMode": null,
1201
+ "format": null,
1202
+ "additionalProperties": false
1203
+ },
1204
+ "created_at": {
1205
+ "label": "Company Creation Time",
1206
+ "description": "The time the company was created in your system.",
1207
+ "type": "datetime",
1208
+ "required": false,
1209
+ "multiple": false,
1210
+ "allowNull": false,
1211
+ "dynamic": false,
1212
+ "default": null,
1213
+ "choices": null,
1214
+ "placeholder": null,
1215
+ "properties": null,
1216
+ "category": null,
1217
+ "depends_on": null,
1218
+ "readOnly": null,
1219
+ "hidden": null,
1220
+ "minimum": null,
1221
+ "maximum": null,
1222
+ "defaultObjectUI": null,
1223
+ "disabledInputMethods": null,
1224
+ "displayMode": null,
1225
+ "format": null,
1226
+ "additionalProperties": false
1227
+ },
1228
+ "plan": {
1229
+ "label": "Company Plan",
1230
+ "description": "The name of the plan you have associated with the company.",
1231
+ "type": "string",
1232
+ "required": false,
1233
+ "multiple": false,
1234
+ "allowNull": false,
1235
+ "dynamic": false,
1236
+ "default": null,
1237
+ "choices": null,
1238
+ "placeholder": null,
1239
+ "properties": null,
1240
+ "category": null,
1241
+ "depends_on": null,
1242
+ "readOnly": null,
1243
+ "hidden": null,
1244
+ "minimum": null,
1245
+ "maximum": null,
1246
+ "defaultObjectUI": null,
1247
+ "disabledInputMethods": null,
1248
+ "displayMode": null,
1249
+ "format": null,
1250
+ "additionalProperties": false
1251
+ },
1252
+ "monthly_spend": {
1253
+ "label": "Monthly Spend",
1254
+ "description": "The monthly spend of the company, e.g. how much revenue the company generates for your business.",
1255
+ "type": "integer",
1256
+ "required": false,
1257
+ "multiple": false,
1258
+ "allowNull": false,
1259
+ "dynamic": false,
1260
+ "default": null,
1261
+ "choices": null,
1262
+ "placeholder": null,
1263
+ "properties": null,
1264
+ "category": null,
1265
+ "depends_on": null,
1266
+ "readOnly": null,
1267
+ "hidden": null,
1268
+ "minimum": null,
1269
+ "maximum": null,
1270
+ "defaultObjectUI": null,
1271
+ "disabledInputMethods": null,
1272
+ "displayMode": null,
1273
+ "format": null,
1274
+ "additionalProperties": false
1275
+ },
1276
+ "size": {
1277
+ "label": "Company Size",
1278
+ "description": "The number of employees in the company.",
1279
+ "type": "integer",
1280
+ "required": false,
1281
+ "multiple": false,
1282
+ "allowNull": false,
1283
+ "dynamic": false,
1284
+ "default": null,
1285
+ "choices": null,
1286
+ "placeholder": null,
1287
+ "properties": null,
1288
+ "category": null,
1289
+ "depends_on": null,
1290
+ "readOnly": null,
1291
+ "hidden": null,
1292
+ "minimum": null,
1293
+ "maximum": null,
1294
+ "defaultObjectUI": null,
1295
+ "disabledInputMethods": null,
1296
+ "displayMode": null,
1297
+ "format": null,
1298
+ "additionalProperties": false
1299
+ },
1300
+ "website": {
1301
+ "label": "Company Website",
1302
+ "description": "The URL for the company website.",
1303
+ "type": "string",
1304
+ "required": false,
1305
+ "multiple": false,
1306
+ "allowNull": false,
1307
+ "dynamic": false,
1308
+ "default": null,
1309
+ "choices": null,
1310
+ "placeholder": null,
1311
+ "properties": null,
1312
+ "category": null,
1313
+ "depends_on": null,
1314
+ "readOnly": null,
1315
+ "hidden": null,
1316
+ "minimum": null,
1317
+ "maximum": null,
1318
+ "defaultObjectUI": null,
1319
+ "disabledInputMethods": null,
1320
+ "displayMode": null,
1321
+ "format": null,
1322
+ "additionalProperties": false
1323
+ },
1324
+ "industry": {
1325
+ "label": "Industry",
1326
+ "description": "The industry that the company operates in.",
1327
+ "type": "string",
1328
+ "required": false,
1329
+ "multiple": false,
1330
+ "allowNull": false,
1331
+ "dynamic": false,
1332
+ "default": null,
1333
+ "choices": null,
1334
+ "placeholder": null,
1335
+ "properties": null,
1336
+ "category": null,
1337
+ "depends_on": null,
1338
+ "readOnly": null,
1339
+ "hidden": null,
1340
+ "minimum": null,
1341
+ "maximum": null,
1342
+ "defaultObjectUI": null,
1343
+ "disabledInputMethods": null,
1344
+ "displayMode": null,
1345
+ "format": null,
1346
+ "additionalProperties": false
1347
+ },
1348
+ "company_custom_traits": {
1349
+ "label": "Company Custom Attributes",
1350
+ "description": "The custom attributes for the company object.",
1351
+ "type": "object",
1352
+ "required": false,
1353
+ "multiple": false,
1354
+ "allowNull": false,
1355
+ "dynamic": false,
1356
+ "default": null,
1357
+ "choices": null,
1358
+ "placeholder": null,
1359
+ "properties": null,
1360
+ "category": null,
1361
+ "depends_on": null,
1362
+ "readOnly": null,
1363
+ "hidden": null,
1364
+ "minimum": null,
1365
+ "maximum": null,
1366
+ "defaultObjectUI": "keyvalue",
1367
+ "disabledInputMethods": null,
1368
+ "displayMode": null,
1369
+ "format": null,
1370
+ "additionalProperties": false
1371
+ }
1372
+ },
1373
+ "category": null,
1374
+ "depends_on": null,
1375
+ "readOnly": null,
1376
+ "hidden": null,
1377
+ "minimum": null,
1378
+ "maximum": null,
1379
+ "defaultObjectUI": null,
1380
+ "disabledInputMethods": null,
1381
+ "displayMode": null,
1382
+ "format": null,
1383
+ "additionalProperties": false
1384
+ },
1385
+ "hide_default_launcher": {
1386
+ "label": "Hide Default Launcher",
1387
+ "description": "Selectively show the chat widget. As per [Intercom docs](https://www.intercom.com/help/en/articles/189-turn-off-show-or-hide-the-intercom-messenger), you want to first hide the Messenger for all users inside the Intercom UI using Messenger settings. Then think about how you want to programmatically decide which users you would like to show the widget to.",
1388
+ "type": "boolean",
1389
+ "required": false,
1390
+ "multiple": false,
1391
+ "allowNull": false,
1392
+ "dynamic": false,
1393
+ "default": {
1394
+ "@if": {
1395
+ "exists": {
1396
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1397
+ },
1398
+ "then": {
1399
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1400
+ },
1401
+ "else": {
1402
+ "@path": "$.context.Intercom.hide_default_launcher"
1403
+ }
1404
+ }
1405
+ },
1406
+ "choices": null,
1407
+ "placeholder": null,
1408
+ "properties": null,
1409
+ "category": null,
1410
+ "depends_on": null,
1411
+ "readOnly": null,
1412
+ "hidden": null,
1413
+ "minimum": null,
1414
+ "maximum": null,
1415
+ "defaultObjectUI": null,
1416
+ "disabledInputMethods": null,
1417
+ "displayMode": null,
1418
+ "format": null,
1419
+ "additionalProperties": false
1420
+ }
1421
+ }
1422
+ }
1423
+ },
1424
+ "presets": [
1425
+ {
1426
+ "name": "Track Event",
1427
+ "type": "automatic",
1428
+ "partnerAction": "trackEvent",
1429
+ "subscribe": "type = \"track\"",
1430
+ "mapping": {
1431
+ "event_name": {
1432
+ "@path": "$.event"
1433
+ },
1434
+ "revenue": {
1435
+ "@path": "$.properties.revenue"
1436
+ },
1437
+ "currency": {
1438
+ "@path": "$.properties.currency"
1439
+ },
1440
+ "event_metadata": {
1441
+ "@path": "$.properties"
1442
+ }
1443
+ },
1444
+ "eventSlug": null
1445
+ },
1446
+ {
1447
+ "name": "Identify User",
1448
+ "type": "automatic",
1449
+ "partnerAction": "identifyUser",
1450
+ "subscribe": "type = \"identify\" or type = \"page\"",
1451
+ "mapping": {
1452
+ "user_id": {
1453
+ "@path": "$.userId"
1454
+ },
1455
+ "name": {
1456
+ "@path": "$.traits.name"
1457
+ },
1458
+ "phone": {
1459
+ "@path": "$.traits.phone"
1460
+ },
1461
+ "email": {
1462
+ "@path": "$.traits.email"
1463
+ },
1464
+ "created_at": {
1465
+ "@if": {
1466
+ "exists": {
1467
+ "@path": "$.traits.createdAt"
1468
+ },
1469
+ "then": {
1470
+ "@path": "$.traits.createdAt"
1471
+ },
1472
+ "else": {
1473
+ "@path": "$.traits.created_at"
1474
+ }
1475
+ }
1476
+ },
1477
+ "avatar_image_url": {
1478
+ "@path": "$.traits.avatar"
1479
+ },
1480
+ "user_hash": {
1481
+ "@if": {
1482
+ "exists": {
1483
+ "@path": "$.integrations.Intercom.user_hash"
1484
+ },
1485
+ "then": {
1486
+ "@path": "$.integrations.Intercom.user_hash"
1487
+ },
1488
+ "else": {
1489
+ "@path": "$.integrations.Intercom.userHash"
1490
+ }
1491
+ }
1492
+ },
1493
+ "intercom_user_jwt": {
1494
+ "@if": {
1495
+ "exists": {
1496
+ "@path": "$.integrations.Intercom.intercom_user_jwt"
1497
+ },
1498
+ "then": {
1499
+ "@path": "$.integrations.Intercom.intercom_user_jwt"
1500
+ },
1501
+ "else": {
1502
+ "@path": "$.integrations.Intercom.intercomUserJwt"
1503
+ }
1504
+ }
1505
+ },
1506
+ "company": {
1507
+ "company_id": {
1508
+ "@path": "$.traits.company.id"
1509
+ },
1510
+ "name": {
1511
+ "@path": "$.traits.company.name"
1512
+ },
1513
+ "created_at": {
1514
+ "@if": {
1515
+ "exists": {
1516
+ "@path": "$.traits.company.createdAt"
1517
+ },
1518
+ "then": {
1519
+ "@path": "$.traits.company.createdAt"
1520
+ },
1521
+ "else": {
1522
+ "@path": "$.traits.company.created_at"
1523
+ }
1524
+ }
1525
+ },
1526
+ "plan": {
1527
+ "@path": "$.traits.company.plan"
1528
+ },
1529
+ "size": {
1530
+ "@path": "$.traits.company.size"
1531
+ },
1532
+ "website": {
1533
+ "@path": "$.traits.company.website"
1534
+ },
1535
+ "industry": {
1536
+ "@path": "$.traits.company.industry"
1537
+ },
1538
+ "monthly_spend": {
1539
+ "@path": "$.traits.company.monthly_spend"
1540
+ }
1541
+ },
1542
+ "companies": {
1543
+ "@arrayPath": [
1544
+ "$.traits.companies",
1545
+ {
1546
+ "company_id": {
1547
+ "@path": "$.id"
1548
+ },
1549
+ "name": {
1550
+ "@path": "$.name"
1551
+ },
1552
+ "created_at": {
1553
+ "@if": {
1554
+ "exists": {
1555
+ "@path": "$.createdAt"
1556
+ },
1557
+ "then": {
1558
+ "@path": "$.createdAt"
1559
+ },
1560
+ "else": {
1561
+ "@path": "$.created_at"
1562
+ }
1563
+ }
1564
+ },
1565
+ "plan": {
1566
+ "@path": "$.plan"
1567
+ },
1568
+ "size": {
1569
+ "@path": "$.size"
1570
+ },
1571
+ "website": {
1572
+ "@path": "$.website"
1573
+ },
1574
+ "industry": {
1575
+ "@path": "$.industry"
1576
+ },
1577
+ "monthly_spend": {
1578
+ "@path": "$.monthly_spend"
1579
+ }
1580
+ }
1581
+ ]
1582
+ },
1583
+ "hide_default_launcher": {
1584
+ "@if": {
1585
+ "exists": {
1586
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1587
+ },
1588
+ "then": {
1589
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1590
+ },
1591
+ "else": {
1592
+ "@path": "$.context.Intercom.hide_default_launcher"
1593
+ }
1594
+ }
1595
+ }
1596
+ },
1597
+ "eventSlug": null
1598
+ },
1599
+ {
1600
+ "name": "Identify Company",
1601
+ "type": "automatic",
1602
+ "partnerAction": "identifyCompany",
1603
+ "subscribe": "type = \"group\"",
1604
+ "mapping": {
1605
+ "company": {
1606
+ "company_id": {
1607
+ "@path": "$.groupId"
1608
+ },
1609
+ "name": {
1610
+ "@path": "$.traits.name"
1611
+ },
1612
+ "created_at": {
1613
+ "@if": {
1614
+ "exists": {
1615
+ "@path": "$.traits.createdAt"
1616
+ },
1617
+ "then": {
1618
+ "@path": "$.traits.createdAt"
1619
+ },
1620
+ "else": {
1621
+ "@path": "$.traits.created_at"
1622
+ }
1623
+ }
1624
+ },
1625
+ "plan": {
1626
+ "@path": "$.traits.plan"
1627
+ },
1628
+ "size": {
1629
+ "@path": "$.traits.size"
1630
+ },
1631
+ "website": {
1632
+ "@path": "$.traits.website"
1633
+ },
1634
+ "industry": {
1635
+ "@path": "$.traits.industry"
1636
+ },
1637
+ "monthly_spend": {
1638
+ "@path": "$.traits.monthly_spend"
1639
+ }
1640
+ },
1641
+ "hide_default_launcher": {
1642
+ "@if": {
1643
+ "exists": {
1644
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1645
+ },
1646
+ "then": {
1647
+ "@path": "$.context.Intercom.hideDefaultLauncher"
1648
+ },
1649
+ "else": {
1650
+ "@path": "$.context.Intercom.hide_default_launcher"
1651
+ }
1652
+ }
1653
+ }
1654
+ },
1655
+ "eventSlug": null
1656
+ }
1657
+ ]
1658
+ }