To create a campaign in Ventrata first you need to create a flow in Klaviyo. To create a flow you need:
Trigger - an event, such as Booking Confirmation, that tells Klaviyo which flow to fire
Transactional Email - this is the content that is sent to the customer
Create Custom Event
Klaviyos Events API allows you to retrieve and create events that trigger flows. Each event has one metric—or event type—associated with it and a timestamp for when it occurred.
📗 TIP
Learn more about Events API in Klaviyo's developer documentation.
Prerequisites:
Have at least one profile identifier, such as
id
,email
📗 TIP
Typically, at least one profile (your email address) will be available. You can use this to create custom events.
Create a custom event:
Create a custom event:
📒 NOTE
Klaviyo's developer documentation provides examples of POST requests in common programming languages.
{
"data": {
"type": "event",
"attributes": {
"time": "2025-04-24T15:01:28Z",
"properties": {
"action": "Booking Confirmation",
"booking_code": "H8011Q0N",
"booking_duration": "1 hour",
"customer_first_name": "Eguenie Lalande",
"booking_question_answers": "Do you require a wheelchair?",
"booking_all_answers": "Yes"
},
"metric": {
"data": {
"type": "metric",
"attributes": {
"name": "Booking Confirmation"
}
}
},
"profile": {
"data": {
"type": "profile",
"attributes": {
"email": "[email protected]"
}
}
},
"unique_id": "UNIQUE-EVENT-ID"
}
}
}
Attribute | Description |
| REQUIRED use this space to insert variables you wish to use with the event; provide sample data for each property 📘 EXAMPLE You can use general variables for your customers:
But you may want to include specific booking related variables for the email type: Booking Cancellation
Booking Confirmation
and so on |
| defines the event type; this can be named the same as your event |
| Klaviyo is profile-based and requires a profile to associate events with; requires
|
| unique identifier of the event 📗 TIP Use uuidv4 or similar to create unique IDs for your events. |
📗 TIP
Learn more about events data model in Klaviyo's developer documentation.
Verify Event Creation
If your request was successful, you should see the metric of your custom event added in Klaviyo.
Go to your Klaviyo dashboard.
Navigate to Analytics > Metrics.
Analytics > Metrics
In the list of metrics, you will notice the corresponding metric is added.
In this case 'Booking Confirmation'.
Custom Metric
Create Email Template
In your Klaviyo dashboard, go to Content > Templates.
Press the Create button.
Create Template
Use the WYSIWYG editor to drag and drop content into the email template.
Edit Template
📒 NOTE
Insert variables into your template to populate your emails with actual values form individual bookings. Typically, your variables will relate to the event—like Booking Confirmation. So a variable will have the following format:
event.ventrata_variable|default:"
Replace
ventrata_variable
with the appropriate Klaviyo variable.When you are done editing, press the Exit button.
Exit Editor
Create Flow
In your Klaviyo dashboard, go to Flows.
Press the Create flow button.
Klaviyo - Create Flow
Then, press the Build your own button.
Klaviyo - Build Your Own Flow
Enter a name for your flow, such as 'Booking Confirmation'.
Press the Create flow button.
Klaviyo - Create Flow
Select your custom metric by going to Your metrics > API.
Then choose the custom event.
In this case 'Booking Confirmation'.
Select Custom Trigger
Press Save to set up your trigger.
Set up Trigger
Confirm and save your trigger selection.
Confirm and Save Trigger Selection
Drag and drop the Email action into the flow.
Add Email
Click on the email box to view Email details.
Email Details
Set the following parameters:
Email name - internal name of the email
Subject line - the subject line as it will appear in customers' inboxes
Preview text - the line below the subject line; if not provided, the beginning of the email body is shown
Press Edit sender to view the following:
Sender name - the name that appears in the sender information (for example, Ventrata)
Sender email address - by default, this is the email used to log into your Klaviyo account; change it here as needed
Uncheck the 'Use as reply-to' to specify a reply-to address
Add Cc and Bcc addresses
Edit Subject and Sender
Press the Select template button.
Switch to the Email: saved tab.
Email: Saved
On your template, press the three dots and select 'Use template'.
Use Template
Press the Preview & test button.
Preview & Test
Scroll down the right-hand pane to 'All properties'.
You will see two sets of properties:
Event properties - these are the properties specified by you when creating the custom event, populated with your sample data
Profile properties - these are properties collected by Klaviyo for each profile
Click on any property to copy and press Done in the top right corner.
Paste the copied property into the correct position in your template.
📒 NOTE
Repeat steps 16. to 19. for each property you wish to use in your template.
When your template is ready, press the Exit button in the top right corner.
Exit Template Editor
Then press the Done button in the top right corner to return to the flow.
Return to Flow Editor
In the flow editor, make sure the email step is selected and edit the email details as follows:
Finally, press the Save button to save your flow settings.
Save Flow
You can now exit the flow.
Exit Flow Setup
Turn Email into Transactional
You will need Klaviyo's Support team to help you with this step. The email must fulfil the following conditions:
Prerequisites:
Your Klaviyo account must be a paid account.
The email status is set to MANUAL.
The email DOES NOT have an A/B test set up for it.
The email must not be imported from your e-commerce platform into Klaviyo.
Ask Klaviyo for Support
Ask Klaviyo for Support
Go to Klaviyo Support.
Select Email support.
Email Support
Select a category and your issue.
Issue Settings
Scroll down the form to submit a request.
Submit a Request
In the free text box, include
a message describing your need to make your email into transactional
link to the flow email
📗 TIP
To obtain the correct email URL, open your flow, select the email action, and copy the URL from your browser's address bar. Paste it into your support request.
Edit Template
Select 'High' priority.
High Priority
Press Submit to send your request to Klaviyo.
Submit
Klaviyo's Support Team responds within 24 hours, but typically, your email is marked as transactional much sooner.
Turn Email Live
Once your flow is set up and the email has been marked 'TRANSACTIONAL', you can activate it by switching its status to LIVE.
In your Klaviyo dashboard, go to Flows.
Select your flow.
In the flow builder, select the Email block.
Change the status from MANUAL to LIVE.
Switch Email to Live
Create Campaign in Ventrata
Log in to your Ventrata dashboard.
Go to Products > Campaigns.
Campaigns
Press the + New Campaign button.
New Campaign
Enter a campaign name.
Keep the ‘Active’ field ticked.
Campaign Name
Select the ‘Klaviyo’ campaign manager.
Campaign Manager
Select your Klaviyo dummy trigger flow.
Campaign Template
ou can include a promotion.
Promotion
Check ‘Scheduled’ to send campaigns automatically when conditions specified using the below parameters are met:
Target your campaign at bookings specified by ‘Booking Sources’, ‘Booking Types’ and ‘Booking Statuses’.
Campaign Targets
Target specific languages.
Customer Languages
Select what type of channel the campaign should use to deliver receipts (email or sms only).
Campaign Channels
Target specific destinations, products and resellers.
Blacklist/Whitelist
Press the Create Campaign button.
Create Campaign