How Can We Help?

How to Integrate Shopify with aNinja AI

You are here:
< All Topics

If you’re looking to automate lead generation from your Shopify store into your aNinja AI CRM, this guide will walk you through the entire integration process using Shopify webhooks. By the end of this tutorial, every time a new customer is created in your Shopify store, a lead will automatically be added to your aNinja AI dashboard.

Step 1: Access Shopify Settings

  1. Login to your Shopify Admin Dashboard.
  2. Navigate to the bottom-left corner and click on Settings.

screenshot of Shopify dashboard showing the Settings tab.

Step 2: Navigate to Notifications

  1. In the Settings page, scroll down and click on Notifications.
  2. Scroll to the bottom and look for the Webhooks section.

screenshot of the Notifications settings in Shopify

Step 3: Create a New Webhook

  1. Click Create Webhook.
  2. In the Event dropdown, select Customer creation.
  3. Set the Format to JSON.

screenshot of the Create Webhook screen with fields selected

screenshot of the Create Webhook screen with fields selected

Step 4: Get Your Webhook URL from aNinja AI

  1. Open a new tab and go to your aNinja AI dashboard.
  2. Navigate to Settings > API.
  3. Copy the Webhook URL provided there.

Step 5: Append Required Parameters

Once you’ve pasted the webhook URL into Shopify, append the following parameters to the URL:

?platform=shopify&api_key=YOUR_API_KEY

To get your API Key:

  1. Go back to your aNinja AI dashboard.
  2. In the API section, copy your personal API key.

screenshot of the API section in aNinja AI showing the webhook URL

Example Full URL:

https://your-aninja-url.com/webhook?platform=shopify&api_key=abc123xyz

Step 6: Set API Version

  1. In Shopify’s webhook creation screen, set the API version to the latest, e.g., 2025-07.

screenshot showing API version dropdown

Step 7: Save and Test the Webhook

  1. Click Save Webhook.
  2. Then click Send Test Notification to make sure it’s working.
  3. Head back to your aNinja AI Leads Dashboard and confirm that a new lead has appeared.

screenshot of a test lead appearing in aNinja AI

Step 8: Try It Live

  1. Go to Shopify > Customers.
  2. Click Add Customer.
  3. Fill in the customer details:
  4. Click Save.
  5. Return to your aNinja AI dashboard. You should see the new lead created automatically.

You’re All Set!

That’s it! Now every new Shopify customer will seamlessly be pushed into aNinja AI as a lead. This integration helps you stay organized, automate your CRM workflows, and never miss a potential customer.

Table of Contents