Wix

The Wix modules enable you to monitor, publish, or update posts, photos, and videos in your Wix account.

Getting Started with Wix

Prerequisites

In order to use Wix with Integromat, it is necessary to have a Wix account. If you do not have one, you can create a Wix account at wix.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Wix to Integromat

To connect your Wix account to Integromat you need to create an app in the Wix Developers Center to obtain the App ID and App Secret.

1. Log in to the Wix Developer Center at dev.wix.com using your Wix credentials.

2. Click the Create Your First App button.

2020-08-28_11_55_36-Window.png

3. Navigate to Permissions and click + Add Permissions (2020-08-28_12_05_42-Wix_Developers___My_New_App_1.png).

4. Add the following scopes:

Wix Developers Manage Your App
Wix CRM Read Form Submissions, Read Contacts
Wix Coupons Manage Coupons
Wix Chat Manage Chats
Wix Stores Manage Products, Manage Orders
Payments Read Payments

3J5w3Y29OO.gif

5. Go to OAuth in the left menu. Here you can find the App ID and App Secret.

TfsEQMQKMQ.gif

6. Enter https://www.integromat.com/oauth/cb/wix to the Redirect URL field and click Save.

7. Click the Test Your App button in the top-right corner and then Test App.

bu0ZsHppnR.gif

7. Switch back to the OAuth settings page and click the Save button again.

2020-09-22_10_33_15-Window.png

8. Go to Integromat and open the Wix module's Create a connection dialog.

9. Enter the App ID and App Secret from step 5 (above) to the respective fields and click the Continue button.

After you click the Continue button, Integromat will redirect you to the Wix website where you will be prompted to grant Integromat access to your account.

10. Click the Allow and Add button to establish a connection.

2020-09-04_15_28_03-Add_My_New_App_3.png

The connection has been established. You can proceed with setting up the module.

CRM: Contact

Watch Contacts

Triggers when a contact is created, updated, or deleted.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Contacts module to your Integromat scenario.

2. Generate and copy the webhook URL.

aPYsX1sQle.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix CRM option from the API Category drop-down menu.

6. Select the event that will trigger the Watch Contacts module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

iApZseLXF1.gif

Now, every time the specified event in the site's contact list occurs, the Watch Contacts module in your Integromat scenario is triggered.

Contacts

List Contacts

Returns all contacts on your site.

Connection Establish a connection to your Wix account.
Sort by Select the name of the field to sort returned contacts by.
Order Select whether to sort results in ascending or descending order.
Limit Set the maximum number of contacts Integromat will return during one execution cycle.

Get a Contact

Retrieves contact details.

Connection Establish a connection to your Wix account.
Contact ID Enter (map) the ID or select the contact you want to retrieve details for.

Stores: Cart

Watch Carts

Triggers when a cart is created, completed, or abandoned.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Carts module to your Integromat scenario.

2. Generate and copy the webhook URL.

P9wWWY7Ar7.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix Stores option from the API Category drop-down menu.

6. Select the events that will trigger the Watch Carts module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

maZT2f35U9.gif

Now, every time the specified event in the store's cart occurs, the Watch Carts module in your Integromat scenario is triggered.

Get a Cart

Retrieves cart details.

Connection Establish a connection to your Wix account.
Contact ID Enter (map) the ID or select the cart you want to retrieve details for.

Stores: Collection

Watch Collections

Triggers when a collection is created, updated, or deleted.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhook settings.

1. Add the Watch Collections module to your Integromat scenario.

2. Generate and copy the webhook URL.

844vnSEDrh.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix Stores option from the API Category drop-down menu.

6. Select the events that will trigger the Watch Collections module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

jaw3DKBGat.gif

Now, every time the specified collection event occurs, the Watch Collections module in your Integromat scenario is triggered.

Search Collections

Retrieves collections by name or collection ID filter.

Connection Establish a connection to your Wix account.
Filter Specify the filter settings to filter returned collections by.
Limit Set the maximum number of collections Integromat will return during one execution cycle.

Get a Collection

Retrieves collection details.

Connection Establish a connection to your Wix account.
Collection ID Enter (map) the ID or select the collection you want to retrieve details for.

Create a Collection

Creates a new collection.

Connection Establish a connection to your Wix account.
Collection Name Enter the name of the collection you want to create.

Update a Collection

Updates a collection name.

Connection Establish a connection to your Wix account.
Collection ID Enter (map) or select the collection you want to update.
Collection Name Enter the new name of the collection.

Delete a Collection

Deletes an existing collection.

Connection Establish a connection to your Wix account.
Collection ID Enter (map) the ID or select the collection you want to delete.

Add Products to a Collection

Adds products to a specified collection.

Connection Establish a connection to your Wix account.
Collection ID Enter (map) the ID or select the collection where you want to add products to.
Product IDs  

Delete Products From a Collection

Deletes products from a specified collection.

Connection Establish a connection to your Wix account.
Collection ID Enter (map) the ID or select the collection where you want to add products to.

Stores: Product

Watch Products

Triggers when a product is created, updated, or deleted.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Products module to your Integromat scenario.

2. Generate and copy the webhook URL.

nDiNXv76sZ.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix Stores option from the API Category drop-down menu.

6. Select the events that will trigger the Watch Products module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

av4RK8G15g.gif

Now, every time the specified product event occurs, the Watch Products module in your Integromat scenario is triggered.

Search Products

Retrieves products by filter settings.

Connection Establish a connection to your Wix account.
Filter Specify the filter settings to filter returned products by.
Limit Set the maximum number of products Integromat will return during one execution cycle.

Get a Product

Retrieves product details.

Connection Establish a connection to your Wix account.
Product ID Enter (map) the ID or select the product you want to retrieve details for.

Create a Product

Creates a new product.

Connection Establish a connection to your Wix account.
Name Enter the name of the new product.
Price Enter the product price.
SKU Enter the Stock Keeping Unit (if variant management is enabled, SKUs will be set per variant, and this field will be empty).
Description Enter the product description. Accepts rich text.
Weight Enter the product weight (if variant management is enabled, weight will be set per variant, and this field will be empty).
Discount
Type Select whether you want to specify the discount in percents or as an amount.
Value Enter the value of the discount.
Manage Variants Enable this option to manage variants for this product - enables unique SKU, price and weight per variant. Also affects inventory data.
Product Options

Add the product variants.

Name Enter the name of the variant, e.g.color,size.
Choices

Specify the choices.

  • Value - Color hex value or choice name
  • Description - Choice name
Add Medias Enable this option to add images or videos to the product.
Visible Enable to make the product visible to site visitors.

Update a Product

Updates an existing product.

Connection Establish a connection to your Wix account.
Product ID Enter (map) the product ID or select the product you want to update.

Please find the descriptions of the fields in the Create a Product section above.

Delete a Product

Deletes a product.

Connection Establish a connection to your Wix account.
Product ID Enter (map) the product ID or select the product you want to delete.

Store: Order

Watch Orders

Triggers when an order is created.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Orders module to your Integromat scenario.

2. Generate and copy the webhook URL.

MFufr90UPW.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix Stores option from the API Category drop-down menu.

6. Select the events that will trigger the Watch Products module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

A5a9EaYHyC.gif

Now, every time the specified order event occurs, the Watch Orders module in your Integromat scenario is triggered.

Search Orders

Retrieves orders by filter settings.

Connection Establish a connection to your Wix account.
Filter Specify the filter settings to filter returned orders by.
Limit Set the maximum number of orders Integromat will return during one execution cycle.

Get an Order

Retrieves order details.

Connection Establish a connection to your Wix account.
Order ID Enter (map) the ID or select the order you want to retrieve details for.

Generate Orders PDF Link

Generates a link to a PDF file for given orders.

Connection Establish a connection to your Wix account.
Order IDs Select orders you want to generate a PDF link for.

Stores: Fulfillment

Watch Fulfillments

Triggers when a fulfillment is created.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Fulfillments module to your Integromat scenario.

2. Generate and copy the webhook URL.

MhBp7YjEvu.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix Stores option from the API Category drop-down menu.

6. Select the events that will trigger the Watch Fulfillments module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

ofvs6QPWEp.gif

Now, every time the specified fulfillment events occurs, the Watch Fulfillments module in your Integromat scenario is triggered.

Form

Watch Form Submissions

Triggers when a form is submitted.

 

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Form Submissions module to your Integromat scenario.

2. Generate and copy the webhook URL.

DcbDwitdiB.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix CRM option from the API Category drop-down menu.

6. Select the event that will trigger the Watch Form Submissions module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

yLwJPuxYjC.gif

Now, every time the form is submitted on your site, the Watch Form Submissions module in your Integromat scenario is triggered.

Chat

Send Message

Sends a text message to a specific chat (channel) on behalf of the site owner.

Connection Establish a connection to your Wix account.
Channel ID Enter (map) the ID of the channel you want to send the message to.
Text Enter the message text content.

Watch Messages

Triggers when a chat message is received.

The webhook URL needs to be generated in Integromat and then added to Wix's Webhooks settings.

1. Add the Watch Messages module to your Integromat scenario.

2. Generate and copy the webhook URL.

lY2KHCA6BC.gif

3. Log in to Wix Developer Center.

4. Navigate to Webhooks > click +Add Webhook.

uUl5y0fFqu.gif

5. Select the Wix CRM option from the API Category drop-down menu.

6. Select the event that will trigger the Watch Messages module and enter the webhook URL you generated in step 2 above to the Callback URL field.

7. Click Save and confirm the dialog.

Fgsj9eZbFT.gif

Now, every time the message is received, the Watch Messages module in your Integromat scenario is triggered.

Other

Make an API Call

Allows you to perform a custom API call.

Connection Establish a connection to your Wix account.
URL

Enter a path relative to https://www.wixapis.com.
For example: /crm/v1/contacts.

For the list of available endpoints, refer to the Wix API Reference.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

Headers Enter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query String Enter the request query string.
Body Enter the body content for your API call.

Example of Use - List Contacts

The following API call returns all contacts in your Wix account:

URL:
/crm/v1/contacts/

Method:
GET

2020-09-08_18_13_14-Integration_Wix___Integromat.png

The result can be found in the module's Output under Bundle > Body > contacts
In our example, 2 contacts were returned:

2020-09-08_18_14_22-Integration_Wix___Integromat.png

Popular use cases from our blog

slack-automation-illustration

Slack Automation: 20 Free Templates to Get You Inspired

google-sheets-automation-alt

Google Sheets Automation for Ecommerce: 23 Free Templates

tweet-automation-illustration

How to Get Someone's Tweets Before Anyone Else Does

onboarding-automation-with-integromat-alt

How to Automate Employee Onboarding in Minutes with Integromat

shopify-order-to-manufacturer-illustration-alt

How to Auto Send Shopify Orders to Dropshipping Suppliers [Guide]

strava-exercise-to-google-sheets-illustration

Like a Champ: How to Save Strava Activities to Google Sheets

Didn’t find what you were looking for?

Ticket

Create a ticket

Contact our world-class support team and tell us what’s happening.

Create a ticket
Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.