You can find the first part of the document here.
Integration Phase:
For this part, We will see an example with Klaviyo integration.
Klaviyo Integration with Digioh
Click on Integration From Digioh Account. We will create four integrations step by step.
Integration number 1:
Select RAF Invitation Integration with Shopify App
Form Post Url: https://phplaravel-692809-2652143.cloudwaysapps.com/api/coupon
Post Type: JSON
Field mapping:
Integration number 2
RAF Invitation Integration with Klavyio after Shopify App response
Form Post Url: https://a.klaviyo.com/api/v2/list/list_id/members?api_key=
list_id: is your klaviyo list id
api_key: will be your klaviyo api key
Post type: JSON Raw
For Klaviyo List id please visit this link
And click on the list name and copy the list id from the top URL
Field mapping:
Go to Integration Advanced Settings and map your fields:
{"profiles":[{"email":"[EMAIL]","coupon_code":"[INTEGRATION|61802|json.coupon_code]"}]}
We use the Digioh Piping integration, it depends on a parent integration. When we get the response from parent integration, this integration will trigger and send the data to Klaviyo.
Here we are getting the coupon code in response from Shopify App (integration id 61802). After the response is complete, we integrate that coupon with Klaviyo.
Integration number 3:
RAF Referrer Reward Integration with Shopify App
Form Post Url: https://phplaravel-692809-2652143.cloudwaysapps.com/api/referrer/coupon
Post Type: JSON
Field mapping:
Integration number 4:
RAF Referrer Reward Klaviyo Integration
Form Post Url: https://a.klaviyo.com/api/v2/list/list_id/members?api_key=
list_id: is your klaviyo list id
Api_key : your klaviyo api key
Post Type: JSON Raw
For Klaviyo List id please visit this link and follow the same steps mentioned in Integration number 2.
Field mapping:
{"profiles":[{"email":"[EMAIL]","coupon_code":"[INTEGRATION|61802|json.coupon_code]"}]}
Same above, we use the Digioh Piping integration. It depends on parent integration. When we get the response from parent integration, this integration will trigger and send the data to Klaviyo.
Here we are getting the referrer email in response from Shopify App(integration id 61818). After the response is complete, we integrate that email with Klaviyo.
If you have any questions about setting up Digioh Shopify Refer a Friend, send us an email at contact@digioh.com, and we’ll be glad to help!