How to setup the integration?
Enable Contlo integration on Shopflo Dashboard. Refer below on how to find the correct inputs from Contlo.
Inputs required
API Key
They API Key can be found under App Market > Integrations > Shopflo in your Contlo dashboard. Copy the API Key and paste in Shopflo Dashboard.
Contlo Dashboard
How to verify the setup?
We have added a verification on the Shopflo dashboard for your credentials when you add the keys. That should take care of any wrong inputs getting saved.
To test the flow,
Setup a workflow with any shopflo event as trigger
Go through the checkout journey
Contlo will receive the events. Based on the workflow, an action gets triggered and you can verify the flow
What events are being sent?
SHOPFLO LOGIN COMPLETED
line_items: ["41892488839333"]checkoutURL: <https://checkout.shopflo.co/?tokenId=88b4c6da9f>login_type: cookie_login
SHOPFLO ADDRESS SUBMITTED
checkoutURL: <https://checkout.shopflo.co/?tokenId=88b4c6da9f534f38-bee2-8b706be2c0e0>type: cookie_login
SHOPFLO PAYMENT METHOD SELECTED
checkoutURL: <https://checkout.shopflo.co/?tokenId=88b4c6da9f534f38-bee2-8b706be2c0e0>type: cookie_loginmethod: 'upi'
SHOPFLO ORDER COMPLETED
tyPageURL: "brand.myshopify.com/orders/45676542/hgfd658798"discount_value: '323.28'cart_token: 06a7c28f-6d5-4c08-a54-f0728af76shipping_address_province: Uttar pradeshshipping_address_zip: 281121first_name: Johnlast_name: Doeorder_id: 5190263734503currency: INRtotal_price: 1023.72last_name: doediscount_codes: {0: GUNEET20, 1: PREPAID}line_items: {0: 8056809390311, 1: 8084034322663}shipping_address_country: Indiashippin_address_city: Vrindavanbuyer_accepts_marketing: true
Use cases unlocked
Since Shopflo has direct integration with Contlo, you can leverage the following information to setup more personalised messaging for your customers.
All Shopflo events carry
Shopflo checkout URL
Line items
This allows you to:
Send Shopflo checkout URL for all your abandoned checkout messages and emails
Send personalised abandoned checkout messages based on products added to cart by the user
How to enable Shopflo checkout url?
Set the url as Custom URL in your Abandoned Checkout messages. The parameter {{event.checkout_url}} will take user to the Shopflo checkout.