Integrate Clevertap with Shopflo

Setting up the integration

Enable Clevertap integration on the Shopflo Dashboard.

Refer below on how to find the correct inputs from Clevertap.

Inputs required
  • Account ID
  • Region

You can get information on your {Account ID} and {region} from your dashboard's URL. Check here for more details.

Dashboard URL: {region}.dashboard.clevertap.com/{Account_ID}

  • Passcode
  • Go to Settings → Project
  • Click on the [+Passcode] button to generate a passcode

Settings page

  • Ensure that the expiry date is set to Forever
  • Give the passcode a name of your choice and click Create. Copy the passcode and save it on the Shopflo dashboard

Creating passcode

  • Identity
  • Can be set as phone or email on Shopflo
  • You can verify your identity value type under Settings → User Identity

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,
  • Go through the order journey on checkout
  • On Clevertap dashboard, go to Segments
  • Search your user using by identity as should have been set for the test order placed
  • You will see the events with respective payloads reflecting on the Clevertap dashboard under Activity tab.

The events are sent against objectId, with identity sent as phone or email based on what’s selected on Shopflo dashboard

What events are being sent?
Checkout Started

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflo

Login completed

User profile updated with phone number

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflologin

type: cookie_login

phone: +9198765544321

Address submitted

User profile updated with email id, first name, last name

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflo

Payment Initiated

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflo

Product SKU IDs: Prod_123, Prod_456

Product Line Items: 123, 456

Total products: 2

Product Quantity: 3

Total Amount: 123

Discount: 23

Payment method: UPI

Coupon Success

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflo

Product SKU IDs: Prod_123, Prod_456

Product Line Items: 123, 456

Total products: 2

Product Quantity: 3

Total Amount: 123

Discount: 23

Coupon Code: WELCOME

Coupon Failed

Checkout URL: <https://checkout.shopflo.co/?tokenId=88b4c6da9>

Channel: Shopflo

Product SKU IDs: Prod_123, Prod_456

Product Line Items: 123, 456

Total products: 2

Product Quantity: 3

Total Amount: 123

Discount: 23

Coupon Code: NOTWELCOME

How to enable Shopflo checkout url?

Use Payment Initiated event in your workflows to send Abandoned Checkout messages to users. The parameter {checkoutURL} will open the checkout for the user.