Talon.One (Actions) Destination
Create flexible and targeted promotional and loyalty campaigns with Talon.One. Campaigns can be created and managed by non-technical users like marketers. There is no need to get your development team involved. Features include coupons, discounts, loyalty programs, referral tracking, geofencing, and bundling.
This destination is maintained by Talon.One. For any issues with the destination, contact the Talon.One Support team or refer to Talon.One’s documentation.
Good to know: This page is about the Actions-framework Talon.One Segment destination. There’s also a page about the non-Actions Talon.One destination. Both of these destinations receive data from Segment.
Benefits of Talon.One (Actions) vs Talon.One Classic
Talon.One (Actions) allows you to share more data than the classic destination. The classic version only shares customer profile data. The Action version supports sharing the following data:
- Customer profile data
- Audience data
- Tracking events
Getting started
Creating an API key in Talon.One
Segment needs a Talon.One-generated API key to be able to send data to your Talon.One Application. To generate an API key specific to Segment:
- Open your Talon.One Application in the Campaign Manager and click Settings > Developer settings.
- Click Create API Key.
- For Do you want to use this API Key with a 3rd party service, select Yes.
- Select Segment from the dropdown.
- Select an expiry date and click Create API Key.
- Copy it for later use.
Talon.One API Rate Limit
Talon.One limits integrations with Segment to 60 requests per second for any given client, regardless of the endpoint. To increase this limit, contact Talon.One.
Adding a Talon.One destination
To start sending data to Talon.One from Segment, create a Talon.One destination in Segment.
- In Segment, click Destinations > Add Destination. The Destination catalog opens.
- Search for Talon.one and configure the destination.
- Enter the details:
- In Name, type a name, for example
Talon.One destination
. - In API key, paste the API key generated in the previous section.
- In Deployment, type the URI of your Talon.One deployment, for example
https://mycompany.europe-west1.talon.one/
.
- In Name, type a name, for example
- (Optional) Set up your filters.
- Configure the mapping:
- Click New Mapping and select the type of action to perform in Talon.One. For example When a new audience is created in Segment, also create it in Talon.One.
- Configure the trigger and action fields.
- Click Event Tester and test if you received the data in Talon.One.
Once you receive data, you can start creating rules that rely on that data.
Important: You might need to create custom attributes in Talon.One to be able to map the data from Segment in Talon.One. See the Talon.One docs.
Testing the integration
You can use the following payloads to test and fine-tune your requests.
{
"messageId": "segment-test-message-t1kx8e",
"timestamp": "2022-03-22T12:41:20.918Z",
"type": "track", // or any other type in Segment
"userId": "test-user-z65zqk",
"event": "track-event", // or any other event in Segment
"email": "test@example.org",
"projectId": "qR6APLKpCBB3ue8pHkBLpo",
"properties": {
"eventType": "mySegmentEvent",
"type": "boolean",
"customerProfileId": "a_customer_id",
"attributes": {
"language": "English" // depends your custom attributes in Talon.One
}
}
}
Next steps
Once you receive data from Segment inside Talon.One, start creating your rules in the Campaign Manager. See the Talon.One documentation.
Destination Settings
Setting | Description |
---|---|
API Key | Required. Created under Developer Settings in the Talon.One Campaign Manager. |
Deployment | Required. The base URL of your Talon.One deployment. |
Available Actions
Build your own Mappings. Combine supported triggers with the following Talon.One-supported actions:
Mapping limits per destination
Individual destination instances have support a maximum of 50 mappings.
Create Audience
This creates a new audience entity in Talon.One.
Create Audience is a Cloud action.
Field | Description |
---|---|
Segment Audience ID* | Type: STRING You should get this audience ID from Segment. |
Audience Name* | Type: STRING You should get this audience name from Segment. |
[Deprecated] Track event
This records a custom event in Talon.One. Important: This Action is deprecated. Use the Track event Action instead.
[Deprecated] Track event is a Cloud action.
Field | Description |
---|---|
Customer Profile ID* | Type: STRING The customer profile integration ID to use in Talon.One. It is the identifier of the customer profile associated to the event. |
Event Type* | Type: STRING The name of the event sent to Talon.One. |
Type* | Type: STRING Type of event. Can be only |
Attribute-Value pairs | Type: OBJECT Extra attributes associated with the event. See more info. |
Attributes info | Type: OBJECT Use this field if you want to identify an attribute with a specific type |
[Deprecated] Upsert customer profile
This updates attributes and audiences for a single customer profile. Important: This Action is deprecated. Use the Update customer profile Action instead.
[Deprecated] Upsert customer profile is a Cloud action.
Field | Description |
---|---|
Attribute-Value pairs | Type: OBJECT Extra attributes associated with the customer profile. See more info. |
Customer Profile ID* | Type: STRING The customer profile integration identifier to use in Talon.One. |
List of audience ID to dissociate with the customer profile. | Type: INTEGER You should get these audience IDs from Talon.One. |
List of audience ID to associate with the customer profile. | Type: INTEGER You should get these audience IDs from Talon.One. |
Run rule engine | Type: BOOLEAN This runs rule engine in Talon.One upon updating customer profile. Set to true to trigger rules. Setting this property to false improves response times. For audiences changes the runRuleEngine should be true. Default value is false. |
Attributes with types | Type: OBJECT Use this field if you want to identify an attribute with a specific type |
Delete Audience
This deletes the audience entity in Talon.One.
Delete Audience is a Cloud action.
Field | Description |
---|---|
Segment Audience ID* | Type: STRING You should get this audience ID from Segment. |
Update Multiple Customer Profiles’ Attributes
This updates attributes for multiple customer profiles.
Update Multiple Customer Profiles’ Attributes is a Cloud action.
Field | Description |
---|---|
Data item to change customer profile attributes* | Type: OBJECT An array of JSON objects that contains customer profile identifier and list of attributes and their values. Customer profile ID is required. |
Mutual Attribute-Value pairs | Type: OBJECT This may contain mutual list of attributes and their values for every customer profile in the “data” array. |
Attributes with types | Type: OBJECT Use this field if you want to identify an attribute with a specific type |
Update Audience Name
This updates the audience name if there is an existing audience entity.
Update Audience Name is a Cloud action.
Field | Description |
---|---|
Segment Audience ID* | Type: STRING You should get this audience ID from Segment. |
Audience Name* | Type: STRING You should get this audience name from Segment. |
Update Multiple Customer Profiles’ Audiences
This updates audiences for multiple customer profiles.
Update Multiple Customer Profiles’ Audiences is a Cloud action.
Field | Description |
---|---|
Data item to change customer profile audiences* | Type: OBJECT An array of JSON objects that contains customer profile identifier and list of audiences to associate and dissociate with the indicated customer profile. Customer profile ID and at least one audience ID are required. |
[Deprecated] Update customer session
This updates a customer session. Important: This Action is deprecated. Use the Update customer session Action instead.
[Deprecated] Update customer session is a Cloud action.
Field | Description |
---|---|
Customer Session ID* | Type: STRING The customer session integration identifier to use in Talon.One. |
Callback Destination URI | Type: STRING This specifies the address of the service and its endpoint to do callback request. |
Callback API Key | Type: STRING This specifies API key and relative header. The header is specified optionally |
Content Fields | Type: STRING This specifies a list of the fields from the response you need to receive. Comma character is separator. If omitted, all the fields will be forwarded from the response to the callback destination. |
Correlation ID | Type: STRING This specifies ID of the request that will be forwarded to the destination URI with the callback request with the same header name. If omitted, the X-Correlation-ID will not be in the callback request. |
Customer Session Data* | Type: OBJECT This contains all the data related to customer session. |
Session Attributes info | Type: OBJECT Use this field if you want to identify a session attribute with a specific type |
Cart Items Attributes info | Type: OBJECT Use this field if you want to identify a cart item attribute with a specific type |
[Deprecated] Upsert customer profile V2
You do not have to create attributes or audiences before using this Action. Important: This Action is deprecated. Use the Update customer profile Action instead.
[Deprecated] Upsert customer profile V2 is a Cloud action.
Field | Description |
---|---|
Customer Profile ID* | Type: STRING The customer profile integration identifier to use in Talon.One. |
The audiences for the customer to join. | Type: OBJECT Audience name and integration ID |
The audiences for the customer to leave. | Type: OBJECT Audience name and integration ID |
Run rule engine | Type: BOOLEAN This runs rule engine in Talon.One upon updating customer profile. Set to true to trigger rules. |
Attribute-Value pairs | Type: OBJECT Extra attributes associated with the customer profile. See more info. |
Attributes info | Type: OBJECT Use this field if you want to identify an attribute with a specific type |
Track event
This records a custom event in Talon.One. Create the event and all the required attributes before using this Action.
Track event is a Cloud action.
Field | Description |
---|---|
Skip Non-existing Attributes Flag | Type: BOOLEAN Indicates whether to skip non-existing attributes. If |
Customer Profile ID* | Type: STRING The customer profile integration ID to use in Talon.One. It is the identifier of the customer profile associated to the event. |
Event Type* | Type: STRING The name of the event sent to Talon.One. |
Attribute-Value pairs | Type: OBJECT Extra attributes associated with the event. See more info. |
Update customer profile
This updates attributes and audiences for a single customer profile. Create all the required attributes and audiences before using this Action.
Update customer profile is a Cloud action.
Field | Description |
---|---|
Customer Profile ID* | Type: STRING The customer profile integration identifier to use in Talon.One. |
Skip Non-existing Attributes Flag | Type: BOOLEAN Indicates whether to skip non-existing attributes. If |
List of audience ID to dissociate with the customer profile. | Type: INTEGER You should get these audience IDs from Talon.One. |
List of audience ID to associate with the customer profile. | Type: INTEGER You should get these audience IDs from Talon.One. |
Run rule engine | Type: BOOLEAN This runs rule engine in Talon.One upon updating customer profile. Set to true to trigger rules. |
Attribute-Value pairs | Type: OBJECT Extra attributes associated with the customer profile. See more info. |
Update customer session
This updates a customer session. Create all the required attributes before using this Action.
Update customer session is a Cloud action.
Field | Description |
---|---|
Customer Session ID* | Type: STRING The customer session integration identifier to use in Talon.One. |
Callback Destination URI | Type: STRING This specifies the address of the service and its endpoint to do callback request. |
Callback API Key | Type: STRING This specifies API key and relative header. The header is specified optionally |
Content Fields | Type: STRING This specifies a list of the fields from the response you need to receive. Comma character is separator. If omitted, all the fields will be forwarded from the response to the callback destination. |
Correlation ID | Type: STRING This specifies ID of the request that will be forwarded to the destination URI with the callback request with the same header name. If omitted, the X-Correlation-ID will not be in the callback request. |
Skip Non-existing Attributes Flag | Type: BOOLEAN Indicates whether to skip non-existing attributes. If |
Customer Profile ID | Type: STRING The customer profile integration identifier to use in Talon.One. |
Coupon Codes | Type: STRING Any coupon codes entered. Up to 100 coupons.` |
Referral Codes | Type: STRING Any referral code entered.` |
Loyalty Cards | Type: STRING Any loyalty cards used. Up to 1 loyalty cards.` |
State | Type: STRING Indicates the current state of the session. ` |
Card Items | Type: OBJECT The items to add to this sessions. If cart item flattening is disabled: Do not exceed 1000 items (regardless of their quantity) per request. If cart item flattening is enabled: Do not exceed 1000 items and ensure the sum of all cart item’s quantity does not exceed 10.000 per request.` |
Additional Costs | Type: OBJECT Use this property to set a value for the additional costs of this session, such as a shipping cost.` |
Identifiers | Type: STRING Session custom identifier that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. |
Attribute-Value pairs | Type: OBJECT Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. See more info. |
Migration from the classic Talon.One destination
To prevent duplicate events being created in Talon.One, ensure that for each Segment source, this destination and the classic Talon.One destination are not both enabled at the same time.
This page was last modified: 05 Aug 2024
Need support?
Questions? Problems? Need more info? Contact Segment Support for assistance!