Connect n8n to Your Wix Site

Connect your Wix site to n8n to automate workflows using Wix triggers and actions. For an overview of the Wix n8n integration and what you can do with it, see About n8n Integration.

This guide walks you through creating API credentials and configuring n8n to work with your site. After completing this task, you can create workflows that react to events on your Wix site, perform Wix actions, connect to other n8n integrations, and use AI agents to power your automations.

Important:

Wix n8n nodes are currently community nodes. Before you can use them, you must install the @wix/n8n-nodes-wix package. See the n8n guide on installing community nodes.

Step 1 | Create an API key in Wix

Create an API key in your Wix account with the permissions needed for the triggers and actions you want to use.

To create an API key:

  1. Go to the API Keys Manager in your Wix account.
  2. Click Create API Key.
  3. Enter a name for your API key, such as "n8n Integration".
  4. Select the permissions for the APIs you want to access. The permissions you need depend on which triggers and actions you plan to use. For example:
    • For product operations, select Wix Stores permissions.
    • For order operations, select Wix eCommerce permissions.
  5. Click Create.
  6. Copy and securely store your API key. You can't view it again.

Important: Store your API key securely and never expose it in frontend code.

Step 2 | Find your site ID

Locate the ID of the Wix site you want to connect to n8n.

To find your site ID:

  1. Go to your site's dashboard.

  2. Check the URL in your browser. The site ID appears after /dashboard/ in the URL.

    For example, in https://manage.wix.com/dashboard/12345678-1234-1234-1234-123456789012/home, the site ID is 12345678-1234-1234-1234-123456789012.

Alternatively, you can use the Query Sites API to retrieve all site IDs associated with your account.

Step 3 | Configure Wix credentials in n8n

Add your Wix API credentials to n8n to authenticate your workflows.

To configure credentials:

  1. In n8n, go to Settings > Credentials.
  2. Click Add Credential.
  3. Search for and select Wix API.
  4. Enter your credentials:
    • API Key: Paste the API key you created in Step 1.
    • Site ID: Paste the site ID you found in Step 2.
  5. Click Save.

Step 4 | Test the connection

Verify that your credentials are working by creating a simple workflow.

To test the connection:

  1. Create a new workflow in n8n.
  2. Add a Wix node to the canvas.
  3. When configuring the node, select your saved Wix API credentials.
  4. Browse the available resources and operations to see what actions you can perform.
  5. Select an operation and click Test step to execute it.

If the connection is successful, you see results from your Wix site.

See also

Did this help?