Integrate WebEngage with Shopflo

How to setup the integration?

Enable WebEngage integration on Shopflo Dashboard. Refer below on how to find the correct inputs from WebEngage.

Inputs required

  • API Key and License Code

They can be found under Data Platform > Integrations > Rest API in your WebEngage dashboard. Click View. You will find API Key under Project Credentials.

Note: If your license code has ‘~’, put that also on the dashboard

  • Identifying data center

If your WebEngage dashboard link starts with, dashboard.in.webengage.com, then it means that you're using India data center.

Note: Only in that case select the ‘Indian Data Center’ check box on Shopflo 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,
  • Go through the order journey
  • Search for your email ID on the Webengage dashboard under Users → List of users
  • You will see the events with respective payloads reflecting on the Webengage dashboard.

What events are being sent?

  • Shopflo checkout button clicked

Total Price: 1320
Currency: INR
Total Items:2

  • Shopflo login completed

line_items: ["41892488839333"]
checkoutURL: <https://checkout.shopflo.co/?tokenId=88b4c6da9f534f38-bee2-8b706be2c0e0>
type: cookie_login

  • Shopflo address submitted

line_items: ["41892488839333"]
name: John Doe
type: cookie_login
email: johndoe@example.com
checkoutURL: <https://checkout.shopflo.co/?tokenId=88b4c6da9f534f38-bee2-8b706be2c0e0>

Note: User profile update happens at address submitted event. Parameters updated:

  • First name
  • Last name
  • Phone
  • Email

Update on user profile is sent instantaneously from our end. It may take a few minutes for it to reflect on Webengage.

How to enable Shopflo checkout url?

  • Use Shopflo Address Submitted event in your workflows to send Abandoned Checkout messages to users. The parameter checkoutURL will open the checkout for the user.