Connecting your email flows is not only extremely powerful, but also super simple.
Thanks to the "Webhook" trigger in Hoola Flows you can make combined flows in a couple of minutes.
💡 To learn more about the flows, you can go to this section: Flows
Create a Hoola flow with trigger Webhook
Hoola > Flows > "+ Create Flow".
Change the name of your flow
Edit trigger > select "Webhook
2. Add a Webhook to your Klaviyo flow
Select the Klaviyo flow you want to connect to Hoola
Determine at what time you want to connect the flow
Add a Webhook node
3. Connect Hoola to Klaviyo
Go back to your Hoola flow:
Edit Trigger
Copy the URL that appears under "Webhook URL POST".
Go to the Klaviyo node:
Edit Trigger
Paste the URL in "Destination URL".
3. Configure the information you want to transfer to Hoola from Klaviyo
From the Webhook Details section of Klaviyo you can configure your webhook to send any user information you are interested in.
It is important that you follow a specific structure:
{
"phoneNumber": "{{ person.phone_number|default:'' }}",
"data":
{
"firstName": "{{ person.first_name|default:'' }}",
"email": "{{ person.email }}",
"checkout_url": "{{ event.extra.checkout_url|default:'' }}",
"variable_1": "{{ contenido.variable_1 }}",
"variable_n": "{{ contenido.variable_n }}"
}
}
where;
"phoneNumber": required = the phone number
"data": is required if you want to send any additional information
"variable_n": is any additional variable you want to send, and it must be inside "data"
💡 PRO TIP: Copy the following script in Klaviyo and fill in only the information you are interested in in the "data:" section and follow the steps below
{
"phoneNumber": "{{ person.phone_number|default:'' }}",
"data":
{
}
}
To select the variables available in Klaviyo:
Click on "View profile & event properties".
Click on the variable you want to move to Hoola and it will be automatically copied to your clipboard.
Go back to the "JSON body" section where you determine the information to be sent to Hoola.
Type the name of the variable you want to send,
And paste the information to complete the content
Select and paste again all the variables you are interested in, until you have all the information.
4. Paste the information into Hoola
Go back to your Hoola flow, go to the "Edit Trigger" section and paste Klaviyo's information in the black text box where it says "Send variables to Hoola":
5. Complete the flow in Hoola
You can now continue your flow in Hoola, using the variables you just pasted into the trigger. All the variables will be available in the rest of the flow.
6. Confirm that everything works by doing a test run
If you want to check that everything is working correctly, the easiest way is to test your flow. To do this:
Publish the Hoola flow.
Go back to Klaviyo and edit the phoneNumber variable in the JSON information, so that it includes your personal phone number.
{
"phoneNumber": "{{ 346641***** }}",
"data":
{
"name": "{{ person.first_name|default:'' }}",
"checkout_url": "{{ event.extra.checkout_url|default:'' }}",
}
}
Click on “Preview”
Go to the end of the drop-down menu that appears with the user info to be sent "Payload Preview".
Click on “Send Request”
At this point you should receive the flow you have prepared in Hoola on your phone. If something doesn't appear as you would like it to, you can edit it and repeat the process as many times as you like until you are sure it works correctly.
🚨 If you need extra help with the flows, you can reach out to us!