Skip to content

Commit 2f59411

Browse files
authored
Merge pull request #3504 from segmentio/develop
Release 22.37.2
2 parents 22e1be9 + 1650c4e commit 2f59411

File tree

8 files changed

+428
-8
lines changed

8 files changed

+428
-8
lines changed

.github/styles/Vocab/Docs/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Preact
9595
Qualtrics
9696
Rokt
9797
Selligent
98+
Sendgrid
9899
Shopify
99100
signup
100101
Skalin

src/_data/catalog/destinations_private.yml

Lines changed: 381 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2022-09-06 with Qualtrics
2+
# destination data last updated 2022-09-13 with Sendgrid Marketing Campaigns
33
items:
44
- id: 54521fd525e721e32a72ee8e
55
name: AdRoll
@@ -2451,3 +2451,383 @@ items:
24512451
dynamic: false
24522452
allowNull: false
24532453
presets: []
2454+
- id: 631a6f32946dd8197e9cab66
2455+
display_name: Sendgrid Marketing Campaigns
2456+
name: Sendgrid Marketing Campaigns
2457+
slug: actions-sendgrid
2458+
previous_names:
2459+
- Sendgrid Marketing Campaigns
2460+
website: https://sendgrid.com/
2461+
status: PRIVATE_BETA
2462+
logo:
2463+
url: https://cdn.filepicker.io/api/file/jrbUXsZDQ708akn3cVyZ
2464+
mark:
2465+
url: https://cdn.filepicker.io/api/file/jrbUXsZDQ708akn3cVyZ
2466+
methods:
2467+
track: true
2468+
pageview: true
2469+
identify: true
2470+
group: true
2471+
alias: true
2472+
platforms:
2473+
browser: true
2474+
mobile: false
2475+
server: true
2476+
components: []
2477+
browserUnbundlingSupported: false
2478+
browserUnbundlingPublic: false
2479+
replay: false
2480+
settings:
2481+
- name: sendGridApiKey
2482+
type: password
2483+
defaultValue: ''
2484+
description: The Api key for your SendGrid account.
2485+
required: true
2486+
label: API Key
2487+
actions:
2488+
- id: rL5tHuZt3nvQLqn7oXeFhC
2489+
name: Upsert Contact
2490+
slug: updateUserProfile
2491+
description: Add or update a Contact in SendGrid.
2492+
platform: CLOUD
2493+
hidden: false
2494+
defaultTrigger: null
2495+
fields:
2496+
- id: 3uNdbPtxj8yupH24rzsaNn
2497+
sortOrder: 0
2498+
fieldKey: enable_batching
2499+
label: Batch Data to SendGrid Contacts PUT API
2500+
type: BOOLEAN
2501+
description: >-
2502+
When enabled, the action will use the SendGrid Contacts PUT API to
2503+
perform the batch operation. Batches can contain up to 30k records
2504+
in a request.
2505+
placeholder: ''
2506+
defaultValue: true
2507+
required: false
2508+
multiple: false
2509+
choices: null
2510+
dynamic: false
2511+
allowNull: false
2512+
- id: ah7jfBszNjKBBAt1yTFuPx
2513+
sortOrder: 1
2514+
fieldKey: first_name
2515+
label: First Name
2516+
type: STRING
2517+
description: The contact's first name.
2518+
placeholder: ''
2519+
defaultValue:
2520+
'@if':
2521+
exists:
2522+
'@path': $.traits.first_name
2523+
then:
2524+
'@path': $.traits.first_name
2525+
else:
2526+
'@path': $.properties.first_name
2527+
required: false
2528+
multiple: false
2529+
choices: null
2530+
dynamic: false
2531+
allowNull: true
2532+
- id: u6yVWGpTPdbVQ5fNiRxLyN
2533+
sortOrder: 2
2534+
fieldKey: last_name
2535+
label: Last Name
2536+
type: STRING
2537+
description: The contact's last name.
2538+
placeholder: ''
2539+
defaultValue:
2540+
'@if':
2541+
exists:
2542+
'@path': $.traits.last_name
2543+
then:
2544+
'@path': $.traits.last_name
2545+
else:
2546+
'@path': $.properties.last_name
2547+
required: false
2548+
multiple: false
2549+
choices: null
2550+
dynamic: false
2551+
allowNull: true
2552+
- id: 5oetP71ErKFc3rf9uzKA4j
2553+
sortOrder: 3
2554+
fieldKey: country
2555+
label: Country
2556+
type: STRING
2557+
description: The contact's country.
2558+
placeholder: ''
2559+
defaultValue:
2560+
'@if':
2561+
exists:
2562+
'@path': $.traits.address.country
2563+
then:
2564+
'@path': $.traits.address.country
2565+
else:
2566+
'@path': $.properties.address.country
2567+
required: false
2568+
multiple: false
2569+
choices: null
2570+
dynamic: false
2571+
allowNull: true
2572+
- id: tU767ncJqg4nurP78eh3Gy
2573+
sortOrder: 4
2574+
fieldKey: postal_code
2575+
label: Postal Code
2576+
type: STRING
2577+
description: The contact's postal code.
2578+
placeholder: ''
2579+
defaultValue:
2580+
'@if':
2581+
exists:
2582+
'@path': $.traits.address.postal_code
2583+
then:
2584+
'@path': $.traits.address.postal_code
2585+
else:
2586+
'@path': $.properties.address.postal_code
2587+
required: false
2588+
multiple: false
2589+
choices: null
2590+
dynamic: false
2591+
allowNull: true
2592+
- id: hWToMWEnn8B8KDy2xCYpmf
2593+
sortOrder: 5
2594+
fieldKey: city
2595+
label: City
2596+
type: STRING
2597+
description: The contact's city.
2598+
placeholder: ''
2599+
defaultValue:
2600+
'@if':
2601+
exists:
2602+
'@path': $.traits.address.city
2603+
then:
2604+
'@path': $.traits.address.city
2605+
else:
2606+
'@path': $.properties.address.city
2607+
required: false
2608+
multiple: false
2609+
choices: null
2610+
dynamic: false
2611+
allowNull: true
2612+
- id: 5Tq2bVEhkL1ZUGyTzqpbHx
2613+
sortOrder: 6
2614+
fieldKey: state
2615+
label: State
2616+
type: STRING
2617+
description: The contact's state.
2618+
placeholder: ''
2619+
defaultValue:
2620+
'@if':
2621+
exists:
2622+
'@path': $.traits.address.state
2623+
then:
2624+
'@path': $.traits.address.state
2625+
else:
2626+
'@path': $.properties.address.state
2627+
required: false
2628+
multiple: false
2629+
choices: null
2630+
dynamic: false
2631+
allowNull: true
2632+
- id: 9TSPbEY4WD2WTGTkdzuwcN
2633+
sortOrder: 7
2634+
fieldKey: address_line_1
2635+
label: Address Line 1
2636+
type: STRING
2637+
description: The contact's address line 1.
2638+
placeholder: ''
2639+
defaultValue:
2640+
'@if':
2641+
exists:
2642+
'@path': $.traits.address.line1
2643+
then:
2644+
'@path': $.traits.address.line1
2645+
else:
2646+
'@path': $.properties.address.line1
2647+
required: false
2648+
multiple: false
2649+
choices: null
2650+
dynamic: false
2651+
allowNull: true
2652+
- id: amfiMu6LSLBaDBXMbqkxyG
2653+
sortOrder: 8
2654+
fieldKey: address_line_2
2655+
label: Address Line 2
2656+
type: STRING
2657+
description: The contact's address line 2.
2658+
placeholder: ''
2659+
defaultValue:
2660+
'@if':
2661+
exists:
2662+
'@path': $.traits.address.line2
2663+
then:
2664+
'@path': $.traits.address.line2
2665+
else:
2666+
'@path': $.properties.address.line2
2667+
required: false
2668+
multiple: false
2669+
choices: null
2670+
dynamic: false
2671+
allowNull: true
2672+
- id: 6z7KA8azb9Xe3m1XgUSadD
2673+
sortOrder: 9
2674+
fieldKey: phone_number
2675+
label: Phone Number
2676+
type: STRING
2677+
description: The contact's phone number.
2678+
placeholder: ''
2679+
defaultValue:
2680+
'@if':
2681+
exists:
2682+
'@path': $.traits.phone
2683+
then:
2684+
'@path': $.traits.phone
2685+
else:
2686+
'@path': $.properties.phone
2687+
required: false
2688+
multiple: false
2689+
choices: null
2690+
dynamic: false
2691+
allowNull: true
2692+
- id: oLRbYgkFLfkFK7BXzoqP8
2693+
sortOrder: 10
2694+
fieldKey: whatsapp
2695+
label: WhatsApp
2696+
type: STRING
2697+
description: The contact's WhatsApp.
2698+
placeholder: ''
2699+
defaultValue:
2700+
'@if':
2701+
exists:
2702+
'@path': $.traits.whatsapp
2703+
then:
2704+
'@path': $.traits.whatsapp
2705+
else:
2706+
'@path': $.properties.whatsapp
2707+
required: false
2708+
multiple: false
2709+
choices: null
2710+
dynamic: false
2711+
allowNull: true
2712+
- id: fxb2pDVzG3TqcQPZv91KnY
2713+
sortOrder: 11
2714+
fieldKey: line
2715+
label: LINE ID
2716+
type: STRING
2717+
description: The contact's LINE ID.
2718+
placeholder: ''
2719+
defaultValue:
2720+
'@if':
2721+
exists:
2722+
'@path': $.traits.line
2723+
then:
2724+
'@path': $.traits.line
2725+
else:
2726+
'@path': $.properties.line
2727+
required: false
2728+
multiple: false
2729+
choices: null
2730+
dynamic: false
2731+
allowNull: true
2732+
- id: h9jKzrK8BCQG4pKdvD4TQA
2733+
sortOrder: 12
2734+
fieldKey: facebook
2735+
label: Facebook ID
2736+
type: STRING
2737+
description: The contact's Facebook ID.
2738+
placeholder: ''
2739+
defaultValue:
2740+
'@if':
2741+
exists:
2742+
'@path': $.traits.facebook
2743+
then:
2744+
'@path': $.traits.facebook
2745+
else:
2746+
'@path': $.properties.facebook
2747+
required: false
2748+
multiple: false
2749+
choices: null
2750+
dynamic: false
2751+
allowNull: true
2752+
- id: nEf4nq8cnZuitXigA3uPrB
2753+
sortOrder: 13
2754+
fieldKey: unique_name
2755+
label: Unique Name
2756+
type: STRING
2757+
description: The contact's unique name.
2758+
placeholder: ''
2759+
defaultValue:
2760+
'@if':
2761+
exists:
2762+
'@path': $.traits.unique_name
2763+
then:
2764+
'@path': $.traits.unique_name
2765+
else:
2766+
'@path': $.properties.unique_name
2767+
required: false
2768+
multiple: false
2769+
choices: null
2770+
dynamic: false
2771+
allowNull: true
2772+
- id: gvZ2wDobdfRMU4VcYLKqb6
2773+
sortOrder: 14
2774+
fieldKey: identity
2775+
label: Identity
2776+
type: STRING
2777+
description: The contact's identity.
2778+
placeholder: ''
2779+
defaultValue:
2780+
'@if':
2781+
exists:
2782+
'@path': $.traits.identity
2783+
then:
2784+
'@path': $.traits.identity
2785+
else:
2786+
'@path': $.properties.identity
2787+
required: false
2788+
multiple: false
2789+
choices: null
2790+
dynamic: false
2791+
allowNull: true
2792+
- id: 3NnjxaioL6xnhwcvqCcqKn
2793+
sortOrder: 15
2794+
fieldKey: primary_email
2795+
label: Email Address
2796+
type: STRING
2797+
description: The contact's email address.
2798+
placeholder: ''
2799+
defaultValue:
2800+
'@if':
2801+
exists:
2802+
'@path': $.traits.email
2803+
then:
2804+
'@path': $.traits.email
2805+
else:
2806+
'@path': $.properties.email
2807+
required: true
2808+
multiple: false
2809+
choices: null
2810+
dynamic: false
2811+
allowNull: false
2812+
- id: 3nEzzs5qkvxWM1Sx1Cb5j1
2813+
sortOrder: 16
2814+
fieldKey: customFields
2815+
label: Other Fields
2816+
type: OBJECT
2817+
description: |2-
2818+
2819+
Additional fields to send to SendGrid. On the left-hand side, input the SendGrid Custom Fields Id. On the right-hand side, map the Segment field that contains the value.
2820+
2821+
Custom Fields must be predefined in your SendGrid account and you can retrieve corresponding Id using get all field definitions endpoint.
2822+
2823+
Reference: [Get All field definitions](https://docs.sendgrid.com/api-reference/custom-fields/get-all-field-definitions)
2824+
---
2825+
2826+
2827+
placeholder: ''
2828+
required: false
2829+
multiple: false
2830+
choices: null
2831+
dynamic: false
2832+
allowNull: false
2833+
presets: []

0 commit comments

Comments
 (0)