Documentation

Shopify Integration

Connect AutoBlogWriter to Shopify to publish blog posts with a custom app.

Shopify Integration

AutoBlogWriter can publish blog posts directly to your Shopify store using a custom app and the client credentials grant. No manual token refresh required.

Prerequisites

  • A Shopify store you control
  • A Shopify app created in the Shopify Dev Dashboard
  • Admin API scopes: read_content and write_content
  • The blog ID you want to publish to (numeric)

Shopify now issues Client ID + Client Secret for new apps. AutoBlogWriter exchanges these for an access token automatically.

Step 1 — Create and install the app

  1. Go to the Shopify Dev Dashboard and create a new app.
  2. Install the app on your store.
  3. Add Admin API scopes: read_content and write_content.
  4. Save changes and re-install if prompted.
  5. Copy the Client ID and Client Secret from the app credentials page.

Step 2 — Find your Blog ID

  1. Open Online Store → Blog posts in Shopify Admin.
  2. Click the blog you want to publish to.
  3. Copy the numeric ID from the URL. Example:
https://your-store.myshopify.com/admin/blogs/122321404276

Blog ID = 122321404276

Step 3 — Connect in AutoBlogWriter

  1. Open your workspace and go to Settings → Integrations.
  2. Click Connect Shopify.
  3. Fill in the fields:
FieldWhat to enter
Shop DomainYour store domain, e.g. your-store.myshopify.com
Client IDFrom the Shopify Dev Dashboard app credentials
Client SecretFrom the Shopify Dev Dashboard app credentials
Blog IDThe numeric blog ID from Step 2
  1. Click Connect. AutoBlogWriter will verify access and save the integration.

Step 4 — Test the Connection

After connecting, click Test Connection on the Shopify card. This validates access to the blog and confirms posts can be created.

Publishing behavior

  • Publish now — creates and publishes a blog article immediately.
  • Schedule — posts at the scheduled time when AutoBlogWriter publishes.
  • Draft — creates the article as a draft.
  • Images — the hero image is attached when a public image URL is available.

Enable / disable the integration

Use the toggle on the Shopify card to pause or resume publishing without disconnecting. When disabled, scheduled posts will not be sent to Shopify until you re-enable it.

Disconnect

Click Disconnect on the Shopify card and confirm. Your Shopify credentials are deleted from AutoBlogWriter immediately. Existing posts that were already published to Shopify are not affected.

Troubleshooting

Oauth error invalid_request: Missing or invalid client secret

The Client Secret is not the app secret from the Shopify Dev Dashboard, or it was copied incorrectly. Re-copy from the app credentials screen.

Invalid API key or access token

The app is not installed on the store or the credentials are for a different store. Reinstall the app and confirm the shop domain matches.

shop_not_permitted

Client credentials grant only works when the app and store are in the same organization. Use an app created under the same org as the store.