Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Voucherify (Actions) Destination


Destination Info
  • Accepts Page, Alias, Group, Identify and Track calls.
  • Refer to it as Voucherify (Actions) in the Integrations object
  • This integration is partner owned. Please reach out to the partner's support for any issues.

Voucherify(link takes you to an external page) is an API-first Promotion Engine for growth teams. With Voucherify, marketers can run dynamic and personalized promotions and loyalty programs without the involvement of the development team. Run CDP-powered coupons, discounts, referrals, loyalty programs, gift cards, cashback, bundles, and more. The Destination integration provides a continuous flow of customer data from Segment to Voucherify to create custom events, create or update customers, and build audiences.

Voucherify maintains this destination. For any issues with the destination, contact the Voucherify Support team.


Benefits of Voucherify (Actions) vs Voucherify (Classic)

benefits-of-voucherify-actions-vs-voucherify-classic page anchor

The Voucherify (Actions) destination is bidirectional, which means you can configure Voucherify as both the destination and source of your customer data. The Destination Actions framework improves on classic destinations by enabling you to see and control how Segment sends the event data it receives from your sources to actions-based destinations. Each Action in a destination lists the event data it requires and the event data that is optional. You can also choose which event types, event names, or event property values trigger an Action. These Triggers and mappings make it possible to send different versions of the Action, depending on the context from which it is triggered.


  1. From the Segment web app, click Catalog, then click Destinations.
  2. Find the Destinations Actions item in the left navigation, and click it.
  3. Select Voucherify (Actions) and then Configure Voucherify (Actions).
  4. Select an existing Source to connect to Voucherify (Actions).
  5. Enter the API Key and API Token into your Segment Settings UI, which you can find from your Voucherify dashboard(link takes you to an external page).
  6. Enter Custom URL. Check your API region in Voucherify dashboard -> Project settings -> API endpoint. Then use one of API Endpoints(link takes you to an external page) and replace the API word with segmentio For example, if your default URL is: https://us1.api.voucherify.io(link takes you to an external page), then use: https://us1.segmentio.voucherify.io(link takes you to an external page). It also works for dedicated URLs.
  7. Select Quick Setup to start with pre-populated subscriptions, or Customized Setup to configure each action from scratch.
  8. Click Configure Actions.

Find your API Key and API Token

find-your-api-key-and-api-token page anchor

On the Voucherify Dashboard page:

  1. Open the Project settings from the user context menu on the top right.
  2. Find the Application Keys section on the project page.
  3. Use Application ID and Secret Key respectively as the API Key and API Token.

Property nameTypeRequiredDescription
Application IDstring
required

Custom Voucherify URLstring
required

Check your API region in Voucherify dashboard(link takes you to an external page) -> Project settings -> API endpoint. For example, if you are using a project with a URL: https://us1.api.voucherify.io, your Custom URL will be: https://us1.segmentio.voucherify.io. It also works for dedicated URLs.


Secret Keypassword
required

Voucherify (Actions) has the following presets

Preset NameTriggerDefault Action
Add Custom Event (Screen Event)Event type = "screen"Add custom event
Add Custom Event (Page Event)Event type = "page"Add custom event
Assign Customer To GroupEvent type = "group"Assign customer to group
Create Or Update CustomerEvent type = "identify" Upsert Customer
Add Custom Event (Track Event)Event type = "track"Add custom event

Build your own Mappings. Combine supported triggers with the following Voucherify-supported actions:

(information)

Mapping limits per destination

Individual destination instances have support a maximum of 50 mappings.

Send the Track, Page or Screen event that will be saved as a custom event(link takes you to an external page) in Voucherify.

Add custom event is a Cloud action. The default Trigger is type = "track" or type = "page" or type = "screen"

Property nameTypeRequiredDescription
Customer ObjectOBJECT
required

This is an object containing information about the customer(link takes you to an external page).


Referral ObjectOBJECT

Optional

If a conversion event for a referral program is set to a custom event(link takes you to an external page), then you need to send the referral code in the payload to make a record of the conversion event.


Loyalty ObjectOBJECT

Optional

If an earning rule in a loyalty program is based on a custom event(link takes you to an external page). This objects allows you specify the loyalty card to which the custom event should be attributed to.


Track Event MetadataOBJECT

Optional

The metadata object stores all custom attributes assigned to the custom event(link takes you to an external page). A set of key/value pairs that you can attach to an event object. It can be useful for storing additional information about the event in a structured format. Event metadata schema is defined in the Dashboard > Project Settings > Event Schema > Edit particular event > Metadata property definition.


Event NameSTRING

Optional

The name of the event that will be saved as a custom event(link takes you to an external page) in Voucherify.


Event TypeSTRING
required

Type of the event. For example: identify, track, page, screen or group

Assign customer to group

assign-customer-to-group page anchor

Assign a specific group and its traits to the customer.

Assign customer to group is a Cloud action. The default Trigger is type = "group"

Property nameTypeRequiredDescription
Customer ObjectOBJECT
required

Object containing information about the customer(link takes you to an external page).


Group IDSTRING
required

The ID used to uniquely identify a group to which customer(link takes you to an external page) belongs.


Group TraitsOBJECT

Optional

Traits of the group that will be created in customer metadata(link takes you to an external page).


Event TypeSTRING
required

Type of the event. For example: identify, track, page, screen or group.

Send the identify event to create or update the customer(link takes you to an external page)

Upsert Customer is a Cloud action. The default Trigger is type = "identify"

Property nameTypeRequiredDescription
Source IDSTRING
required

The source_id which identifies the customer(link takes you to an external page) in Voucherify.


NameSTRING

Optional

First name and last name of the customer(link takes you to an external page).


First NameSTRING

Optional

First name of the customer(link takes you to an external page). It will be merged with last_name to create the name field.


Last NameSTRING

Optional

Last name of the customer(link takes you to an external page). It will be merged with first_name to create the name field.


DescriptionSTRING

Optional

An arbitrary string that you can attach to a customer(link takes you to an external page) object.


Email AddressSTRING

Optional

The email that identifies the customer(link takes you to an external page) in Voucherify.


PhoneSTRING

Optional


BirthdateSTRING

Optional

Birthdate of the customer(link takes you to an external page). You can pass data here in date or datetime format (ISO 8601).


AddressOBJECT

Optional


MetadataOBJECT

Optional

A set of custom key/value pairs that you can attach to a customer. The metadata object stores all custom attributes assigned to the customer. It can be useful for storing additional information about the customer in a structured format.


Event TypeSTRING
required

Type of the event. For example: identify, track, page, screen or group


You can send computed traits and audiences generated using Engage to this destination as a user property. To learn more about Engage, schedule a demo(link takes you to an external page).

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to false.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

(information)

Real-time to batch destination sync frequency

Real-time audience syncs to Voucherify (Actions) may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Property nameTypeRequiredDescription
Application IDstring
required

Custom Voucherify URLstring
required

Check your API region in Voucherify dashboard(link takes you to an external page) -> Project settings -> API endpoint. For example, if you are using a project with a URL: https://us1.api.voucherify.io, your Custom URL will be: https://us1.segmentio.voucherify.io. It also works for dedicated URLs.


Secret Keypassword
required