This topic describes how to use an HTTP event source to integrate Shopify with EventBridge.

Background information

Shopify is a one-stop software-as-a-service (SaaS) platform for e-commerce. Shopify provides technical resources and templates for e-commerce retailers to build online stores and manage business across all channels in marketing, selling, payment, and logistics. EventBridge supports fast integration with Shopify for you to manage events and alerts in a centralized manner.



Step 1: Create an event source for Shopify in EventBridge

Create an event source HTTP/HTTPS trigger in the EventBridge console. The following table describes the parameters. For more information, see Create a custom event source of the HTTP/HTTPS Events type.
  • Request Type: Select HTTP&HTTPS.
  • Request Method: Select a POST.
  • Security Configuration: Select No Configuration Required.
After the event source is created, you can find the custom event source in the event source list, and then click Details to view the configuration information. Internet request URL can be used as the webhook URL of the event source. pic-1

Step 2: Configure notification settings in Shopify

  1. Log on to the Shopify console. In the lower-left corner of the store homepage, click Settings.
    Shopify homepage
  2. In the left-side navigation pane, click Notifications.
  3. On the Notifications page, find the Webhooks section and click Create webhook.
    Webhooks section
  4. In the Add webhook dialog box, set the parameters as required and click Save.
    Add webhook dialog box
    • Event: Select a type of event from the drop-down list as the trigger condition. In this example, Product creation is selected for the Event parameter, which indicates that when a product is created, an event is generated and pushed to EventBridge.
    • URL: Enter the Internet request URL that is generated in Step 1.

Step 3: Trigger an event

On the store homepage in the Shopify console, perform the operation that is specified as the trigger condition in Step 2 to trigger an event. For example, after you create a product, an event is triggered.

Verify the result

  1. Log on to the EventBridge console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Event Buses.
  4. In the left-side navigation pane, click Event Tracking to view and verify the obtained event information.