⏱️ 5 minutes
- Download accShopifyWebChat.json file - if you're not cloning the repo then right-click the file link and select Save link as...
- Within Zoom Contact Center Management, select Flows in the left menu
- First we need to create the web chat flow. To do this, click Import, and then within the dialog:
- Enter the name:
accShopifyWebChat
- Enter the description:
Calls Shopify Admin API to retrieve customer/order data and populate Zoom custom variables. Accelerator provided by Acceleraate Ltd - acceleraate.com
- Click Import and then locate the file accShopifyWebChat.json you downloaded
- Click Add
- Enter the name:
- After importing, the flow will be in a draft state and will need to be published. To do this, click on accShopifyWebChat in the list of flows to edit it and the flow will open in a new browser tab. Within the flow editing screen:
- Click the Publish button located in the top-right of the screen - this can take up to 30 seconds to publish.
- Once it’s confirmed as published then close the flow tab
⏱️ 3 minutes
Within Zoom Contact Centre, an Entry ID is the mechanism for linking a flow to your website.
- Within the Zoom Admin Portal, in the Contact Centre Management section, select Preferences
- Click the Entry ID tab and then click the Create button.
- Enter a display name for the Entry ID, e.g.
shopify-webchat
- Then click Create and the new entry ID will appear on the list
⏱️ 2 minutes
Next, you’ll need to attach the new Entry ID to the accShopifyWebChat flow you created:
- In the Contact Centre Management section, click on Flows
- Locate the accShopifyWebChat flow in the list, click on the three dots icon on the right of the row and select Manage Entry Point
- Click Add Entry Point
- Tick the box next the the Entry ID you created earlier, then click Save
- Select the Install SDK option
- Click the Copy button to copy the script tag
- Make a note of the script by pasting it into a safe place - you’ll need this script when updating your website in the next step
- Finally, click Save and the dialog will close
⏱️ Time depends on your own website publishing process
To test your flow from a web browser, you need install the script you got from the previous step onto your website. It’s likely that you’ll need help from your web development or web publishing teams to make these changes.
- Locate the script that you saved from the previous step. It will look something like the example below - make sure that you use your own script and DO NOT copy this script as it won’t work on your website.
// Don't copy this script to your site - it's just an example for reference
<script
data-chat-entry-id="XXXyyyZZZaaaBBBccc"
src="https://xxxxxxxx.zoom.us/zzz/web-sdk/chat-client.js">
</script>
- Add the script tag to any pages where you want your chat to be available - the best place for the script is just before the closing body tag
</body>
⏱️ 2 minutes
It’s important that you’ve added your website domain to the list of Associated Domains within Zoom Account Management, Account Profile. If you don’t do this then the chat function will fail as it won’t be able to access your Zoom Contact Centre account.
You can set up Associated Domains for your website staging/test environments in addition to your live environment.
Refer to the Zoom documentation for adding Associated Domains.
⏱️ 1 minute
If your website is hosted on a subdomain (for example www
) of the domain you added to Associated Domains in the previous step, then you need to register the subdomain in Zoom Contact Center Preferences. Without this your webchat will fail to initialise and display an error Request token failed
.
- In the Contact Centre Management section, click on Preferences
- Scroll down to the Associated Domains section, then click on Manage
- Click the Add Subdomain button
- Enter the subdomain you're using, for example
www
- Finally click Add
⏱️ Time depends on your own website publishing process
Finally, publish the changes you made to your website.
Step 5 - Testing the Shopify Accelerator
Zoom Contact Center & Shopify Accelerator
Step 1 - Shopify App Installation
Step 2 - Zoom Contact Center Configuration
Step 3 - Voice Channel Configuration
Step 4 - Web Chat Channel Configuration