Send event data to Voucherify
The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.
Voucherify 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 PostHog to Voucherify to create custom events, create or update customers, and build audiences.
Installation
- From the PostHog web app, click Data pipelines, then click Destinations.
- Find the Destinations Actions item in the left navigation, and click it.
- Select Voucherify and then Configure Voucherify.
- Select an existing Source to connect to Voucherify.
- Enter the API Key and API Token into your PostHog Settings UI, which you can find from your Voucherify dashboard.
- Enter Custom URL. Check your API region in Voucherify dashboard -> Project settings -> API endpoint. Then use one of API Endpoints and replace the API word with
posthog
For example, if your default URL is: https://us1.api.voucherify.io, then use: https://us1.posthog.voucherify.io. It also works for dedicated URLs. - Select Quick Setup to start with pre-populated subscriptions, or Customized Setup to configure each action from scratch.
- Click Configure Actions.
Configuration
Option | Description |
---|---|
Application ID Type: string Required: True | Application ID can be found in Voucherify dashboard. |
Secret Key Type: string Required: True | Secret Key can be found in Voucherify dashboard. |
Custom Voucherify URL Type: string Required: True | Check your API region in Voucherify dashboard -> Project settings -> API endpoint. For example, if you are using a project with a URL: |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "Voucherify","inputs": {"apiKey": {"value": ""},"secretKey": {"value": ""},"customURL": {"value": ""}},"enabled": true,"template_id": "segment-voucherify-actions"}'
FAQ
Is the source code for this destination available?
Yes. The source code is available on GitHub.
Who maintains this?
This is maintained by Segment. If you have issues with it not functioning as intended, please let us know!
What if I have feedback on this destination?
We love feature requests and feedback. Please tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum.
Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.