This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful jumping off point as you plan your implementation.
Wix users can keep reviews from an external eCommerce solution up to date with their reviews on Wix with a 2-way sync. Synchronize Wix and the eCommerce solution with these flows:
Create mappings for the following from the Wix site to the eCommerce solution using common fields so the reviews can sync:
Store the mappings on your server. Then follow these flows to create the 2-way sync.
Listen for a change in Wix reviews with the following:
When one of the events is triggered, you receive the review in the response. You can send those changes to the eCommerce solution with a flow like this:
Get the slug
which tells you what the event was, entityId
, and other relevant information from the response.
Use the mappings from the initial setup to send the relevant information to the eCommerce solution.
Ignore the resulting event from the eCommerce solution so you don't create an endless loop of updates.
Listen for review events from the eCommerce solution. When you receive a change it needs to synchronize, follow this basic flow:
Use the Contacts API to check if the review author has a contact ID on the Wix site.
The Reviews API allows only 1 review for each entity per contact. Use the mappings from the initial setup to filter out imported reviews if there is already a Wix site review from the contact for the entity.
Use the mappings from the initial setup and call Create Review if the author is a contact.
Ignore the resulting event from Wix so you don't create an endless loop of updates.
Note: This flow requires Wix Blocks.
To create a media gallery of photos from reviews, retrieve images from reviews, and then display them in media layout:
Use Query Reviews to retrieve reviews that have media.
Extract the image.url
from the response and use the Media API to retrieve the media.
Display the retrieved media items in gallery layout in a widget using Wix Blocks. Learn more about Wix Blocks design.
To receive timely customer feedback, gain insights into product satisfaction, and identify areas for improvement:
Listen for new reviews with Review Created.
Get the entityId
, content
, and any other relevant information from the response.
Extract reviews from the response that have a content.rating
less than 3.
Provide the extracted review IDs to the Wix user so they can reply in the dashboard.
Note: This flow requires Wix Blocks.
To display the most helpful reviews to promote products:
Use Query Reviews to get a list of the 10 most helpful reviews, sorted by most to least helpful.
Display the retrieved reviews in a widget using Wix Blocks. Learn more about Wix Blocks design.