Transfer Shopify prices to eSagu via n8n: Set up the Shopify app and eSagu token

This guide explains how to connect Shopify, n8n, and eSagu. You will create a Shopify app with the required read permissions, store its credentials in n8n, and create an eSagu API token. n8n can then retrieve product data from Shopify and send it to the eSagu API.

1. Create a Shopify app

  1. In Shopify, click Settings in the bottom-left corner. Open Shopify settings

  2. Open Apps and select Develop apps. Open Shopify development apps

  3. Click Build apps in Dev Dashboard. Open the Shopify Dev Dashboard

  4. In the Dev Dashboard, click Create app. Create a new Shopify app

  5. Enter a name, such as eSaguConnector, and select Create. Name the Shopify app

2. Configure permissions

  1. Under Versions, create a new version. Under API access, click Select scopes. Select Shopify API permissions

  2. Use the search function to select the following read permissions:

    • read_product_feeds

    • read_product_listings

    • read_products Select product permissions

    • read_metaobject_definitions

    • read_metaobjects Select metaobject permissions

  3. Confirm each selection by clicking Done. Confirm the selected API permissions

  4. Enter the following Redirect URL:

    https://oauth.n8n.cloud/oauth2/callback

    If you use a self-hosted n8n instance, use the redirect URL provided by your instance instead. Then click Release. Enter the redirect URL and release the Shopify app

3. Store the Shopify credentials in n8n

  1. In the Shopify app's Settings, copy the Client ID and Secret. Copy the Shopify Client ID and Secret

  2. In n8n, open Credentials and select Create credential. Create new credentials in n8n

  3. Select Shopify OAuth2 API and continue. Select Shopify OAuth2 API in n8n

  4. Enter the Client ID, Client Secret, and shop subdomain. The subdomain is the part before .myshopify.com. Enter the Shopify credentials in n8n

4. Create an eSagu API token

  1. In eSagu, open My account in the bottom-left corner and click Add under API tokens. Create an eSagu API token

  2. Enter a name for the token, select the appropriate eSagu account, and save it.

  3. Copy the token immediately and store it securely. The complete token is displayed only once. Copy the eSagu API token

5. Store the eSagu credentials in n8n

  1. In n8n, select CredentialsCreate credential, then choose Bearer Auth. Select Bearer Auth credentials in n8n

  2. Paste the eSagu token into Bearer Token.

  3. Under Allowed HTTP Request Domains, select Specific Domains and enter:

    api.esagu.de
  4. Save. Enter the eSagu API token and allowed domain in n8n

The connection is now set up. Continue with Part 2 to create the n8n workflow and synchronize your Shopify prices with eSagu.